Warnings/errors with check_openmanage plugin

Gianluca Varenni gianluca.varenni at gmail.com
Wed Jan 13 22:57:56 CET 2010


Hi all.

check_openmanage keeps spitting a number of warnings and errors when 
interrogating a DELL T610 server running OMSA 6.2.0

Here is the some output from v 3.5.3

root at tinman:/home/nagios/check_openmanage-3.5.3# ./check_openmanage -H 
odyssey -d
Use of uninitialized value in hash element at ./check_openmanage line 1474.
Use of uninitialized value in hash element at ./check_openmanage line 1475.
Use of uninitialized value in hash element at ./check_openmanage line 1476.
Use of uninitialized value in division (/) at ./check_openmanage line 1477.
Use of uninitialized value $nexus in substitution (s///) at 
./check_openmanage line 899.
Use of uninitialized value $nexus in substitution (s///) at 
./check_openmanage line 900.
Use of uninitialized value $ctrl in substitution (s///) at 
./check_openmanage line 1481.
Use of uninitialized value $state in string eq at ./check_openmanage line 
1503.
Use of uninitialized value $status in string ne at ./check_openmanage line 
1503.
Use of uninitialized value $id in sprintf at ./check_openmanage line 1510.
Use of uninitialized value $layout in sprintf at ./check_openmanage line 
1510.
Use of uninitialized value $ctrl in sprintf at ./check_openmanage line 1510.
Use of uninitialized value $state in sprintf at ./check_openmanage line 
1510.
Use of uninitialized value $status in hash element at ./check_openmanage 
line 1512.
Use of uninitialized value within @_ in list assignment at 
./check_openmanage line 422.
Use of uninitialized value in hash element at ./check_openmanage line 1474.
Use of uninitialized value in hash element at ./check_openmanage line 1475.
Use of uninitialized value in hash element at ./check_openmanage line 1476.
Use of uninitialized value in division (/) at ./check_openmanage line 1477.
Use of uninitialized value $nexus in substitution (s///) at 
./check_openmanage line 899.
Use of uninitialized value $nexus in substitution (s///) at 
./check_openmanage line 900.
Use of uninitialized value $ctrl in substitution (s///) at 
./check_openmanage line 1481.
Use of uninitialized value $state in string eq at ./check_openmanage line 
1503.
Use of uninitialized value $status in string ne at ./check_openmanage line 
1503.
Use of uninitialized value $id in sprintf at ./check_openmanage line 1510.
Use of uninitialized value $layout in sprintf at ./check_openmanage line 
1510.
Use of uninitialized value $ctrl in sprintf at ./check_openmanage line 1510.
Use of uninitialized value $state in sprintf at ./check_openmanage line 
1510.
Use of uninitialized value $status in hash element at ./check_openmanage 
line 1512.
Use of uninitialized value within @_ in list assignment at 
./check_openmanage line 422.
   System:      PowerEdge T610
   ServiceTag:  XXXXXXX                  OMSA version:    6.2.0
   BIOS/date:   1.2.6 07/17/2009         Plugin version:  3.5.3
-----------------------------------------------------------------------------
   Storage Components
=============================================================================
  STATE  |    ID    |  MESSAGE TEXT
---------+----------+--------------------------------------------------------
      OK |        0 | Controller 0 [PERC 6/i Integrated] is Ready
      OK |  0:0:0:0 | Physical Disk 0:0:0 [159GB] on ctrl 0 is Online
      OK |  0:0:0:1 | Physical Disk 0:0:1 [159GB] on ctrl 0 is Online
      OK |  0:0:0:2 | Physical Disk 0:0:2 [750GB] on ctrl 0 is Online
      OK |  0:0:0:3 | Physical Disk 0:0:3 [750GB] on ctrl 0 is Online
      OK |  0:1:0:4 | Physical Disk 1:0:4 [750GB] on ctrl 0 is Online
      OK |  0:1:0:5 | Physical Disk 1:0:5 [750GB] on ctrl 0 is Online
      OK |  0:1:0:6 | Physical Disk 1:0:6 [750GB] on ctrl 0 is Online
      OK |  0:1:0:7 | Physical Disk 1:0:7 [750GB] on ctrl 0 is Ready
      OK |      0:0 | Logical drive 0 'Windows Disk 0' [RAID-1, 148.50 GB] 
on ctrl 0 is Ready
Use of uninitialized value $level in hash element at ./check_openmanage line 
3886.
Use of uninitialized value within %reverse_exitcode in length at 
./check_openmanage line 3886.
Use of uninitialized value $level in hash element at ./check_openmanage line 
3886.
Use of uninitialized value within %reverse_exitcode in concatenation (.) or 
string at ./check_openmanage line 3886.
         |          | Logical drive 0 '' [, 0.00 GB] on ctrl 0 needs 
attention:
Use of uninitialized value $level in hash element at ./check_openmanage line 
3888.
Use of uninitialized value within %reverse_exitcode in hash element at 
./check_openmanage line 3888.
Use of uninitialized value $level in hash element at ./check_openmanage line 
3886.
Use of uninitialized value within %reverse_exitcode in length at 
./check_openmanage line 3886.
Use of uninitialized value $level in hash element at ./check_openmanage line 
3886.
Use of uninitialized value within %reverse_exitcode in concatenation (.) or 
string at ./check_openmanage line 3886.
         |          | Logical drive 0 '' [, 0.00 GB] on ctrl 0 needs 
attention:
Use of uninitialized value $level in hash element at ./check_openmanage line 
3888.
Use of uninitialized value within %reverse_exitcode in hash element at 
./check_openmanage line 3888.
      OK |      0:1 | Logical drive 1 'Windows Disk 1' [RAID-5, 2792.50 GB] 
on ctrl 0 is Ready
      OK |      0:0 | Cache battery 0 in controller 0 is Ready
      OK |      0:0 | Connector 0 [SAS] on controller 0 is Ready
      OK |      0:1 | Connector 1 [SAS] on controller 0 is Ready
      OK |    0:0:0 | Enclosure 0:0:0 [Backplane] on controller 0 is Ready
      OK |    0:1:0 | Enclosure 0:1:0 [Backplane] on controller 0 is Ready
-----------------------------------------------------------------------------
   Chassis Components
=============================================================================
  STATE  |  ID  |  MESSAGE TEXT
---------+------+------------------------------------------------------------
      OK |    1 | Memory module 1 [DIMM_A2, 2048 MB] is Ok
      OK |    2 | Memory module 2 [DIMM_A3, 2048 MB] is Ok
      OK |    1 | Chassis fan 1 [System Board FAN 3 RPM]: 2160
      OK |    2 | Chassis fan 2 [System Board FAN 4 RPM]: 2160
      OK |    0 | Power Supply 0 [AC]: Presence detected
      OK |    1 | Power Supply 1 [AC]: Presence detected
      OK |    0 | Temperature Probe 0 [System Board Ambient Temp] reads 22 C 
(min=8/3, max=42/47)
      OK |    0 | Processor 0 [Intel Xeon E5504 2.00GHz] is Present
      OK |    0 | Voltage sensor 0 [CPU1 VCORE] is Good
      OK |    1 | Voltage sensor 1 [CPU1 0.75 VTT PG] is Good
      OK |    2 | Voltage sensor 2 [System Board 1.5V PG] is Good
      OK |    3 | Voltage sensor 3 [System Board 1.8V PG] is Good
      OK |    4 | Voltage sensor 4 [System Board 3.3V PG] is Good
      OK |    5 | Voltage sensor 5 [System Board 5V PG] is Good
      OK |    6 | Voltage sensor 6 [CPU1 MEM PG] is Good
      OK |    7 | Voltage sensor 7 [CPU1 VTT PG] is Good
      OK |    8 | Voltage sensor 8 [System Board 0.9V PG] is Good
      OK |    9 | Voltage sensor 9 [CPU1 1.8 PLL PG] is Good
      OK |   10 | Voltage sensor 10 [System Board 8.0V PG] is Good
      OK |   11 | Voltage sensor 11 [System Board 1.1V PG] is Good
      OK |   12 | Voltage sensor 12 [System Board 1.0V LOM PG] is Good
      OK |   13 | Voltage sensor 13 [System Board 1.0V AUX PG] is Good
      OK |   14 | Voltage sensor 14 [System Board 1.05V PG] is Good
      OK |   15 | Voltage sensor 15 [PS 2 Voltage 2] is 114.000 V
      OK |    0 | Battery probe 0 [System Board CMOS Battery] is Presence 
Detected
      OK |    0 | Amperage probe 0 [PS 2 Current 2] reads 0.8 A
      OK |    1 | Amperage probe 1 [System Board System Level] reads 105 W
      OK |    0 | Chassis intrusion 0 detection: Ok (Not Breached)
-----------------------------------------------------------------------------
   Other messages
=============================================================================
  STATE  |  MESSAGE TEXT
---------+-------------------------------------------------------------------
      OK | ESM log health is Ok (less than 80% full)
root at tinman:/home/nagios/check_openmanage-3.5.3#


And here is the output from v 3.5.4

root at tinman:/home/nagios/check_openmanage-3.5.4# ./check_openmanage -H 
odyssey -d
   System:      PowerEdge T610
   ServiceTag:  XXXXXXX                  OMSA version:    6.2.0
   BIOS/date:   1.2.6 07/17/2009         Plugin version:  3.5.4
-----------------------------------------------------------------------------
   Storage Components
=============================================================================
  STATE  |    ID    |  MESSAGE TEXT
---------+----------+--------------------------------------------------------
      OK |        0 | Controller 0 [PERC 6/i Integrated] is Ready
      OK |  0:0:0:0 | Physical Disk 0:0:0 [159GB] on ctrl 0 is Online
      OK |  0:0:0:1 | Physical Disk 0:0:1 [159GB] on ctrl 0 is Online
      OK |  0:0:0:2 | Physical Disk 0:0:2 [750GB] on ctrl 0 is Online
      OK |  0:0:0:3 | Physical Disk 0:0:3 [750GB] on ctrl 0 is Online
      OK |  0:1:0:4 | Physical Disk 1:0:4 [750GB] on ctrl 0 is Online
      OK |  0:1:0:5 | Physical Disk 1:0:5 [750GB] on ctrl 0 is Online
      OK |  0:1:0:6 | Physical Disk 1:0:6 [750GB] on ctrl 0 is Online
      OK |  0:1:0:7 | Physical Disk 1:0:7 [750GB] on ctrl 0 is Ready
      OK |      0:0 | Logical drive 0 'Windows Disk 0' [RAID-1, 148.50 GB] 
on ctrl 0 is Ready
         |          | Logical drive 0 '' [, 0.00 GB] on ctrl 0 needs 
attention:
         |          | Logical drive 0 '' [, 0.00 GB] on ctrl 0 needs 
attention:
      OK |      0:1 | Logical drive 1 'Windows Disk 1' [RAID-5, 2792.50 GB] 
on ctrl 0 is Ready
      OK |      0:0 | Cache battery 0 in controller 0 is Ready
      OK |      0:0 | Connector 0 [SAS] on controller 0 is Ready
      OK |      0:1 | Connector 1 [SAS] on controller 0 is Ready
      OK |    0:0:0 | Enclosure 0:0:0 [Backplane] on controller 0 is Ready
      OK |    0:1:0 | Enclosure 0:1:0 [Backplane] on controller 0 is Ready
-----------------------------------------------------------------------------
   Chassis Components
=============================================================================
  STATE  |  ID  |  MESSAGE TEXT
---------+------+------------------------------------------------------------
      OK |    1 | Memory module 1 [DIMM_A2, 2048 MB] is Ok
      OK |    2 | Memory module 2 [DIMM_A3, 2048 MB] is Ok
      OK |    1 | Chassis fan 1 [System Board FAN 3 RPM]: 2160
      OK |    2 | Chassis fan 2 [System Board FAN 4 RPM]: 2160
      OK |    0 | Power Supply 0 [AC]: Presence detected
      OK |    1 | Power Supply 1 [AC]: Presence detected
      OK |    0 | Temperature Probe 0 [System Board Ambient Temp] reads 22 C 
(min=8/3, max=42/47)
      OK |    0 | Processor 0 [Intel Xeon E5504 2.00GHz] is Present
      OK |    0 | Voltage sensor 0 [CPU1 VCORE] is Good
      OK |    1 | Voltage sensor 1 [CPU1 0.75 VTT PG] is Good
      OK |    2 | Voltage sensor 2 [System Board 1.5V PG] is Good
      OK |    3 | Voltage sensor 3 [System Board 1.8V PG] is Good
      OK |    4 | Voltage sensor 4 [System Board 3.3V PG] is Good
      OK |    5 | Voltage sensor 5 [System Board 5V PG] is Good
      OK |    6 | Voltage sensor 6 [CPU1 MEM PG] is Good
      OK |    7 | Voltage sensor 7 [CPU1 VTT PG] is Good
      OK |    8 | Voltage sensor 8 [System Board 0.9V PG] is Good
      OK |    9 | Voltage sensor 9 [CPU1 1.8 PLL PG] is Good
      OK |   10 | Voltage sensor 10 [System Board 8.0V PG] is Good
      OK |   11 | Voltage sensor 11 [System Board 1.1V PG] is Good
      OK |   12 | Voltage sensor 12 [System Board 1.0V LOM PG] is Good
      OK |   13 | Voltage sensor 13 [System Board 1.0V AUX PG] is Good
      OK |   14 | Voltage sensor 14 [System Board 1.05V PG] is Good
      OK |   15 | Voltage sensor 15 [PS 2 Voltage 2] is 114.000 V
      OK |    0 | Battery probe 0 [System Board CMOS Battery] is Presence 
Detected
      OK |    0 | Amperage probe 0 [PS 2 Current 2] reads 0.8 A
      OK |    1 | Amperage probe 1 [System Board System Level] reads 105 W
      OK |    0 | Chassis intrusion 0 detection: Ok (Not Breached)
-----------------------------------------------------------------------------
   Other messages
=============================================================================
  STATE  |  MESSAGE TEXT
---------+-------------------------------------------------------------------
      OK | ESM log health is Ok (less than 80% full)

INTERNAL ERROR: Use of uninitialized value in hash element at 
./check_openmanage line 1497.
INTERNAL ERROR: Use of uninitialized value in hash element at 
./check_openmanage line 1498.
INTERNAL ERROR: Use of uninitialized value in hash element at 
./check_openmanage line 1499.
INTERNAL ERROR: Use of uninitialized value in division (/) at 
./check_openmanage line 1500.
INTERNAL ERROR: Use of uninitialized value $nexus in substitution (s///) at 
./check_openmanage line 900.
INTERNAL ERROR: Use of uninitialized value $nexus in substitution (s///) at 
./check_openmanage line 901.
INTERNAL ERROR: Use of uninitialized value $ctrl in substitution (s///) at 
./check_openmanage line 1504.
INTERNAL ERROR: Use of uninitialized value $state in string eq at 
./check_openmanage line 1526.
INTERNAL ERROR: Use of uninitialized value $status in string ne at 
./check_openmanage line 1526.
INTERNAL ERROR: Use of uninitialized value $id in sprintf at 
./check_openmanage line 1533.
INTERNAL ERROR: Use of uninitialized value $layout in sprintf at 
./check_openmanage line 1533.
INTERNAL ERROR: Use of uninitialized value $ctrl in sprintf at 
./check_openmanage line 1533.
INTERNAL ERROR: Use of uninitialized value $state in sprintf at 
./check_openmanage line 1533.
INTERNAL ERROR: Use of uninitialized value $status in hash element at 
./check_openmanage line 1535.
INTERNAL ERROR: Use of uninitialized value within @_ in list assignment at 
./check_openmanage line 423.
INTERNAL ERROR: Use of uninitialized value in hash element at 
./check_openmanage line 1497.
INTERNAL ERROR: Use of uninitialized value in hash element at 
./check_openmanage line 1498.
INTERNAL ERROR: Use of uninitialized value in hash element at 
./check_openmanage line 1499.
INTERNAL ERROR: Use of uninitialized value in division (/) at 
./check_openmanage line 1500.
INTERNAL ERROR: Use of uninitialized value $nexus in substitution (s///) at 
./check_openmanage line 900.
INTERNAL ERROR: Use of uninitialized value $nexus in substitution (s///) at 
./check_openmanage line 901.
INTERNAL ERROR: Use of uninitialized value $ctrl in substitution (s///) at 
./check_openmanage line 1504.
INTERNAL ERROR: Use of uninitialized value $state in string eq at 
./check_openmanage line 1526.
INTERNAL ERROR: Use of uninitialized value $status in string ne at 
./check_openmanage line 1526.
INTERNAL ERROR: Use of uninitialized value $id in sprintf at 
./check_openmanage line 1533.
INTERNAL ERROR: Use of uninitialized value $layout in sprintf at 
./check_openmanage line 1533.
INTERNAL ERROR: Use of uninitialized value $ctrl in sprintf at 
./check_openmanage line 1533.
INTERNAL ERROR: Use of uninitialized value $state in sprintf at 
./check_openmanage line 1533.
INTERNAL ERROR: Use of uninitialized value $status in hash element at 
./check_openmanage line 1535.
INTERNAL ERROR: Use of uninitialized value within @_ in list assignment at 
./check_openmanage line 423.
INTERNAL ERROR: Use of uninitialized value $level in hash element at 
./check_openmanage line 3925.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in 
length at ./check_openmanage line 3925.
INTERNAL ERROR: Use of uninitialized value $level in hash element at 
./check_openmanage line 3925.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in 
concatenation (.) or string at ./check_openmanage line 3925.
INTERNAL ERROR: Use of uninitialized value $level in hash element at 
./check_openmanage line 3927.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in hash 
element at ./check_openmanage line 3927.
INTERNAL ERROR: Use of uninitialized value $level in hash element at 
./check_openmanage line 3925.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in 
length at ./check_openmanage line 3925.
INTERNAL ERROR: Use of uninitialized value $level in hash element at 
./check_openmanage line 3925.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in 
concatenation (.) or string at ./check_openmanage line 3925.
INTERNAL ERROR: Use of uninitialized value $level in hash element at 
./check_openmanage line 3927.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in hash 
element at ./check_openmanage line 
3927.root at tinman:/home/nagios/check_openmanage-3.5.4#

Any ideas?

Have a nice day
GV

 


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
_______________________________________________
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