LibreNMS - snmp extend ntp-client

From wiki.1001solutions.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