Service notification only on hosts in a specific host group

Timothy O'Hare tim at infostream.com.au
Wed Nov 16 23:36:54 CET 2005


Hi,
One way to do it would be to create a second service that is used to 
only check the hosts you want to be paged for e.g. NTP-paged.
The downside to this is that these hosts would have 2 NTP checks against 
them.
Tim
Borgström Georg wrote:
> Hi,
> 
> I have a few services that are checked on every host. The service are
> defined as follow:
> 
> define service{
>         service_description   NTP
>         servicegroups         NTP
>         use                   generic-service
>         check_command         check_ntp
>         host_name             *
>         }
> 
> Today I get notifications by mail when NTP goes down on any
> host. Now I want to add a notification to my pager when NTP goes down,
> but only on hosts in a specific host group. Is this possible? I have
> tried to RTFM but so far I can't see how to do it.
> 
> Any help is greatly appreciated.
> 
> /Georg
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> Register for a JBoss Training Course.  Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_idv28&alloc_id845&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



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&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