Grouping/services question

Hari Sekhon hpsekhon at googlemail.com
Fri Dec 21 16:38:58 CET 2007


Rui Miguel Silva Seabra wrote:
> Sex, 2007-12-21 Ã s 09:16 -0600, Jim.Melin at co.hennepin.mn.us escreveu:
>   
>> 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.
>>     
>
> The way you formulate your question seems to suggest you use
>
> service {
>  ...
>  hostgroup_name ...
> ...
> }
>
> If you want to keep that method (which IMHO is wise) then I'd say you
> need to have that "ugly" solution.
>
> Rui
>   

Why not just use host_name instead of hostgroup_name to limit the check 
to that one machine which runs Oracle in the Oracle service block?

Looks to me like you're only using hostgroups, you can use hosts too, or 
even negate hosts out of the hostgroup_name definition using 
"host_name   !SomeMachine" in the service block as well as keeping the 
hostgroup_name in that block.

-h

-- 
Hari Sekhon


-------------------------------------------------------------------------
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