Hi,
I have a problem that I have to monitor different services but not all of them needs to be running at the same time.
For example service1 is stopped but it doesn't matter as long as service2 is running.
Is it possible to still get an OK event even though service1 is stopped ?
I was looking at service dependencies but I don't think it can be done that way.
OK event when 1 of 2 services are running
-
GeorgePastoor
- Posts: 3
- Joined: Tue Jan 03, 2012 10:05 am
Re: OK event when 1 of 2 services are running
It sounds like you need to script the logic into a new function which is custom-tailored to that server.
-
GeorgePastoor
- Posts: 3
- Joined: Tue Jan 03, 2012 10:05 am
Re: OK event when 1 of 2 services are running
Thanx for your reaction.LHammonds wrote:It sounds like you need to script the logic into a new function which is custom-tailored to that server.
That's my last option because I like to keep Nagios as standard as possible.
Don't know if something like that is possible with servicegroups I'm lookin in to it right now.
Re: OK event when 1 of 2 services are running
I wrote this addon specifically for situations like this : )
Nagios BPI
http://exchange.nagios.org/directory/Ad ... 29/details
Nagios BPI
http://exchange.nagios.org/directory/Ad ... 29/details
-
GeorgePastoor
- Posts: 3
- Joined: Tue Jan 03, 2012 10:05 am
Re: OK event when 1 of 2 services are running
@mguthrie
Great, I think this is the answer to my problem.
Thank you
Great, I think this is the answer to my problem.
Thank you