Getting the icons to work on the Map
Kaplan, Andrew H.
AHKAPLAN at PARTNERS.ORG
Thu Oct 17 18:37:32 CEST 2002
Hi John,
I followed your instructions, but I am not getting any icons on the map
display. I'm enclosing the cgi, hostextinfo and xedtemplate files for your
perusal. Thanks.
-----Original Message-----
From: Jon Lyons [mailto:jlyons30 at yahoo.com]
Sent: Wednesday, October 16, 2002 4:42 PM
To: Nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Getting the icons to work on the Map
No just change the path statement to whatever you path is to
hostextinfo.cfg..I'm using FreeBSD 4.2 so the paths are all funky... :)
"Kaplan, Andrew H." <AHKAPLAN at PARTNERS.ORG> wrote:
Thanks for the update Jon. As far as the file locations are concerned, my
machine does not have a nagios directory or the hostextinfo.cfg and
serviceextinfo.cfg
files under /usr/local/etc. Can the directory be made via the mkdir command
and the files created via the touch command or is there something else I
need to do?
-----Original Message-----
From: Jon Lyons [mailto:jlyons30 at yahoo.com]
Sent: Wednesday, October 16, 2002 4:32 PM
To: Kaplan, Andrew H.
Cc: Subject: RE: [Nagios-users] Getting the icons to work on the Map
Sorry, it's in the cfg.cgi file, I've been doing 3-d coordinates(100+ to
go..ugh!) all day and my brain is mush.
"Kaplan, Andrew H." <AHKAPLAN at PARTNERS.ORG> wrote:
Jon,
Did you mean the cgi.cfg file as opposed to the cfg.cgi file? I have the
former, but not the latter file.
-----Original Message-----
From: Jon Lyons [mailto:jlyons30 at yahoo.com]
Sent: Wednesday, October 16, 2002 4:08 PM
To: Kaplan, Andrew H.
Cc: 'Nagios-users at lists.sourceforge.net'
Subject: RE: [Nagios-users] Getting the icons to work on the Map
I have in my cfg.cgi file;
nagios.cfg:xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg
nagios.cfg:xedtemplate_config_file=/usr/local/etc/nagios/serviceextinfo.cfg
and in hostextinfo.cfg I use templates since I have lots of devices...
define hostextinfo{
name baystack450
icon_image baystack450.jpg
icon_image_alt Bay Stack 450
notes_url http://www.ebay.com <http://www.ebay.com/>
vrml_image baystack450.jpg
statusmap_image baystack450.jpg
gd2_image baystack450.jpg
register 0 ; DO NOT REGISTER
THIS
}
define hostextinfo{
use baystack450
host_name 1b6-n-qnetsw01
2d_coords 0,150 ; 2-D drawing
coordinate
3d_coords 20.0,7.0,0.0 ; 3-D drawing
coordinates
}
"Kaplan, Andrew H." <AHKAPLAN at PARTNERS.ORG> wrote:
No, I didn't. I went to the cgi.cfg file and added the hostextinfo and
xedtemplate lines to the EXTENDED HOST INFORMATION section. I then used
the TOUCH command to create the xedtemplate.cfg file, and then edited the
file to include three servers within it. I'm including a copy of the file
with the
email.
-----Original Message-----
From: Jon Lyons [mailto:jlyons30 at yahoo.com]
Sent: Wednesday, October 16, 2002 3:37 PM
To: Kaplan, Andrew H.
Cc: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Getting the icons to work on the Map
Did you add each of the hosts to the hostextinfo.cfg file?
"Kaplan, Andrew H." <AHKAPLAN at PARTNERS.ORG> wrote:
Hi there,
I have downloaded the icons and installed them in the appropriate directory.
The
first machine being monitored has an icon associated with it,
but the remaining machines continue to show the question marks. Has anyone
else
had this problem?
-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
_____
Do you Yahoo!?
Faith Hill <http://faith.yahoo.com/> - Exclusive Performances, Videos, &
more
faith.yahoo.com <http://faith.yahoo.com/>
From: root [root at ahk]
Sent: Wednesday, October 16, 2002 11:47 AM
To: Kaplan, Andrew H.
define hostextinfo{
host_name
icon_image linux40.png
icon_image_alt Linux
vrml_image linux40.png
statusmap_image linux40.gd2
2d_coords 200,19
}
define hostexinfo{
host_name
icon_image win40.png
icon_image_alt Windows
vrml_image win40.png
statusmap_image win40.gd2
2d_coords 200,18
}
define hostexinfo{
host_name
icon_image linux40.png
icon_image_alt Linux
vrml_image linux40.png
statusmap_image linux40.gd2
2d_coords 200,17
}
_____
Do you Yahoo!?
Faith Hill <http://faith.yahoo.com/> - Exclusive Performances, Videos, &
more
faith.yahoo.com <http://faith.yahoo.com/>
_____
Do you Yahoo!?
Faith Hill <http://faith.yahoo.com/> - Exclusive Performances, Videos, &
more
faith.yahoo.com <http://faith.yahoo.com/>
_____
Do you Yahoo!?
Faith Hill <http://faith.yahoo.com> - Exclusive Performances, Videos, &
more
faith.yahoo.com <http://faith.yahoo.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021017/c439501d/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cgi.cfg.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021017/c439501d/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hostextinfo.cfg.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021017/c439501d/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xedtemplate.cfg.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021017/c439501d/attachment-0002.txt>
More information about the Users
mailing list