I am trying to set up nagios core 3 to monitor linux servers using net-snmp, having trouble to find the correct oids for snmp.
mibDepot.com seems to be a good site, but I tried most of them, not working... Any suggestions where to look?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
SNMP is good for network devices. For centos systems look at the nrpe daemon and client.
I dont know what you're trying to do, but I'd start w/ nagios-plugins:
[alexus@wcmisdlin02 ~]$ rpm -q nagios-plugins nagios-plugins-1.4.15-2.el6.x86_64 [alexus@wcmisdlin02 ~]$
then you can use following plugin to make snmp calls
[alexus@wcmisdlin02 ~]$ /usr/lib/nagios/plugins/check_snmp check_snmp: Could not parse arguments Usage: check_snmp -H <ip_address> -o <OID> [-w warn_range] [-c crit_range] [-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries] [-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter] [-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] [-x privproto] [-X privpasswd] [alexus@wcmisdlin02 ~]$
I usually start from snmpwalk and then find right oid to check and take it to check_snmp nagios's plugin.