BPI Check - List all Problems

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

BPI Check - List all Problems

Post by lb2cons »

Hi everyone, I'm looking for some automation on check_bpi to list all problems of a given group.

Check_bpi currently shows this result when health it's below te threshold:

WARNING - Group health is 90.91% with 2 problem(s) | Health=90.91%

If a Essential member is critical/warning then check_bpi shows what member it's critical/warning, like:

CRITICAL - Essential member "CSD-SRV_SQL_03 : Drive E: Disk Usage" is in a problem state! Group health is: 64.52%. | Health=64.52%

I wanna modify the result and show all members that are in a problem state (Only when health it's below the threshold).

Like this :

WARNING - Group health is 90.91% with 2 problem(s) - "CSD-SRV_SQL_03 : CPU Usage", "CSD-SRV_SQL_04 : Load Average" | Health=90.91%

This will help me to make a quick diagnostic of a group when essential members are ok but several members aren't.

Can someone give me a hint?
Last edited by lb2cons on Mon Apr 20, 2015 7:22 am, edited 1 time in total.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: BPI Check - List all Problems

Post by tmcdonald »

This is something that might be best entered in as a feature request. For any development work beyond a few simple modifications we need to get the dev team involved. This usually means either a bug/feature report, or custom development if it is something that needs to be done on a timeline. I can file this as a feature request but I can't guarantee when/if it would be added in. Custom development would have a guarantee but you would need to talk to Sales about that.
Former Nagios employee
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Re: BPI Check - List all Problems

Post by lb2cons »

I understood your concern.

I'm interested in implement this by myself if possible, but I want some tips on how to do this. Can you help?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: BPI Check - List all Problems

Post by tmcdonald »

That's a pretty significant change to the logic. Not being a true developer myself and only having peeked into the BPI source once, I can't really provide much useful insight. If you have specific development questions we may be able to answer them, but again this change is not likely to be a simple 2-line fix.
Former Nagios employee
Locked