Scripts to use with Cacti.
Script for getting stats from Apache2 web server. Original script from Glen Pitt-Pladdy, just added some lines for ignoring lines like server name or TLSSessionCacheStatus
which you'll get from server-status?auto
. Important for Debian: Create folder /var/cache/snmp
, owned by user Debian-snmp
and group Debian-snmp
. Also add line extend apache /PATH/TO/apache-stats.py
to file /etc/snmp/snmpd.conf
.