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.