Warnings/errors with check_openmanage plugin

Gianluca Varenni gianluca.varenni at gmail.com
Mon Jan 18 17:46:18 CET 2010


Here they are (embedded below)

Have a nice day
GV

--------------------------------------------------
From: "Trond Hasle Amundsen" <t.h.amundsen at usit.uio.no>
Sent: Monday, January 18, 2010 2:48 AM
To: "Gianluca Varenni" <gianluca.varenni at gmail.com>
Cc: <nagios-users at lists.sourceforge.net>
Subject: Re: [Nagios-users] Warnings/errors with check_openmanage plugin

> "Gianluca Varenni" <gianluca.varenni at gmail.com> writes:
>
>> I updated it to 6.2, now I get this
>>       OK |    0:0:0 | Physical Disk 0:0 [250GB] on ctrl -1 is Online
>>       OK |    0:0:1 | Physical Disk 0:1 [250GB] on ctrl -1 is Online
>
> This is interesting. Controller number shouldn't be -1.
>
>> INTERNAL ERROR: Use of uninitialized value in join or string at
>> ./check_openmanage line 1345.
>> INTERNAL ERROR: Use of uninitialized value in join or string at
>> ./check_openmanage line 1345.
>
> Ok, so the error persists with updated OMSA. To debug this further, I
> need the output from:
>
>  * On the monitored host:
>      omreport storage controller

 Controller  CERC SATA 1.5/6ch (Slot 2)

Controllers
ID                                            : 0
Status                                        : Non-Critical
Name                                          : CERC SATA 1.5/6ch
Slot ID                                       : PCI Slot 2
State                                         : Degraded
Firmware Version                              : 4.1-0 (Bld 7419)
Minimum Required Firmware Version             : Not Applicable
Driver Version                                : 4.1.0.7010
Minimum Required Driver Version               : 4.1.1.7040
Storport Driver Version                       : 5.2.3790.3959
Minimum Required Storport Driver Version      : 5.2.3790.4173
Number of Connectors                          : 1
Rebuild Rate                                  : Not Applicable
BGI Rate                                      : Not Applicable
Check Consistency Rate                        : Not Applicable
Reconstruct Rate                              : Not Applicable
Alarm State                                   : Enabled
Cluster Mode                                  : Not Applicable
SCSI Initiator ID                             : Not Applicable
Cache Memory Size                             : 64 MB
Patrol Read Mode                              : Not Applicable
Patrol Read State                             : Not Applicable
Patrol Read Rate                              : Not Applicable
Patrol Read Iterations                        : Not Applicable
Abort check consistency on error              : Not Applicable
Allow Revertible Hot Spare and Replace Member : Not Applicable
Auto replace member on predictive failure     : Not Applicable
Load balance                                  : Not Applicable
Security Capable                              : Not Applicable
Security Key Present                          : Not Applicable
Redundant Path view                           : Not Applicable



>      omreport storage pdisk controller=0

List of Physical Disks on Controller CERC SATA 1.5/6ch (Slot 2)

Controller CERC SATA 1.5/6ch (Slot 2)
ID                        : 0:0
Status                    : Ok
Name                      : Physical Disk 0:0
State                     : Online
Failure Predicted         : No
Certified                 : Not Applicable
Encryption Capable        : No
Secured                   : Not Applicable
Progress                  : Not Applicable
Bus Protocol              : SATA
Media                     : HDD
Capacity                  : 232.80 GB (249965248512 bytes)
Used RAID Disk Space      : 232.80 GB (249965248512 bytes)
Available RAID Disk Space : 0.00 GB (0 bytes)
Hot Spare                 : No
Vendor ID                 : Maxtor
Product ID                : 7Y250M0
Revision                  : YAR5
Serial No.                : Y66FN7ME
Part Number               : Not Available
Negotiated Speed          : Not Available
Capable Speed             : Not Available
Manufacture Day           : Not Available
Manufacture Week          : Not Available
Manufacture Year          : Not Available
SAS Address               : Not Available

ID                        : 0:1
Status                    : Ok
Name                      : Physical Disk 0:1
State                     : Online
Failure Predicted         : No
Certified                 : Not Applicable
Encryption Capable        : No
Secured                   : Not Applicable
Progress                  : Not Applicable
Bus Protocol              : SATA
Media                     : HDD
Capacity                  : 232.80 GB (249965248512 bytes)
Used RAID Disk Space      : 232.80 GB (249965248512 bytes)
Available RAID Disk Space : 0.00 GB (0 bytes)
Hot Spare                 : No
Vendor ID                 : Maxtor
Product ID                : 7Y250M0
Revision                  : YAR5
Serial No.                : Y66FQLJE
Part Number               : Not Available
Negotiated Speed          : Not Available
Capable Speed             : Not Available
Manufacture Day           : Not Available
Manufacture Week          : Not Available
Manufacture Year          : Not Available
SAS Address               : Not Available


>
>  * On the Nagios server:
>      snmpwalk -v2c -c <community> <hostname> 
> 1.3.6.1.4.1.674.10893.1.20.130

gianlucav at tinman:~$ snmpwalk -v2c -c public homer 
1.3.6.1.4.1.674.10893.1.20.130
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.2.1 = STRING: "CERC SATA 
1.5/6ch"
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.3.1 = STRING: "DELL"
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.4.1 = INTEGER: 5
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.5.1 = INTEGER: 6
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.8.1 = STRING: "4.1-0 (Bld 
7419)"
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.9.1 = INTEGER: 64
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.10.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.11.1 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.12.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.15.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.16.1 = INTEGER: 48
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.37.1 = INTEGER: 4
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.38.1 = INTEGER: 4
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.39.1 = STRING: "\\0"
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.40.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.41.1 = STRING: "4.1.0.7010"
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.42.1 = STRING: "2"
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.43.1 = INTEGER: 99
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.45.1 = STRING: "4.1.1.7040"
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.47.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.55.1 = STRING: 
"5.2.3790.3959"
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.56.1 = STRING: 
"5.2.3790.4173"
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.57.1 = INTEGER: 99
SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.58.1 = INTEGER: 99
SNMPv2-SMI::enterprises.674.10893.1.20.130.2.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.2.1.2.1 = STRING: "Connector 0"
SNMPv2-SMI::enterprises.674.10893.1.20.130.2.1.3.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.2.1.5.1 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10893.1.20.130.2.1.7.1 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10893.1.20.130.2.1.8.1 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10893.1.20.130.2.1.9.1 = STRING: "\\0\\0"
SNMPv2-SMI::enterprises.674.10893.1.20.130.2.1.11.1 = INTEGER: 7
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.1.2 = INTEGER: 2
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.2.1 = STRING: "Physical Disk 
0:0"
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.2.2 = STRING: "Physical Disk 
0:1"
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.3.1 = STRING: "Maxtor  "
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.3.2 = STRING: "Maxtor  "
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.4.1 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.4.2 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.6.1 = STRING: "7Y250M0 
"
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.6.2 = STRING: "7Y250M0 
"
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.7.1 = STRING: "Y66FN7ME 
"
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.7.2 = STRING: "Y66FQLJE 
"
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.8.1 = STRING: "YAR5"
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.8.2 = STRING: "YAR5"
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.10.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.10.2 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.11.1 = INTEGER: 238385
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.11.2 = INTEGER: 238385
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.12.1 = INTEGER: 458752
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.12.2 = INTEGER: 458752
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.13.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.13.2 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.14.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.14.2 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.15.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.15.2 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.16.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.16.2 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.17.1 = INTEGER: 238385
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.17.2 = INTEGER: 238385
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.18.1 = INTEGER: 458752
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.18.2 = INTEGER: 458752
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.19.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.19.2 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.20.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.20.2 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.21.1 = INTEGER: 7
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.21.2 = INTEGER: 7
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.22.1 = INTEGER: 5
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.22.2 = INTEGER: 5
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.23.1 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.23.2 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.24.1 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.24.2 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.26.1 = STRING: "\\0\\0\\0"
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.26.2 = STRING: "\\0\\0\\1"
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.31.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.31.2 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.35.1 = INTEGER: 2
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.35.2 = INTEGER: 2
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.36.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.36.2 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.40.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.40.2 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.41.1 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.4.1.41.2 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.1.2 = INTEGER: 2
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.2.1 = STRING: "Physical Disk 
0:0"
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.2.2 = STRING: "Physical Disk 
0:1"
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.3.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.3.2 = INTEGER: 2
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.4.1 = STRING: "Connector 0"
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.4.2 = STRING: "Connector 0"
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.5.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.5.2 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.6.1 = STRING: "CERC SATA 
1.5/6ch"
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.6.2 = STRING: "CERC SATA 
1.5/6ch"
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.7.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10893.1.20.130.6.1.7.2 = INTEGER: 1
gianlucav at tinman:~$



>
> Cheers,
> -- 
> Trond H. Amundsen <t.h.amundsen at usit.uio.no>
> 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
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