I use Nagios 2.5 for the infos.

> > define hostgroup{
> >        hostgroup_name          TOUTESLESMACHINES
> >        alias                   TOUTESLESMACHINES
> >        members                 *
> >        }
> >
> > But it does not work. Someone has find a trick for that?

<All your hosts are not in the TOUTESLESMACHINES hostgroup or the logo
<below doesn't appear? I would expect this to work. I'm not aware of this
<ever _not_ working.

Actually, I get this while testing the files.

[EMAIL PROTECTED] etc]# /usr/local/nagios/bin/nagios -v 
/usr/local/nagios/etc/nagios.cfg

Nagios 2.5
[...]
Reading configuration data...

Error: Could not find any host matching '*'
Error: Could not expand member hosts specified in hostgroup (config file 
'/usr/local/nagios/etc/touteslesmachines.cfg', starting on line 14)

---

After that I have tried to remove the "*" from the illegal host name, but I get 
the same result.

I am actually thinking that this is the wrong direction if I want a custom logo 
that can be clic on to get to a custom url. I could use the action_url, but 
that logo is the red star and can't be change, and besides I already use that 
for something else.

I think I'll hack around :(




---------------------------------------------------
Alexandre Racine - Gardien Virtuel - Sécurité Informatique 
www.gardienvirtuel.com
Montréal, Québec, Canada

>>> "Marc Powell" <[EMAIL PROTECTED]> 2006-11-16 10:58:43 >>>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Hari Sekhon
> Sent: Thursday, November 16, 2006 9:25 AM
> To: nagios-users@lists.sourceforge.net 
> Subject: Re: [Nagios-users] All hosts template trick not working
> 
> That is a link for the version 2.0 documentation. Are you sure you are
> not using version 1.4.x? I am using 1.4.1 for example because this is
> the latest stable in my distros package repository...

It would still work. There was nothing new introduced with 2.0 along
these lines.

> 
> Serveur-Faucon Surveillance wrote:
> > Here :
> >
> > http://nagios.sourceforge.net/docs/2_0/templatetricks.html#hostgroup 
> >
> > on the official Nagios documentation, there is a template trick for
> creating a hostgroup that has all hosts.
> >
> > define hostgroup{
> >        hostgroup_name          TOUTESLESMACHINES
> >        alias                   TOUTESLESMACHINES
> >        members                 *
> >        }
> >
> > But it does not work. Someone has find a trick for that?

All your hosts are not in the TOUTESLESMACHINES hostgroup or the logo
below doesn't appear? I would expect this to work. I'm not aware of this
ever _not_ working.

> > The idear is to have the PNP graphs
> (http://www.ederdrom.de/doku.php/nagios/pnp_en) logo beside every
hosts.

Adding a host to a hostgroup doesn't add any icons/logos ever. I've not
used PNP but the docs show that you need a serviceextinfo{} definition.
That's what causes the display of the icon. Do you have those
definitions?

--
Marc


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV 
_______________________________________________
Nagios-users mailing list
Nagios-users@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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to