Difference between revisions of "LibreNMS - snmp extend os-update"

From wiki.1001solutions.net
(Created page with "Category:Post-It = NginX LibreNMS script = Get the script: <nowiki> wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/osupdate -O /etc/snmp/o...")
 
Line 7: Line 7:
 
Get the script:
 
Get the script:
 
  <nowiki>
 
  <nowiki>
wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/osupdate -O /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>
 
 
Unzip and copy it where you need. Make it executable.
 
  
  

Revision as of 09:15, 3 May 2020



NginX LibreNMS script

Get the script:

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