hostextinfo : icons for hostgroups
Andreas Ericsson
ae at op5.se
Thu Sep 23 10:53:21 CEST 2004
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
> }
>
Try host_name * if you only have sun.
For Nagios 1.x, this info goes in extinfo_config_file (or something like
that) that are included from cgi.cfg. For Nagios 2.0, it goes in the
object files (included as cfg_file from nagios.cfg). I know you can set
hostgroups in Nagios 2.0 at least.
> 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
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
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