check_openmanage and net-snmp v3

Trond Hasle Amundsen t.h.amundsen at usit.uio.no
Mon Feb 15 14:13:05 CET 2010


"Verhaeghe, Koen" <Koen.Verhaeghe at meucci-solutions.com> writes:

> The script is working, at least, it does not give any errors anymore.
> I even get "Physical Disk 0:1 [Ata WDC WD800JD-75MSA3, 0GB] on ctrl 0
> needs attention: Failure Predicted" as expected. I was expecting also an
> errormessage from the Virtual disks, as they are degraded, but that's
> not there.

If the error is just "Failure Predicted", it means that the disk is
working fine for the time being and the virtual drive status is not
affected. When/if the drive eventually fails the virtual drive will be
degraded.

> Moreover, I know some of our servers have problems with power supplies
> or memory, so I changed a section in the below mentioned script like you
> did for the disks and others, just to test:
>
> 	#my $result = $snmp_session->get_entries(-columns => [keys
> %ps_oid]);
> 	
> ########################################################################
> ##
> 	# SNMPv3 test
> 	
> ########################################################################
> ##
> 	my $result = q{};
> 	if ($opt{protocol} == 3) {
> 	    my $powerDeviceTable = '1.3.6.1.4.1.674.10892.1.600.12.1';
> 	    $result = $snmp_session->get_table(-baseoid =>
> $powerDeviceTable);
> 	}
> 	else {
> 	    $result = $snmp_session->get_entries(-columns => [keys
> %ps_oid]);
> 	}
> 	
> ########################################################################
> ##
> 	
> ########################################################################
> ##
>
> And now I do get the expected error:
> "Power Supply 1 [AC] needs attention: Presence detected, Failure
> detected, AC lost"
>
> I think it is safe to say that, when using net-snmp v3, the get_entries
> method is not giving the expected result.

The complete picture is still a little unclear to me. Do these problems
occur only when you use net-snmp instead of Windows' native snmp agent?
(I'm assuming that "net-snmp" refers to
http://freshmeat.net/projects/net-snmp).

I would be interested in any test results you might have using the
native Windows snmp agent with SNMPv3.

Cheers,
-- 
Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list