Antwort: Re: Antwort: Re: Image Problems partly solved

ralf.lebeda at ezi.de ralf.lebeda at ezi.de
Fri Sep 6 07:50:55 CEST 2002


Hi ,

I found the trouble of not displaying the images.

I had all the "cfg-files" in a directory /etc/nagios. Within the files I
put all the paths corresponding to my /etc/nagios directory.
Everything was working but the hostextinfo icons were not displayed and
also the the help icon for onlinehelp wasn't there.

I copied all the "cfg-files" to /usr/local/nagios/etc and changed all the
lines within again.

Since then I get all the icons displayed and the help icon.   Great, great
:-))))))

It seems that the CGI-scripts tried to find the information within
/usr/local/nagios/etc and not in /etc/nagios.
I think I must give the changing "etc" path somewhere at configuration
time, but I don't know where.

Maybe someone does know that??????

Thanks and Rgds
Ralf



                                                                                                              
                    Jamin                                                                                     
                    <jragle at unm.e        An:     ralf.lebeda at ezi.de                                           
                    du>                  Kopie:  nagios-users at lists.sourceforge.net                           
                                         Thema:  Re: Antwort: Re: [Nagios-users] Image Problems               
                    06.09.2002                                                                                
                    04:01                                                                                     
                                                                                                              
                                                                                                              




Hmmm, I would suggest doing the usual things:

  o check the permissions on all your files
  o check the ownership on all your files
  o make sure filenames in the cfg files match the actual files
  o make sure the physical_html_path (in cgi.cfg) is correct
  o ... after that I would try to uncomment the statusmap_image line
    and comment out the gd2_image line. (I don't think gd2_image is
    a valid tag for the extended info.)

http://nagios.sourceforge.net/docs/1_0/xedtemplate.html

Actually if you do the above list in reverse order it might save some
time...  what can I say, I'm sadistic.  =)

On Thu, 5 Sep 2002 ralf.lebeda at ezi.de wrote:

>
> Hi,
>
> I've got them in the mentioned directory, but it's still not working.
>
> Please help
>
>
>
>

>                     Jamin <jragle at unm.edu>

>                     Gesendet von:                         An:
ralf.lebeda at ezi.de
>                     nagios-users-admin at lists.sourc        Kopie:
nagios-users at lists.sourceforge.net
>                     eforge.net                            Thema:  Re:
[Nagios-users] Image Problems
>

>

>                     04.09.2002 23:59

>

>

>
>
>
>
> Ralf, make sure your images are in the /nagios/share/images/logos
> directory.
>
> -Jamin
>
> On Wed, 4 Sep 2002 ralf.lebeda at ezi.de wrote:
>
> > Hi,
> >
> > how could I get the fancy ICONS to work??
> >
> > In CGI.CFG
> > ...
> > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg
> > ....
> >
> > In HOSTEXTINFO.CFG
> > ...
> > define hostextinfo[
> >      host_name rubin
> >      icon_image     linux40.png
> >      icon_image_alt Suse Linux
> >      vrml_image     linux40.png
> > #    statusmap_image     linux40.gd2
> >      gd2_image linux40.gd2
> >      2d_coords 100,250
> >      3d_coords 100.0,50.0,75.0
> > }
> > ....
> >
> > compiled with
> > ./configure --with-template-extinfo --with-gd-lib=/usr/lib
> > --with-gd-inc=/usr/include --with-nagios-user=daemon
> > --with-nagios-grp=daemon --with-default-status --with-default-comments
> > --with-template-objects --with-default-retention
--with-default-perfdata
> > --with-default-downtime --enable-embedded-perl
> >
> > Thanks
> >
> > ---------
> > Ralf Lebeda                                   E-Mail:
ralf.lebeda at ezi.de
> > IT - Administration
> >
> > EZI GmbH                                      URL: WWW.EZI.DE
> > Kreuzgasse 42
> > D-35708 Haiger
> >
> > Tel.: +49 (0)2773-835135
> > Fax: +49 (0)2773-835195
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone?  Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
>
> ----------------------------------------------------------------------
> "The Green Bay Packers never lost a game...they just ran out of time"
>                                               -- Vince Lombardi
> ----------------------------------------------------------------------
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
>

______________________________________________________________________
Procrastination - "Hard work often pays off after time, but laziness
                   always pays off now."
______________________________________________________________________









-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list