Page 1 of 1

Skip checking the battery condition by check_hpasm

Posted: Wed Aug 11, 2021 11:52 am
by humaun21
My nagios check_hpasm reports the status of battery status. I would like to stop reporting by nagios while calling check_hpasm.

Host: server
Service: HPASM
Status: CRITICAL
Status information: CRITICAL - controller accelerator battery needs attention, System: 'proliant xxxxx xxxx', S/N: 'CZ2xxxxxxxx', ROM: 'P70
I was trying to follow the instruction but in case of accelerator battery I didn't find any parameter that i can put in the blacklist
https://labs.consol.de/nagios/check_hpasm/index.html

How can I ignore the reporting by setting a parameter while calling check_hpasm? Thanks in advance.

Best
Humaun

Re: Skip checking the battery condition by check_hpasm

Posted: Fri Aug 13, 2021 12:49 pm
by mcapra
I know nothing about this plugin or the hardware it's meant for, but I think --blacklist is the way to do this. See the "Blacklisting" section of the documentation:
https://labs.consol.de/nagios/check_hpasm/index.html

Perhaps something like this:

Code: Select all

--blacklist daacb