Nagios BPI and state type

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

Nagios BPI and state type

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios BPI and state type

Post by lmiltchev »

When you run the "Availability" report, under "Advanced" select "Include Soft States=No". Is this what you are looking for?
Be sure to check out our Knowledgebase for helpful articles and solutions!
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

Re: Nagios BPI and state type

Post 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.
You do not have the required permissions to view the files attached to this post.
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

Re: Nagios BPI and state type

Post 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.
Locked