logo       

RE: Problems setting up icons: msg#00421

network.nagios.user

Subject: RE: Problems setting up icons

Did you use my example? Make sure the redhat.jpg exsists. If you use my example do you get the mouse overs, or the url links to http://www.biteme.com (upper right corner)? If not, check the permissions of the hostextinfo.cfg, what version of nagios?

 "Nicholas P. Bernstein" <nickbernstein@xxxxxxxxxxxxx> wrote:

I changed the statusmap_ to statusmap with no results (unfortunately). Also,
no I do not get any alt message.
-----Original Message-----
From: Jon Lyons [mailto:jlyons30@xxxxxxxxx]
Sent: Thursday, January 09, 2003 2:49 PM
To: Nicholas P. Bernstein; Nagios-users@xxxxxxxxxxxxxxxxxxxxx
Subject: RE: [Nagios-users] Problems setting up icons


Does the image info "Red Hat Linux Server" appear when you mouse over host
DA? Is this an underscore?
statusmap_ redhat.jpg ? Sould be a space ...Try;
define hostextinfo{
host_name DA
icon_image redhat.jpg
statusmap_image redhat.jpg
vrml_image redhat.jpg
icon_image_alt Red Hat Linux Server
notes_url http://www.biteme.com
2d_coords 100,250
3d_coords 100.0,50.0,75.0
}




"Nicholas P. Bernstein" wrote:
I didn't see any in the logs, but that makes sen se 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@xxxxxxxxx]
Sent: Thursday, January 09, 2003 1:17 PM
To: Nagios-users@xxxxxxxxxxxxxxxxxxxxx
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" wrote:
I changed it to the full path, but unfortunately it seems to have made no
difference.

-----Original Message-----
From: Jon Lyons [mailto:jlyons30@xxxxxxxxx]
Sent: Thursday, January 09, 2003 12:47 PM
To: Nicholas P. Bernstein; Nagios-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Nagios-users] Problems setting up ico ns


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@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_n! ame 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@xxxxxxxxxxxx |
nickbernstein@xxxxxxxxxxxxx |
| Document Systems Inc. | www.docmagic.com | nickbernstein@xxxxxxxx |

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



-------------------------------------------------------
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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nagios-users


< BR>
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
_______________________________________________
Nagios-users mailing list
Nagios-users@xxxxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise