> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Rich Sasko > Sent: Tuesday, January 15, 2008 4:14 PM > To: [email protected] > Subject: [Nagios-users] snmp > > I am using the following service to check the power supply on my dell > power edge system. > > > > define service{ > > use generic-service > > host_name DHCP server > > service_description Power Supply > > check_command check_snmp!-C public -o > .1.3.6.1.4.1.674.10892.1.200.10.1.9.1 > > } > > > > The problem is it reports as ok no matter what snmp returns as the value. > When it is normal it returns 3 and Nagios says the system is OK. I pull > the power cord on one of the redundant power supplies and it returns 4 and > Nagios still says it's OK > > Anyone have any ideas?
Based only on what you've supplied above, you're not supplying any warning or critical values for check_snmp to compare against. Since there is so much variability in what can be queried by SNMP, there are no default values. check_snmp --help ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
