Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 9b99ca373525fdcba955ac865a3a5374 > files > 4

nagios-check_snmpp-0.5.2-9mdv2010.0.i586.rpm

http://www.nagiosexchange.org/Wiki_Home.wiki.0.html?&tx_drwiki_pi1[keyword]=HP%20Switches

1 Julian Hein's Configuration

Use the check_snmp plugin at these OID's:

 Hpmemoryfree = .1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.6.1 
 Cpu = .1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0 
 Fan = .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.1 
 Power = .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.2 
 Temprature = .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.4 

My check_commands are like this:

 define command{ 
  command_name check_hpmemoryfree 
  command_line $USER1$/check_snmpp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.6.1 -t 5 -w $ARG2$ -c $ARG3$ -u bytes -l free 
 } 
  
 define command{ 
  command_name hpsw_cpu 
  command_line $USER1$/check_snmpp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0 -t 5 -w '95:90' -c '100:95' -C $ARG1$ -u % -l "5min cpu" 
 } 
  
 define command{ 
  command_name check_hpfan 
  command_line $USER1$/check_snmpp -H 192.168.33.10 -C chero -o .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.1 -w 4 -c 3:5 -l 'Fan status' 
 } 
  
 define command{ 
  command_name check_hppower 
  command_line $USER1$/check_snmpp -H 192.168.33.10 -C chero -o .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.2 -w 4 -c 3:5 -l 'Power Supply status' 
 } 
  
 define command{ 
  command_name check_hptemp 
  command_line $USER1$/check_snmpp -H 192.168.33.10 -C chero -o .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.4 -w 4 -c 3:5 -l 'Temprature status' 
 }