LibreNMS Application -Apache

Описание к видео LibreNMS Application -Apache

Apache applications support a variety of ways to collect data with librenms
https://docs.librenms.org/Extensions/...
https://httpd.apache.org/docs/2.4/en/...
https://docs.librenms.org/Extensions/...


LibreNMS:
LibreNMS Tutorials:    • LibreNMS Tutorials  


LibreNMS - snmp extend apache2
Verify you have installed:



apt-get install python3-urllib3


Apache LibreNMS script
Get the script and make it executable:
wget https://raw.githubusercontent.com/lib... -O /etc/snmp/apache-stats.py && chmod +x /etc/snmp/apache-stats.py

Create the /var/cache/librenms directory and make sure that it is owned by the user running the SNMP daemon:

mkdir -p /var/cache/librenms/ && chown -R Debian-snmp:Debian-snmp /var/cache/librenms

vHOST
Adapt your vHost like:
snmpwalk -v 2c -c librenms 192.168.88.86 NET-SNMP-EXTEND-MIB::nsExtendOutput2Table

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

extend apache /etc/snmp/apache-stats.py
nano/etc/snmp/apache-stats.py

data = urlread ( 'http://localhost/server-status?auto',

…to…

data = urlread ( 'http://192.168.88.86:8080/server-status?auto',



Restart the service.




https://ipcorenetworks.blogspot.com/2...
_________________
Cacti Free Networking Monitoring Tool:
Cacti Tutorial PlayList:   • Cacti Tutorials  
__________________________________
LibreNMS Free Networking Monitoring Tool:
LibreNMS Tutorials:    • LibreNMS Tutorials  
__________________________________
CCNP ENCOR (350-401):
   • CCNP ENCOR (350-401)  
__________________________________
CCNP Enterprise Free Training:
   • CCNP Enterprise Training  
__________________________________
CCNP ENARSI (300-410):
   • CCNP ENARSI (300-410)  
fb:   / ipcorenetworks  
#LibreNMS #apache #ENARSI #cisco #librenms #cacti #ccna #ccnp #librenms docs #ipcorenetworks

Комментарии

Информация по комментариям в разработке