hostextinfo : icons for hostgroups

Martinus Nel martinus.nel at scarceskills.com
Thu Sep 23 10:57:18 CEST 2004


Frederik,

You could write a quick script that pulls the host name out of the hosts.cfg file 
and create the hostextinfo.cfg for you.


Frederik Vanhee wrote:
> Hallo,
> 
> I'm setting up hostextinfo. (template based)
> Now I'm wondering if I can assign an icon to a hostgroup, eg:
> 
> (hostextinfo.cfg)
> define hostextinfo{
> hostgroup_name        sun-pcs
> icon_image                sun_pc.gif
> statusmap_image       sun_pc.gd2
> }
> 
> Well, it doesn't work apparently.
> I don't want to add 200 items for my 200 hosts, even if I define a template
> 'sun-pc', then I still have to define my 200 hosts with 'use sun-pc'
> Since I only use 'icon_image' and 'statusmap_image'. I'd like to define it
> once for the whole hostgroup.
> 
> Frederik
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> 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
> 

-- 
Martinus Nel
System Administrator
Scarce Skills Ltd.
http://www.scarceskills.com
Tel: +44 (0) 1633 225461

---------------------------------------------------------------------------
DISCLAIMER
This e-mail message and any attachments are confidential and may also be a
privileged communication. It is intended solely for the person(s) to whom it
is addressed. If you are not the intended addressee of the message you must
take no action based on it. Please reply to this message to let us know you
received it in error and also delete the message from your system.
Internet e-mails are not necessarily secure and you should be mindful of
this when e-mailing us.

The contents of an attachment to this e-mail may contain software viruses
which could damage your own computer system. Whilst we have taken every
reasonable precaution to minimise this risk, we cannot accept liability for
any damage which you sustain as a result of software viruses. You should
carry out your own virus checks before opening the attachment.
---------------------------------------------------------------------------



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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