Problems setting up icons

Nicholas P. Bernstein nickbernstein at sbcglobal.net
Thu Jan 9 23:19:18 CET 2003


I didn't see any in the logs, but that makes sense to me, since nagios isn't
failing to display *any* icon, it just won't display the ones I specified.
It works fine displaying the "?" icon and the "NAGIOS" icons, so I wouldn't
expect the error to be in apache. BTW, yes, I restarted.
-----Original Message-----
From: Jon Lyons [mailto:jlyons30 at yahoo.com]
Sent: Thursday, January 09, 2003 1:17 PM
To: Nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Problems setting up icons


Tail the http-access and http-error logs, make sure the images are being
found and the permissions are correct.. Did you restart nagios?
 "Nicholas P. Bernstein" <nickbernstein at sbcglobal.net> wrote:
I changed it to the full path, but unfortunately it seems to have made no
difference.

-----Original Message-----
From: Jon Lyons [mailto:jlyons30 at yahoo.com]
Sent: Thursday, January 09, 2003 12:47 PM
To: Nicholas P. Bernstein; Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Problems setting up icons


Path? xedtemplate_config_file=/usr/something/nagios/etc/hostextinfo.cfg
"Nicholas P. Bernstein" wrote:
Any thoughts/help/etc. would be appreciated:
I think I'm doing this pretty much by the book, but am obviously missing
something. The icons are living in /usr/local/nagios/share/images/logos and
I edited the config files as such:


I added the line:
xedtemplate_config_file=hostextinfo.cfg
to cgi.cfg and:
[nick at da3 etc]# cat hostextinfo.cfg
#
# THIS IS THE Extended Information Configuration File
# Basically, you say what Icons you want to use here. :)
#

define hostextinfo{
host_name DA
icon_image redhat.jpg
statusmap_image: redhat.png
icon_image_alt "Red Hat Linux Server"
vrml_image redhat.png
statusmap_ redhat.jpg
2d_coords 100,250
3d_coords 100.0,50.0,75.0
}

and my hosts.cfg:
define host{
use generic-host ; Name of host
template to use

host_name DA
alias DA
address 192.168.210.12
check_command check-host-alive
max_check_attempts 10
notification_interval 480
notification_period 24x7
notification_options d,u,r
}

--

+---------------------------------------------------------------------------
--------+
| Nicholas Bernstein | Work: | Home: |
| UNIX Systems Administrator | nick at docmagic.com |
nickbernstein at sbcglobal.net |
| Document Systems Inc. | www.docmagic.com | nickbernstein at inbox.lv |

+---------------------------------------------------------------------------
--------+



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users




Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now





Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now



-------------------------------------------------------
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