Please help with host notifications.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
homelyn
Posts: 5
Joined: Tue Jan 10, 2012 3:46 pm

Please help with host notifications.

Post by homelyn »

I have 3 hosts and 60 services in each host and want to configure host notifications based on service status. I need to send one email when one of the services is down and another one when all the services are ok. Basically the host should be checked every 60 min and have only 2 conditions: one of the services is down - email, all services are recovered - email, one of the services is still down after 12 hours - repeat email. It looks like I should be a check service status command or something like that.

Thanks for your help,
homelyn
Posts: 5
Joined: Tue Jan 10, 2012 3:46 pm

Re: Please help with host notifications.

Post by homelyn »

homelyn
Posts: 5
Joined: Tue Jan 10, 2012 3:46 pm

Re: Please help with host notifications.

Post by homelyn »

Looks like the plugin doesn't work. It returns only ok status to any host.
homelyn
Posts: 5
Joined: Tue Jan 10, 2012 3:46 pm

Re: Please help with host notifications.

Post by homelyn »

It works much better now. Shows that my host is down when one of the services is down, but still have one problem, when the second attempt comes it changes my host status to up. This is a mastery.
homelyn
Posts: 5
Joined: Tue Jan 10, 2012 3:46 pm

Re: Please help with host notifications.

Post by homelyn »

Now it doesn't want to send the notification.
Locked