NETWORK ADMINISTRATIONSsnmp

Integrate Nginx Application on LibreNMS

We integrated successfully librenms application NGINX ,

https://docs.librenms.org/Extensions/Applications/

https://docs.librenms.org/Extensions/Agent-Setup/
https://nginx.org/

Integrate workbook:
https://ipcorenetworks.blogspot.com/2021/08/nginx-librenms-applications.html
sudo Configuration
Adapt your /etc/sudoers with:
Debian-snmp ALL=(ALL) NOPASSWD: /etc/snmp/nginx

SNMP Configuration
Adapt your /etc/snmp/snmpd.conf with:
extend nginx /usr/bin/sudo /etc/snmp/nginx
Restart the service.

Check Command
Adapt the user and path to your configuration:
sudo -u Debian-snmp /etc/snmp/nginx

Adapt the url in the script to your configuration, eg:
data = urlopen(‘http://127.0.0.1/nginx_status’).read()

https://ipcorenetworks.blogspot.com/2021/05/ip-core-networks-your-learning-your.html
fb: https://www.facebook.com/ipcorenetworks/
#LibreNMS #NGINX #SNMP #cisco #librenms #cacti #ccna #ccnp # #librenmsdocs #ipcorenetworks

source

by IP Core Networks

simple network management protocol

Leave a Reply

Your email address will not be published. Required fields are marked *