LibreNMS - snmp extend ntp-client

From Wiki.IT-Arts.net



NTP Client LibreNMS script

Get the script and make it executable:

wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/ntp-client -O /etc/snmp/ntp-client && chmod +x /etc/snmp/ntp-client


SNMP Configuration

Adapt your /etc/snmp/snmpd.conf with:

extend ntp-client /etc/snmp/ntp-client

Restart the service.


Check Command

Adapt the user and path to your configuration:

sudo -u Debian-snmp /etc/snmp/ntp-client


Sources