Services per hostgroups

Igor Kurtovic igor.kurtovic at qsc.de
Tue Sep 23 11:19:42 CEST 2003


Howdy,

all you need is this:

hostgroup_name  yourhstgroup instead of
host_name yourhost

and there you go

Regards, Igor

On Tue, 2003-09-23 at 01:35, Mark Arnold wrote:

> Hi,
> 
> I just installed Nagios for the first ime and I am impressed!
> 
> But I am missing one thing:
> A service can be defined per host - the sample file shows about 20 or even more different hosts (servers, printers, routers, etc).
> Now for each of these hosts, there is the same ping service defined over and over again...
> This seems like a huge pain to maintain... Even if it is possible to use only one with a list of hostnames like
> 
>     hostname linux_box1,linuxbox2
> 
> (I dont know if this works or not) it would still be rather complex to maintain this for a big number of servers.
> 
> Isn't it possible to use hostgroups instead? What else are the hostgroups for, if not for this?
> So there would be one ping service setup for
> 
>     hostgroup all_nodes
> 
> and a hostgroup "all_nodes" would be configured accordingly. SMTP and POP could be configured for "all_mailservers", etc...
> 
> I tried to just use a hostgroup name instead of the hostname, but Nagios didn't like that, it said the groupname was not a valid
> host name...
> 
> Is there anything like this already there that I don't know of?
> 
> Thanks,
> 
> MARK
> 
> 
> 
> -------------------------------------------------------
> 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

-- 
********************************

Igor Kurtovic
Technische Systemlösungen
QSC AG

Phone:   +49 221 6698 404
Mobile:  +49 163 6698 075
Fax:     +49 221 6698 469
WWW:     www.q-dsl.de
Email:   igor.kurtovic at qsc.de

********************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030923/25d8ac06/attachment.html>


More information about the Users mailing list