UNCLASS: Excluding Hosts from group Service C hecks and 3D Status Map Dependency

Hand, Nathan Nathan.Hand at defence.gov.au
Tue Jan 14 00:47:47 CET 2003


If this is a feature request, then I'd personally prefer a syntax like this

	hostgroup_name		london, !alpha, !tango, !chilly

Easier to read, IMO.


		-----Original Message-----
		From:	AJ McKee [mailto:aj.mckee at nmtbmedia.com]
		Sent:	Sunday, 12 January 2003 16:58
		To:	nagios-users at lists.sourceforge.net
		Subject:	[Nagios-users] Excluding Hosts from group
Service Checks and 3D Status Map Dependency

		Hi all,

		I was wondering if there is any way I can exclude a host
from a service
		check but still use the same host group that includes that
host. 

		For example, we would have many servers some have common
services and
		some not. Now I want the hostgroup "london" to check for
ping, http,
		ftp, smtp and mysql. However not all of the host group
"london" have all
		of these services on them. Some may have them all though.

		A typical config would then look like;
		define service{
		        use                             generic-service

		        hostgroup_name                  london
		        service_description             SMTP
		        is_volatile                     0
		        check_period                    24x7
		        max_check_attempts              3
		        normal_check_interval           3
		        retry_check_interval            1
		        contact_groups                  noc-admins
		        notification_interval           120
		        notification_period             24x7
		        notification_options            w,u,c,r
		        check_command                   check_smtp
		        }

		Is it possible to have an exclude_hosts directive here so
that the  app
		knows not to check smtp on particular servers?
		E.g. 
		exclude_hosts_from_hostgroup
alpha,tango,chilly

		I suppose I could define loads of different host groups, but
does that
		not defeat the purpose?

		Also I have a slight problem with the 3d status map. I read
the docs yes
		but there is not that much info there (perhaps I can help
there) But I
		am having problems getting it to display the dependencies.
Is this
		normal issue (Yes I have defined a dependency as one group
of servers
		who are dependant on a firewall being up which is in turn
dependant on a
		gateway being up) 

		Sorry if these have been asked before but SF was not search
through the
		mail list.

		Thanks in advance

		Yours
		AJ

		P.S. Nagios does rock



		-------------------------------------------------------
		This SF.NET email is sponsored by:
		SourceForge Enterprise Edition + IBM + LinuxWorld =
Something 2 See!
		http://www.vasoftware.com
		_______________________________________________
		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: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en




More information about the Users mailing list