Hosts notifications (not services)

Arno Lehmann al at its-lehmann.de
Sun Mar 13 20:34:44 CET 2005


Hi.

DavidDST wrote:

> Thank you Arno, I've read the manual several times, trust me,  there is 
> a good reason if I want to do that.
> 
> I've got 15 servers with 5 services to supervise on each host. Each 
> server is maintain by different person, that's mean there is a 
> contact_group for each host.
> 
> Should I create 75 (15*5) services ?
> 
> There is no way to create only 5 services with all hosts inside (members 
> *), and define that contact_group depend on the host ?

Ok, I see your problem.

The solution I'd use would be a notification script which uses 
$HOSTNAME$ or -ALIAS$ to determine whom to notifiy. A simple shell 
script could do that.

Hope that helps.

> Thanks a lot.
> 
> David.
> 
> Arno Lehmann wrote:
> 
>> Helo
>>
>> You described it.
>> You haven't defined contacts for the services. How would nagios know 
>> whom to notify?
>>
>> You should read the manual, explaining what host checks are and when a 
>> host is considered down.
>> Basically, a host notification has nothing to do with services running 
>> on it or not.
>>
>> Arno
> 
> 
> 
> 

-- 
IT-Service Lehmann                    al at its-lehmann.de
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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