fetzerch / fritzcollectd

A collectd plugin for monitoring AVM FRITZ!Box routers
MIT License
132 stars 30 forks source link

collectd telling "no readings received", no data in dashboard #16

Closed thelieisajoke closed 6 years ago

thelieisajoke commented 6 years ago

Hi there!

Unfortunately my collectd always tells me "no readings received"

even though fritzstatus-0.5.1 is working totally fine:

FritzStatus:
version:            0.5.1
model:              FRITZ!Box 7430
is linked:          True
is connected:       True
external ip:        94.000.411.666
uptime:             22:29:49
bytes send:         497790846
bytes received:     16238979387
max. bit rate:      ('1.6 MBit/s', '12.6 MBit/s')
[2018-07-29 20:01:53] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'gauge', type_instance: 'dslstatus', values: '[1]'
[2018-07-29 20:01:53] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'gauge', type_instance: 'constatus', values: '[1]'
[2018-07-29 20:01:53] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'totalbytesreceived', values: '[16238027831L]'
[2018-07-29 20:01:53] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bitrate', type_instance: 'receiverate', values: '[15152]'
[2018-07-29 20:01:53] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'uptime', type_instance: 'uptime', values: '[80922]'
[2018-07-29 20:01:53] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'totalbytessent', values: '[497516933]'
[2018-07-29 20:01:53] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bitrate', type_instance: 'sendrate', values: '[10488]'
[2018-07-29 20:01:53] fritzcollectd: Calling action: LANEthernetInterfaceConfig:1 GetStatistics {}
[2018-07-29 20:01:53] fritzcollectd: Calling action: X_AVM-DE_Homeauto:1 GetGenericDeviceInfos {'NewIndex': 0}
[2018-07-29 20:01:53] fritzcollectd: No readings received
[2018-07-29 20:01:53] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'lan_totalbytesreceived', values: '[310364]'
[2018-07-29 20:01:53] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'lan_totalbytessent', values: '[7852317]'
[2018-07-29 20:02:03] fritzcollectd: Calling action: WANIPConnection:1 GetStatusInfo {}
[2018-07-29 20:02:03] fritzcollectd: Calling action: WANCommonInterfaceConfig:1 GetCommonLinkProperties {}
[2018-07-29 20:02:03] fritzcollectd: Calling action: WANCommonInterfaceConfig:1 GetAddonInfos {}
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bitrate', type_instance: 'downstreammax', values: '[13264000]'
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bitrate', type_instance: 'upstreammax', values: '[1703000]'
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'gauge', type_instance: 'dslstatus', values: '[1]'
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'gauge', type_instance: 'constatus', values: '[1]'
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'totalbytesreceived', values: '[16238049915L]'
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bitrate', type_instance: 'receiverate', values: '[859016]'
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'uptime', type_instance: 'uptime', values: '[80932]'
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'totalbytessent', values: '[497535493]'
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bitrate', type_instance: 'sendrate', values: '[128856]'
[2018-07-29 20:02:03] fritzcollectd: Calling action: LANEthernetInterfaceConfig:1 GetStatistics {}
[2018-07-29 20:02:03] fritzcollectd: Calling action: X_AVM-DE_Homeauto:1 GetGenericDeviceInfos {'NewIndex': 0}
[2018-07-29 20:02:03] fritzcollectd: No readings received
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'lan_totalbytesreceived', values: '[310364]'
[2018-07-29 20:02:03] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'lan_totalbytessent', values: '[7854434]'
[2018-07-29 20:02:13] fritzcollectd: Calling action: WANIPConnection:1 GetStatusInfo {}
[2018-07-29 20:02:13] fritzcollectd: Calling action: WANCommonInterfaceConfig:1 GetCommonLinkProperties {}
[2018-07-29 20:02:13] fritzcollectd: Calling action: WANCommonInterfaceConfig:1 GetAddonInfos {}
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bitrate', type_instance: 'downstreammax', values: '[13264000]'
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bitrate', type_instance: 'upstreammax', values: '[1703000]'
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'gauge', type_instance: 'dslstatus', values: '[1]'
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'gauge', type_instance: 'constatus', values: '[1]'
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'totalbytesreceived', values: '[16238456534L]'
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bitrate', type_instance: 'receiverate', values: '[98656]'
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'uptime', type_instance: 'uptime', values: '[80942]'
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'totalbytessent', values: '[497612669]'
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bitrate', type_instance: 'sendrate', values: '[47576]'
[2018-07-29 20:02:13] fritzcollectd: Calling action: LANEthernetInterfaceConfig:1 GetStatistics {}
[2018-07-29 20:02:13] fritzcollectd: Calling action: X_AVM-DE_Homeauto:1 GetGenericDeviceInfos {'NewIndex': 0}
[2018-07-29 20:02:13] fritzcollectd: No readings received
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'lan_totalbytesreceived', values: '[310410]'
[2018-07-29 20:02:13] fritzcollectd: Dispatching: host: '', plugin: 'fritzbox', plugin_instance: '', type: 'bytes', type_instance: 'lan_totalbytessent', values: '[7873917]'
fetzerch commented 6 years ago
[2018-07-29 20:02:03] fritzcollectd: Calling action: X_AVM-DE_Homeauto:1 GetGenericDeviceInfos {'NewIndex': 0}
[2018-07-29 20:02:03] fritzcollectd: No readings received

This message is not an error. It just means that you don't have any homeautomation / DECT devices connected. The rest of the logs look good and the data is read successfully.

Is the log message your only concern or do you have problems visualizing the data? In that case you'll have to explain more of your setup. What datastorage do you use?

thelieisajoke commented 6 years ago

Hi and thank you for your answer.

I have a FRITZ!Box 7430 and after flashing lab-firmware now everything works as expected.

fetzerch commented 6 years ago

Thanks, then I'll close this issue.