This version seems to work ok now. Thanks! Have a nice day GV
-------------------------------------------------- From: "Trond Hasle Amundsen" <[email protected]> Sent: Tuesday, January 19, 2010 7:50 AM To: "Gianluca Varenni" <[email protected]> Cc: <[email protected]> Subject: Re: [Nagios-users] Warnings/errors with check_openmanage plugin > "Gianluca Varenni" <[email protected]> writes: > >> Here they are (embedded below) > > Thanks. This really puzzled me, because snmpwalk returned all the output > needed, while my plugin didn't seem to fetch the needed values. > > Fortunately, I was able to reproduce this on a local 2650, which makes > debugging much easier. It turns out that when using > Net::SNMP::get_entries() to fetch the values, there will sometimes be a > whitespace in the OID field of the data returned, while > Net::SNMP::get_table() is OK. I really want to use get_entries(), which > is significantly faster on servers with lots of physical disks. > > I have patched check_openmanage so that any excess whitespace is removed > from the OID field before it is analyzed, so get_entries() can still be > used. A beta version is available (check_openmanage-3.5.5-beta4) here: > > http://folk.uio.no/trondham/tmp/ > > This beta also addresses the controller identification for physical > drives, where the controller id was reported as '-1'. On older hardware > such as the 2650 and 750, the controller to which a physical disk is > attached is not available as a connection to the enclosure, because no > enclosure exists. The plugin will now probe for this information via the > channel connection as well, which provides this info. This only implies > that I probe an additional OID for this information. > > Please try this beta version and report your results. > > Cheers, > -- > Trond H. Amundsen <[email protected]> > Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ 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 [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
