bug report & feature request: hostextinfo problems
John Arley Burns
johnarleyburns at yahoo.com
Thu Jun 12 03:03:25 CEST 2003
I think what you want to do is put a "hostgroup" entry in your
hostextinfo definition and then setup a "hostgroup" with your host
list. Does hostextinfo support hostgroups? If not, perhaps it should.
Another generic gripe: hostgroups should be inheritable: I should be
able to have a hostgroup of hostgroups ad infinatum. This helps reduce
the size of the config files when I have several hostgroups.
--- Skip Montanaro <skip at pobox.com> wrote:
>
> (I'm running Nagios 1.1 on Mac OS X.)
>
> I'm a brand new Nagios user and like it quite a lot. I have been
> doing a
> bunch of copy/rearrange/paste in Emacs the past few days trying to
> extract
> data from a locally developed system I hope to dispense with and dump
> it
> into Nagios. I have a little feedback for the developers.
>
> Documentation buglet: I went to set up some hostextinfo templates
> today and
> got off in the weeds rather quickly, in part because the commentary
> in the
> cgi.cfg file is incomplete and misleading. There are a couple large
> blocks
> of commented out (old style) hostextinfo and serviceextinfo commands
> and
> descriptions which suggest that file is the place to define external
> info
> templates. In addition, there is no commented out
> xedtemplate_config_file
> directive which refers to a sample hostextinfo.cfg file. Put
> together, the
> naive assumption is that external info templates belong in cgi.cfg.
>
> Feature request: My hostextinfo.cfg file now has a handful of
> templates like
>
> define hostextinfo{
> name winextinfo
>
> icon_image win40.png
> vrml_image win40.png
> statusmap_image win40.gd2
>
> register 0
> }
>
> and a huge number of simple templates like
>
> define hostextinfo{
> use winextinfo
> host_name admsvr
> }
> define hostextinfo{
> use winextinfo
> host_name woodstock
> }
> define hostextinfo{
> use winextinfo
> host_name ad
> }
>
> I would find it much less painful to define all this information if I
> could
> associate a single template with a bunch of hosts like so:
>
> define hostextinfo{
> use winextinfo
> host_names
> admsvr,woodstock,ad,rhodes,cyclops,...
> }
>
> --
> Skip Montanaro
> skip at pobox.com
> http://www.musi-cal.com/
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
More information about the Developers
mailing list