Check one out of several

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eduardosantos
Posts: 2
Joined: Thu Aug 25, 2011 7:20 am

Check one out of several

Post by eduardosantos »

Dear sirs,

I am running VMware Image of Nagios XI for evaluation purposes. This is a 32bit vm.
Everything is working fine and I was able to create hosts and services to monitor a bunch of Linux and Windows machines.

I am looking for directions on how to build a service that would monitor if a given process is running in at least one of a Windows Servers group.
I succeeded on checking each machine by building a service that checks if the process runs on it. All target machines are running NSClient++.

Though I fear this can be a basic question, I googled no straightforward strategy on how to implement it.

Thanks in advance,
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Check one out of several

Post by lmiltchev »

You can probably use the Nagios Business Process Intelligence Addon (BPI). Check this link out for more info:

http://library.nagios.com/library/produ ... -using-bpi

You can create a group with all of the services that you would like to monitor and then set your Warning and Critical thresholds.
For example, if you had 5 services in this group and you set your "Critical Threshold" to 4, you would get a "Critical" state, when the problem count exceeds the critical threshold (there are problems with more than 4 services). Otherwise, would would have at least one service running and "OK" state. You can also set your "Warning Threshold" if you wish. BPI gives you a great flexibility and will help you achieve your goal.
Be sure to check out our Knowledgebase for helpful articles and solutions!
eduardosantos
Posts: 2
Joined: Thu Aug 25, 2011 7:20 am

Re: Check one out of several

Post by eduardosantos »

Thanks for your reply. It worked perfectly.

It was exactly what I needed.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Check one out of several

Post by lmiltchev »

I'm glad I could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked