cgi.cfg & logo problem
Danny Shurett
dshurett at gahost.com
Wed Sep 18 22:08:02 CEST 2002
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.
>
> Steve
----- Original Message -----
From: "Carroll, Jim P [Contractor]" <jcarro10 at sprintspectrum.com>
To: <nagios-users at lists.sourceforge.net>
Sent: Wednesday, September 18, 2002 3:59 PM
Subject: RE: [Nagios-users] cgi.cfg & logo problem
> >From the Nagios documentation on Object Configuration Data:
>
> [quote]
> Default (old) method - This is the old style of configuring objects and is
> provided for backward compatabilty. I do not recommend using this method
for
> storing object definitions.
>
> Template-based method - This is the new style of configuring object
> definitions that is flexible and easy to understand. You can use templates
> to define entries for multiple hosts, services, etc quickly and easily.
> [end quote]
>
> It's been discussed before that you should use the template-based method.
> You may find that once you've rewritten your config files (the extended
host
> info in particular) to use the template-based methodology, that your
> problems will be resolved.
>
> jc
>
> > -----Original Message-----
> > From: Danny Shurett [mailto:dshurett at gahost.com]
> > Sent: Wednesday, September 18, 2002 1:58 PM
> > To: Bruhin Gregor; nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] cgi.cfg & logo problem
> >
> >
> > If someone provides a resolution on this, I am having the same problem
> > ----- Original Message -----
> > From: "Bruhin Gregor" <gbruhin at vianetworks.ch>
> > To: <nagios-users at lists.sourceforge.net>
> > Sent: Wednesday, September 18, 2002 3:09 AM
> > Subject: [Nagios-users] cgi.cfg & logo problem
> >
> >
> > >
> > > Hi everybody,
> > >
> > > I am really happy with nagios, this is really a cool piece
> > of software !
> > >
> > > I have a problem with the pictures, I alwas get the unknown
> > logo for all
> > my
> > > hosts …
> > > I have gd2 and all the libraries I need, my
> > > /usr/local/nagios/share/images/logos folder contains my
> > logos for example
> > > the sample redhat logos
> > > In the cgi.cfg I have:
> > > hostextinfo[webci]=/;redhat.gif;redhat.jpg;redhat.gd2;Red Hat 7.3;;;
> > > Why doesn’t it work ???
> > >
> > > I tried to change webci my defined hostname in hosts.cfg and put
> > > blahblahblah a host which does not exist (in cgi.cfg file)
> > and I got no
> > > warning nor error when running nagios –v
> > > I tried to debug it myself, and read a few lines in the
> > sources but could
> > > not find the problem …
> > >
> > > Please help me ☺
> > >
> > > Thanks Greg
> > >
> > >
> > > -------------------------------------------------------
> > > 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
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > >
> >
> >
> >
> >
> > -------------------------------------------------------
> > 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
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
>
>
> -------------------------------------------------------
> 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
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
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