<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.8">
</HEAD>
<BODY>
Howdy,<BR>
<BR>
all you need is this:<BR>
<BR>
hostgroup_name  yourhstgroup instead of<BR>
host_name yourhost<BR>
<BR>
and there you go<BR>
<BR>
Regards, Igor<BR>
<BR>
On Tue, 2003-09-23 at 01:35, Mark Arnold wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>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.</FONT>
<A HREF="http://thinkgeek.com/sf"><U>http://thinkgeek.com/sf</U></A>
<FONT COLOR="#737373">_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net</FONT>
<A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users"><U>https://lists.sourceforge.net/lists/listinfo/nagios-users</U></A>
<FONT COLOR="#737373">::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</I></FONT></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>-- 
********************************

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@qsc.de

********************************</PRE>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>