Statusmap error
Jayson Kliger
jayson at sonictrading.com
Thu Jan 30 17:02:21 CET 2003
In an effort to trouble shoot the previous problem I was having with the
statusmap not displaying any images, (but all of the other cgi's except
for the status summary cgi, no icons on that as well are showing the
correct png or gif or jpg when I play around with the hostextinfo.cfg).I
built another test machine, thinking that the problem might have been in
the configuration of the gd-lib's, but now with this new machine, no
Icons are being displayed anywhere, I have set it up identically to my
first machine, I have made sure that the hostextinfo.cfg is in place,
and that the
xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg was added
to the bottom of the cgi.cfg, all of my permissionigs look correct, but
obviously I am missing something. I would appear as though Nagios is not
reading he hostextinfo.cfg, I have verified the images are in
/usr/local/nagios/share/images/logos and the permissions are set..any
other hints as to what might be causing me these troubles? Thanks again
On Wed, 2003-01-22 at 21:31, Steve Bonds wrote:
> On 22 Jan 2003, Jayson Kliger jayson-at-sonictrading.com |Nagios| wrote:
>
> > I was just going by the recommendations to use gd2 to save cpu time,
> > but I would think that its not necessary, I edited my hostextinfo.cfg
> > file to change the statusmap imaged to png..reload/restart still no
> > go..? I have confirmed that the
> > physical_html_path=/usr/local/nagios/share/images/logos.. and the
> > images are there....
>
> If the base PNG images don't work, then you have some problems that are
> not directly related to GD. Look over your templates closely and follow
> the chain of references starting at your nagios.cfg file to ensure that
> everything is where you think it is.
>
> I had several problems related to me changing a config file that wasn't
> even referenced anywhere. ("Now why didn't that change
> anything? *scratches head*"). As was already suggested, look close for
> typos. Try reducing the extended host info to its bare minimum.
>
> In particular verify:
> cgi.cfg:
> should have the line
> "xedtemplate_config_file=/etc/nagios/hostextinfo.cfg" or something
> similar
>
> hostextinfo.cfg:
> Simplify this file so it only has one entry similar to:
> define hostextinfo{
> host_name testhost
> icon_image testhost.png
> icon_image_alt testhost image
> statusmap_image testhost.png
> }
>
> You should not have to reload Nagios to see the change-- just reload the
> CGI in your browser.
>
> I doubt your problems are GD related if the PNG files won't display
> either.
>
> -- Steve
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Scholarships for Techies!
> Can't afford IT training? All 2003 ictp students receive scholarships.
> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
> www.ictp.com/training/sourceforge.asp
> _______________________________________________
> 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:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
More information about the Users
mailing list