How can I monitor chronyd? I see it in the applications but can’t find any documentation on it.
Can’t believe there is no documentation to be found anywhere for a feature that is in the Application.
Tried everything that I could think of but no luck.
I just did this the normal way, like other apps, first using this command:
wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/chrony -O /etc/snmp/chrony
extend chronyd /etc/snmp/chrony
Using CentOS this is all that should be needed. With Debian possibly need to also do something with sudoers.
The App is then added, but unfortunately there seems to be a bug when creating the graphs, as no graphs are produced.
When I debug, I see this command trying to be run:
rrdcreate /opt/librenms/rrd/endpointname/app-chronyd-490.rrd --step 300 DS:stratum:GAUGE:600:0:15 DS:reference_time:DCOUNTER:600:0:10000000000 DS:system_time:GAUGE:600:-10000:10000 DS:last_offset:GAUGE:600:-1000:1000 DS:rms_offset:GAUGE:600:-1000:1000 DS:frequency:GAUGE:600:-1000:1000 DS:residual_frequency:GAUGE:600:-1000:1000 DS:skew:GAUGE:600:-1000:1000 DS:root_delay:GAUGE:600:-1000:1000 DS:root_dispersion:GAUGE:600:-1000:1000 DS:update_interval:GAUGE:600:0:4096 RRA:AVERAGE:0.5:1:2016 RRA:AVERAGE:0.5:6:1440 RRA:AVERAGE:0.5:24:1440 RRA:AVERAGE:0.5:288:1440 RRA:MIN:0.5:1:2016 RRA:MIN:0.5:6:1440 RRA:MIN:0.5:24:1440 RRA:MIN:0.5:288:1440 RRA:MAX:0.5:1:2016 RRA:MAX:0.5:6:1440 RRA:MAX:0.5:24:1440 RRA:MAX:0.5:288:1440 RRA:LAST:0.5:1:2016 -O
but manually running this in CLI produces:
ERROR: invalid DS type specified
So there’s something wrong with the rrdcreate command (at least on the server I’m testing this on). rrdtool being used is in CentOS 7 1.4.8-9.
So it’s monitoring but no graphs produced. I’m not sure how to fix this yet.
I couldn’t figure it out either. I think I have done the correct steps to set it up.
I get the following errors:
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.