Skip to content

Chronyd

A shell script that gets the stats from chronyd and exports them with SNMP Extend.

SNMP Extend

  1. Download the shell script onto the desired host

    wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/chrony -O /etc/snmp/chrony
    
  2. Make the script executable.

    chmod +x /etc/snmp/chrony
    
  3. Edit the snmpd.conf file to include the extend by adding the following line to the end of the config file:

    extend chronyd /etc/snmp/chrony
    

    Note

    Some distributions need sudo-permissions for the script to work with SNMP Extend. See the instructions on the section SUDO for more information.

  4. Restart snmpd service on the host

    LibreNMS discovers the application automatically. Its statistics then appear on the Apps page of the host. Note: the applications module must be enabled on the host or globally.