different timeouts for same service

Karolis Dautartas list at public.lt
Tue Nov 2 12:52:54 CET 2004


hi,

I am using nagios for several months now, still can't figure out
some things. I would like to do the following things:

1. Say I am monitoring a certain service on a certain host. I want to
be notified about service being down by email and a pager. I would
like to recieve an email if the host has been down for 3 minutes (3
checks every minute), and a pager if the service has been down for say
10 minutes. The only solution I could come up with, is running 2
instances of nagios with different config files. But that is not
exactly the clean way :)

2. For some service notifications I would like to only recieve an
email. For others, I want both email and pager. My way of doing this:
create contact groups "critical" and "warning", and put contacts that
should get pager notifications into "critical", while others go into
"warning". Then in a service definition, I would have to list either
critical or warning contact groups, or both. The problem here is that
most of the contacts would have to be defined twice: one contact with their
pager address, and another with their email address. This is also not
a very clean way...

If anyone knows how to solve either of these questions, I would
appreciate any input.

thanks,
Karolis



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list