Skip checking the battery condition by check_hpasm

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Skip checking the battery condition by check_hpasm

Postby humaun21 » Wed Aug 11, 2021 11:52 am

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
humaun21
 
Posts: 1
Joined: Wed Aug 11, 2021 11:09 am

Re: Skip checking the battery condition by check_hpasm

Postby mcapra » Fri Aug 13, 2021 12:49 pm

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
Former Nagios employee
https://www.mcapra.com/
User avatar
mcapra
 
Posts: 3729
Joined: Thu May 05, 2016 3:54 pm


Return to Community Support

Who is online

Users browsing this forum: No registered users and 14 guests