service question and logo

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Feb 27 23:54:56 CET 2003


Dear Ladies and Gentlemen,

On Thu, Feb 27, 2003 at 12:29:14PM -0600, Carroll, Jim P [Contractor] wrote:
> Unfortunately, there's no 'exclusion' feature available as you'd require.
> 
> You'd have to stop using the '*' wildcard, and explicitly lists hosts.
> Better still, use hostgroups.  Here's an example of what I'm using:
> 
> define service{
>         hostgroup_name                  dev-sun,dev-staging
>         use                             ssh
>         contact_groups                  unix-admins
>         }
> 
> HTH.
> 
> jc
> 
> 

I think this a pretty cool demonstration of the power and utility of the 
template configuration (the generic service named 'ssh' defines all of 
the properties required by the _two_ hostgroups).

Surely this replaces a whole bunch of service definition.

Oh-ho, I can feel an irresistible urge to reorganise my entire 
services.cfg ...

Thank you,

Yours sincerely.

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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