BPI - how to alert if % is above a threshold

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

BPI - how to alert if % is above a threshold

Post by gsl_ops_practice »

Hello,

My understanding of BPI is that I can set a warning and critical thresholds, below which the BPI group will generate events, if coupled with a BPI service check.

At present, we have a set of services running on one host out of 3, so the critical threshold is set to 30% and this has been tested and it works brilliantly.

However, I need to make sure that these same services do not run on more than one host at a time. Is there a way to set up BPI so that we will get a Critical at below 30% and above 34%?

Thank you
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI - how to alert if % is above a threshold

Post by ssax »

Not currently, you may be able to get around it by creating another service that utilizes the check_cluster plugin:

https://assets.nagios.com/downloads/nag ... sters.html
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

Re: BPI - how to alert if % is above a threshold

Post by gsl_ops_practice »

Hello,

Based on my understanding of the check_cluster, the logic is the same as for BPI, you can define a less-than threshold, but not greater than.

I would appreciate it if you can raise a feature request for a future version to add this functionality into BPI. Even if the cluster plugin could work, the process of getting a NagiosCore plugin out of github into an enterprise tool really does not appeal.

Thank you.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: BPI - how to alert if % is above a threshold

Post by lmiltchev »

Based on my understanding of the check_cluster, the logic is the same as for BPI, you can define a less-than threshold, but not greater than.
Can you show us the actual command that you are running along with the output of it?

You could probably use "x:" (<x) for your thresholds in order to solve the issue... Read more about thresholds and ranges here:
https://nagios-plugins.org/doc/guidelin ... HOLDFORMAT
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked