Page 1 of 1

Nagios BPI and state type

Posted: Fri Feb 19, 2016 10:35 am
by paul.jobb
Hi;

We use BPI to group a number of checks together in which we use to define a service(i.e. file services, exchange services, database and so on). Then we use that top level group to report on overall availability of that service and provide an availability of that service for a period of time(i.e. a month). Problem is false positives will affect that number, is there away to have the BPI only report on state_type of hard and ignore soft states?

Thanks
Paul

Re: Nagios BPI and state type

Posted: Fri Feb 19, 2016 3:28 pm
by lmiltchev
When you run the "Availability" report, under "Advanced" select "Include Soft States=No". Is this what you are looking for?

Re: Nagios BPI and state type

Posted: Fri Feb 19, 2016 5:51 pm
by paul.jobb
possibly but not really at the same time

BPI allows me to group host and service checks together to report on overall health of a service i.e.
Capture.JPG
and then I am able to configure some group health thresholds for overall group health, those I don't entirely use though so I can see using the availability report like you suggested possibly
Capture2.JPG
then we use the check_bpi plugin to check on the overall health of the bpi group id, the availability of the check_bpi checks of the main bpi groups are used to measure service uptime, we have a reporting system outside of nagios that reports the availability of these checks. This is more executive reporting to report on uptime in the datacentre, its a dashboard so the report is real time.

the availability report has to much granularity for executive reporting, I just need the average(which if I used the BPI group health thresholds wouldn't apply then)
Capture3.JPG
I do see that I can use JSON to retrieve the information and I guess I could build the availability number from that, but the bpi with the check_bpi plugin already does that for me with the exception of including soft states which I don't want.

http://nagios/nagios/cgi-bin/archivejso ... endtime=-1

Hopefully I explained it well enough.

Re: Nagios BPI and state type

Posted: Mon Feb 22, 2016 12:51 pm
by paul.jobb
Looks like I can probably leverage check_multi(appears to read status.dat) along with the availability report you suggested to achieve this so you can close this. Thanks.