LibreNMS - snmp extend os-update: Difference between revisions
From Wiki.IT-Arts.net
imported>Z No edit summary |
imported>Z No edit summary |
||
Line 5: | Line 5: | ||
= NginX LibreNMS script = | = NginX LibreNMS script = | ||
Get the script: | Get the script and make it executable: | ||
<nowiki> | <nowiki> | ||
wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/osupdate -O /etc/snmp/osupdate && chmod +x /etc/snmp/osupdate</nowiki> | wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/osupdate -O /etc/snmp/osupdate && chmod +x /etc/snmp/osupdate</nowiki> |
Revision as of 07:18, 3 May 2020
NginX 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