config question

Ben Goodwin ben at atomicmatrix.net
Wed Jun 18 19:17:47 CEST 2003


Thanks to all who quickly answered my question RE: monitoring an NT
server; I don't know how I missed the nrpe_nt plugin unless it was
recently added to the nagios site.

In any case, I'm wondering if there's any way to specify an "except xyz"
in the nagios object files, along the lines of

define service{
        use                     generic-service

        hosts                   *,!xyz
        service_description     PING
        check_command           check_ping!100.0,20%!500.0,60%
        }

meaning define ping for all hosts *except* 'xyz'

I'm running into some wooly service definitions where I'd like to monitor,
say, SSH for every host in a hostgroup except one.  Right now it seems I
can get away with specifying

         hostgroup_name          foo,bar
         host_name               a,b,c,d,e

where a,b,c,d,e,f are part of hostgroup_name 'fud', but I can't use
"hostgroup_name foo,bar,fud" since I don't want to monitor the SSH service
on 'f' ...

Are nested hostgroup definitions possible?  That would help alleviate this
problem.

Thanks again,

  -=| Ben





-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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