In Zabbix, I’ve setup a Low Level Discovery (LLD) template for process discovery and monitoring. UCD-SNMP-MIB::prErrFix.2 = INTEGER: noError(0)įrom the output above, you can see the Names, Minimum number of processes, Maximum number of processes, the current count of processes, the error flags and messages, and then also a flag to set whether to run the command specified in the ErrFixCmd OID. UCD-SNMP-MIB::prErrFix.1 = INTEGER: noError(0) UCD-SNMP-MIB::prErrorFlag.2 = INTEGER: noError(0) UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: noError(0) # snmpwalk -v 2c -c public myserver 1.3.6.1.2.1 Snmpwalk -v 2c -c 1.3.6.1.2.1Īs an example, I’ve run the following command and I get this output – You can check to see if the monitoring has been enabled by running the following SNMP walk command – Once the lines have been added, the SNMP daemon needs to be restarted to load the new monitoring parameters. Since I only care that ntpd and python are running, I just added the following lines to my SNMP configuration to ensure that at least one of each of these processes are running The Linux SNMP daemon already has some examples of process monitoring so I just commented out the existing ones, and added my own. I already had Zabbix and SNMP monitoring setup on this server so decided to have a play around with SNMP Process monitoring. I wanted to monitor the ntpd and python processes on one of my servers so that I would know if one of them went down.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |