Bug? Was: "Re: cgi.cfg & logo problem"
Ethan Galstad
nagios at nagios.org
Wed Sep 18 04:22:51 CEST 2002
On 18 Sep 2002 at 18:27, C. Bensend wrote:
>
> On Wed, 18 Sep 2002, Danny Shurett wrote:
>
> > Found this and it solved my problem:
> >
> > > >>> "Steve Loughran" <stevelml1 at sc...> 07/19/02 04:09PM >>>
> > > in cgi.cfg, i removed all references to
> > >
> > > hostextinfo[whatever]=......
> > >
> > > and added:
> > >
> > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg
> > >
> > > then in that file specified above, i added my host extended info details:
> > >
> > > define hostextinfo {
> > > host_name host1
> > > icon_image workstation.png
> > > statusmap_image workstation.png
> > > }
> > >
> > > <etc>
> > >
> > > BTW i couldnt get GIFs or JPGs to work with this (1.03b), only PNG files.
>
> I too had been wrestling with this, and it fixed my installation.
>
> HOWEVER: Something that might be noted for the next release, is
> the following:
>
> I accidentally added the "xedtemplate_config_file=" line to the
> nagios.cfg file (brainfart). It did not complain when I did a
> preflight check, but it also did not work. It _does_ work when
> that line is added to cgi.cfg.
>
> I personally would consider this a minor bug - if it's not going
> to work in nagios.cfg, I think it would be useful to complain
> about it during preflight check. It would have saved me a few
> minutes of head-scratching, anyway. :)
>
> If the developers don't see things this way, that's fine too.
> I have no right to "demand" anything. :)
>
> Benny
Any directive that starts with an 'x' is ignored by the core process
right now. I'll add a warning message for this in 2.0.
Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
More information about the Users
mailing list