Grouping/services question

Jim.Melin at co.hennepin.mn.us Jim.Melin at co.hennepin.mn.us
Fri Dec 21 19:57:22 CET 2007



"Gary Every" <gevery at gmail.com> wrote on 12/21/2007 09:26:30 AM:

> Try this:
> This will execute the service on All unix boxes (hostgroup) that are
> NOT in the Storefront hostgroup AND hosts that are NOT demo, logger,
> snowball, laddie or duffgardens
>
> This allows you to set up global services that just some machines or
> hostgroups won't use.
>
> define service {
>   use                   generic-service
>   name                  RAID
>   hostgroup_name        Unix,!Storefront
>   host_name             !demo,!logger,!snowball,!laddie,!duffgardens
>   service_description   RAID
>   check_command         snmp_sfw_raid!28
>   contact_groups        Unix
> }
>

> On Dec 21, 2007 8:16 AM, <Jim.Melin at co.hennepin.mn.us > wrote:
>
> I have 6 servers that are our development Vignette environment.
>
> Our development people, who have limited Nagios access for servers
> they are concerned with would like to have the 6 development servers
> in a Nagios
> group. Here's the crux of the problem... How do you monitor a
> service on one machine that is not on another machine (such as
> oracle DB Status, or the
> web portal, or the vignette preview) without creating separate
> groups. I really don't want to have 6 groups of one server each but
> I can't see a way
> around it without playing some check_dummy games in NRPE for
> services that don't exists on a particular server but are defined in the group.
>
>
--- snip ---

Ahh. I have not done that because I did not know that was possible. It's one of those things that I have not explored yet.  This will actually help me
simplify the groups that I have now to probable great degree.

Thanks Gary & Everyone else who responded!





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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