You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In dump1090.py the hostname to be used by collectd is derived from the url where to get the dump1090 data from:
collectd.register_read(callback=handle_read,
data=(instance_name, urlparse.urlparse(url).hostname, url),
name='dump1090.' + instance_name)
collectd.register_read(callback=handle_read_1min,
data=(instance_name, urlparse.urlparse(url).hostname, url),
name='dump1090.' + instance_name + '.1min',
interval=60)
This is valid in the usual cases where data collection and data storing will take place at the same host and/or data is retrieved by using different instances with different urls (like the examples),
However if data collection and storing is separated and the collectd network plugin is used to connect the two processes it appears that other plugins use the Hostname "rpi.lxi" directive at the start of collectd.conf to build the full path of the rrd files (/Datadir/Hostname/Plugin/Module name-Instance).
Wouldn't it be better for dump1090.py to stick to this format and use the Hostname "..." from collectd.conf because now data from different plugins from the same host end up in different /Datadir/Hostname/ trees. which makes it harder to create graphs based on host.
The text was updated successfully, but these errors were encountered:
In dump1090.py the hostname to be used by collectd is derived from the url where to get the dump1090 data from:
collectd.register_read(callback=handle_read,
data=(instance_name, urlparse.urlparse(url).hostname, url),
name='dump1090.' + instance_name)
collectd.register_read(callback=handle_read_1min,
data=(instance_name, urlparse.urlparse(url).hostname, url),
name='dump1090.' + instance_name + '.1min',
interval=60)
This is valid in the usual cases where data collection and data storing will take place at the same host and/or data is retrieved by using different instances with different urls (like the examples),
However if data collection and storing is separated and the collectd network plugin is used to connect the two processes it appears that other plugins use the Hostname "rpi.lxi" directive at the start of collectd.conf to build the full path of the rrd files (/Datadir/Hostname/Plugin/Module name-Instance).
Wouldn't it be better for dump1090.py to stick to this format and use the Hostname "..." from collectd.conf because now data from different plugins from the same host end up in different /Datadir/Hostname/ trees. which makes it harder to create graphs based on host.
The text was updated successfully, but these errors were encountered: