multiple protocol checks

Marc Powell mpowell at ena.com
Fri Oct 18 20:04:23 CEST 2002


Create multiple service definitions:

# Host definition
define host {
        use                     generic-host
        host_name               tnsch-cecil-b-rigsby-es-cache-bledsoe-tn
        alias                   cecil-b-rigsby-es-cache
        address                 ip.address.remov.ed
        check_command           check-host-alive
        }

#Service definition
define service {
        use                     generic-service
        host_name               tnsch-cecil-b-rigsby-es-cache-bledsoe-tn
        service_description     PING
        contact_groups          tnops,nateng-oncall-network-apps
        check_command           check_ping
        }

#Service definition
define service {
        use                     generic-service
        host_name               tnsch-cecil-b-rigsby-es-cache-bledsoe-tn
        service_description     CACHING
        contact_groups          tnops,nateng-oncall-network-apps
        check_command           check_caching
        }

--
Marc

> -----Original Message-----
> From: Andrew Meyer [mailto:andrewm659 at hotmail.com]
> Sent: Friday, October 18, 2002 12:55 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] multiple protocol checks
> 
> In the hosts.cfg file when i set up a host to be checked by nagios, and i
> wanted it to check for several thing like ping, tcp, udp, ssh and http how
> do i seperate each check_command?  With a space? or a comma?
> 
> Andrew Meyer
> 
> 
> 
> 
> 
> _________________________________________________________________
> Get a speedy connection with MSN Broadband.  Join now!
> http://resourcecenter.msn.com/access/plans/freeactivation.asp
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list