Warnings/errors with check_openmanage plugin

Trond Hasle Amundsen t.h.amundsen at usit.uio.no
Fri Jan 15 11:05:14 CET 2010


"Gianluca Varenni" <gianluca.varenni at gmail.com> writes:

>> The results from snmpwalk also looks OK, except for the fact that the
>> last number jumps from 1 to 4. Where is 2 and 3? The plugin assumes that
>> these indexes in the OIDs are sequential, which is clearly wrong. Though
>> this situation is rare (never seen it before) the plugin should deal and
>> the fact that it doesn't is a bug.
>>
>> I have a modified version of the plugin available here:
>>
>>  http://folk.uio.no/trondham/tmp/
>>
>> Can you give it a try to see if this one performs better?
>
> This new version works ok. Thanks!

Great :) Thanks for testing and for the bug report.

>> I'm curious about the cause of this problem. Have you perhaps created a
>> couple of virtual disks that were later deleted?
>
> Yes, definitely. I'm still playing with the configuration and testing of 
> this server, and I've deleted and recreated some virtual disks directly from 
> OMSA.
>
>> It would be interesting
>> to see if a restart of OMSA, reboot or powercycle resets the indexes,
>> but please help debug the plugin before attempting this :)
>
> I tried restarting the SNMP service on the server, and now I get a more 
> usual output from snmpwalk
>
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.1.1 = INTEGER: 1
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.1.2 = INTEGER: 2
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.2.1 = STRING: "Virtual Disk 
> 0"
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.2.2 = STRING: "DATA"
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.3.1 = STRING: "Windows Disk 
> 0"
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.3.2 = STRING: "Windows Disk 
> 1"

Rather surprising that all it took was an SNMP restart. But good to know
anyway :)

Cheers,
-- 
Trond Hasle Amundsen <t.h.amundsen at usit.uio.no>
Gruppe for basis systemdrift (BSD), SAPP, USIT
Tel. +47 22840058 (office)

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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