Skip to main content

Hi, 

here is the result for an 

idrac  HARDWARE

 

Status information
UNKNOWN: Voltage 'CPU1 Presence' state is 'unknown' - Voltage 'CPU2 Presence' state is 'unknown'

Checking amperages

amperage 'System Board Pwr Consumption' status is 'ok' oinstance: 1.1] .state: enabled] evalue: 138]

amperage 'System Board Current' status is 'ok' oinstance: 1.2] .state: enabled] evalue: 0.6]

Checking cooling devices

Checking cooling units

Checking enclosures

Checking health

health 'Main System Chassis:voltageAll' status is ok instance: 1]

health 'Main System Chassis:memoryAll' status is ok instance: 1]

health 'Main System Chassis:temperatureAll' status is ok instance: 1]

health 'Main System Chassis:batteryAll' status is ok instance: 1]

health 'Main System Chassis:amperageAll' status is ok instance: 1]

health 'Main System Chassis:processorAll' status is ok instance: 1]

etc etc

 

is there a way i can ignore the voltage cpu presences and obtaing an OK STATUS for idrac hardware?

 

Hello

please provide the command line generated by your check (you got this in the detail pane of the service

 

next provide the full ouput of this command when you run it on your poller manually in the shell, add “--verbose” at the end if not present

paste both information here.

 

there are lots of way to filter, using --filter and --component, here is the --help 

  Check hardware components.

    --component
            Which component to check (Default: '.*'). Can be: 'amperage',
            'coolingdevice', 'coolingunit', 'enclosure', 'health', 'fru',
            'memory', 'network', 'pci', 'pdisk', 'processor', 'psu',
            'punit', 'slot', 'storagebattery', 'storagectrl',
            'systembattery', 'temperature', 'voltage', 'vdisk'.

    --filter
            Exclude some parts (comma seperated list) (Example:
            --filter=temperature --filter=psu) Can also exclude specific
            instance: --filter=temperature,1.1

 

that is an example but you can basically put --filter=’voltage’ and your check will ignore all the voltages. excluding individual counters from the voltage need the whole output to identifiy the instance to exclude.

 

here is an example of a REALLY old dell server that had lots of missing counter, like your voltage

--component='.*' --verbose  --snmp-timeout=45 --add-name-instance 
--filter='(voltage|cooling|enclosure|memory|pdisk|punit|storage*)'
--filter='amperage,1.(1|2)'
--filter='health,(powerUnitAll|voltageAll|memoryAll|psuAll|coolingUnitAll|processorAll)'  
--filter='temperature,1.(3|4)'

(all is on the same line)

(now after firmware upgrade and some idrac reset, all is ok), but that gives you an idea on how to setup filters

 


thank you very much!

solved … the goal is:

 

  • --component=’voltage’
    found istances number to filter 
    voltage 'CPU1 Presence' status is 'unknown' uinstance: 1.6] cstate: unknown] uvalue: unknown]
    voltage 'CPU2 Presence' status is 'unknown' uinstance: 1.7] cstate: unknown] uvalue: unknown]

 

So added filter as your example:

  • --filter='voltage,1.(6|7)'

 

 /usr/lib/centreon/plugins//centreon_dell_idrac.pl --plugin=hardware::server::dell::idrac::snmp::plugin --mode=hardware --hostname=<ip address> --snmp-version='2c' --snmp-community=<COMMUNITY>  --component='.*' --verbose --filter='voltage,1.(6|7)'
 

thank you again.


Reply