service config question

Bill Gunter bgunter at arcsystems.com
Tue Jan 24 18:06:28 CET 2006


I've configured a hostgroup of machines and service checks for that
hostgroup. However, I'd like to define a different service check command
for one of the hosts in the hostgroup. 

An example might help.

define hostgroup{
        hostgroup_name  foo
        alias           foo servers
        members         alpha, beta, gamma
        }

define service{
        use                     generic-service         ; Name of
service template to use
        hostgroup_name          foo
        service_description     Free Disk Space
        check_command           check_nrpe!check_disks
        }

For alpha only I'd like to use a different check_command (e.g. with
different thresholds). How can I do this?

Thanks.

-- 
Bill Gunter 
Assistant Director of Information Systems 
  
ARC Systems 
P: 512.358.5377 
F: 512.892.5552 
<www.arcsystems.com>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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