Description
Set of monitoring sensors which extend the functionality of the standard SNMP daemon.
Installation
$ make
$ make install
Other useful commands:
$ make manifest - generate new MANIFEST
$ make dist - pack all files in MANIFEST
$ make svn - generate spec file with SVN revision number
$ make perforce - generate spec file with Perforce revision number
$ make clean - clean dir
$ make clear - clear dir
Available sensors
-
extagent_logparser_statuscode- HTTP status codes
- OID: 1.3.6.1.4.1.8072.9999.9999.1.1
-
extagent_cert_expiry- certificate expiry from network
- OID: 1.3.6.1.4.1.8072.9999.9999.2.1
-
extagent_cert_expiry- certificate expiry from file
- OID: 1.3.6.1.4.1.8072.9999.9999.2.2
-
extagent_sendmail_stats- Sendmail statistics
- OID: 1.3.6.1.4.1.8072.9999.9999.3.1
-
extagent_file_size- file size
- OID: 1.3.6.1.4.1.8072.9999.9999.4.1
-
extagent_javaapp_elogging- Java elogging
- OID: 1.3.6.1.4.1.8072.9999.9999.5.2
-
extagent_javaapp_gc- Java Garbage Collector
- OID: 1.3.6.1.4.1.8072.9999.9999.5.3
-
extagent_javaapp_status- Java application status files
- OID: 1.3.6.1.4.1.8072.9999.9999.5.1
-
extagent_cpu_summary- CPU summary
- OID: 1.3.6.1.4.1.8072.9999.9999.6.1
-
extagent_mysql_status- MySQL status
- OID: 1.3.6.1.4.1.8072.9999.9999.7.1
Any of the OIDs can be changed to a custom value.
SNMP configuration
view allview included .1
rocommunity monitoring
master agentx
Testing
$ snmpwalk -v 2c -c monitoring localhost 1.3.6.1.4.1.8072.9999.9999