Nagios Logo Issues
Pete Shelfo
PShelfo at embrex.com
Fri Jul 7 00:09:04 CEST 2006
Acutally the format you sent me is how I have things setup. I tried
typing in the full path as a test but that did not matter. I sent that
test reference to Jim Perrin as an example of what I had tried.
I was looking in the sample configuration files and came across a
statement in nagios.cfg-sample file:
# Extended host/service info definitions are now stored along with
# other object definitions:
#cfg_file=/usr/local/nagios/etc/hostextinfo.cfg
#cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg
Have the image locations changed in the new versions? I tried add the
cfg_file=/usr/local/nagios/etc/hostextinfo.cfg statement to my
nagios.cfg file but nagios did not like the command.
-----Original Message-----
From: Morris, Patrick [mailto:patrick.morris at hp.com]
Sent: Thursday, July 06, 2006 5:32 PM
To: Pete Shelfo
Cc: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Nagios Logo Issues
> -----Original Message-----
> From: Pete Shelfo [mailto:PShelfo at embrex.com]
> Sent: Thursday, July 06, 2006 1:35 PM
> To: Morris, Patrick
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Nagios Logo Issues
>
> Thanks for your response.
>
> I have the images loaded in
> /usr/local/nagios/share/images/logos which is the correct location.
>
> I have tried many different types of images and have even
> downloaded the new image pack so that rules out corruption.
> I have about 15 different images reference and none of them work.
>
> I don't have any broken images to check the URL on. All
> hosts have no graphics similar to a fresh install.
>
> The statusmap.cgi does show a graphic - it is just the
> unknown question mark for every host I have.
>
> A fresh install of Nagios looks this way so I believe the
> Nagios or Apache is not even looking at the graphics - I just
> can't tell why.
Well, that narrows it down considerably. Hadn't figured out 'til now
that you were saying it's not even trying to show your logos.
If that's the case, then it's definitely a Nagios configuration issue.
I just went backed and looked at a previous message you sent Jim Perrin
on this subject, and your icon_image and statusmap_image definitions are
definitely not right. Just use the filename, instead of the entire
path. Assuming Nagios was compiled to use the HTML path you think is
correct, that's all you need.
To use the example you sent:
Incorrect:
define hostextinfo{
host_name servername
icon_image /usr/local/nagios/share/images/logos/win40.gif
statusmap_image /usr/local/nagios/share/images/logos/win40.gd2
}
Correct:
define hostextinfo{
host_name servername
icon_image win40.gif
statusmap_image win40.gd2
}
This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list