LibreNMS - snmp extend os-update

From wiki.1001solutions.net
Revision as of 15:45, 3 May 2020 by Z (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



OS-update LibreNMS script

Get the script and make it executable:

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


SNMP Configuration

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

extend osupdate /etc/snmp/osupdate

Restart the service.


Check Command

Adapt the user and path to your configuration:

sudo -u Debian-snmp /etc/snmp/osupdate


Sources