Both hostgroup_name and host_name in services.cfg

Andrew Davis nccomp at gmail.com
Mon May 18 16:05:45 CEST 2009


If I want to use the same test(s) for a hostgroup and an individual 
host, am I able to define both in the same entry?

Example:

define service {
*        hostgroup_name                  building-mgmt-servers
        host_name                       other_server*
        service_description             NSClient
        check_command                   check_nt!CLIENTVERSION
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        check_period                    24x7
        notification_interval           120
        notification_period             24x7
        notification_options            w, u, c, r, f, s
        contact_groups                  bldg-mgmt-staff
}

-- 


  A. Davis
  Email:     nccomp at gmail.com

  "There is no limit to what a man can accomplish
   if he doesn't care who gets the credit." - Ronald Reagan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090518/c6e87f1c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
-------------- next part --------------
_______________________________________________
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