Excluding Hosts from group Service Checks and 3D Status Map Dependency

AJ McKee aj.mckee at nmtbmedia.com
Sun Jan 12 06:57:37 CET 2003


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




More information about the Users mailing list