[Nagiosplug-help] status map
Donald A. McCallum
mccallum at nemsys.com
Tue Oct 1 13:16:45 CEST 2002
Pascal,
You need to create a hostextinfo.cfg file, and make sure the nagios.cfg
file points to it.
There should be an entry already pointed in the nagios.cfg but it is
probably commented out ie
#statusmap=/usr/local/nagios/etc/hostextinfo.cfg or similar.
I do not recall, but you may have to download the images as well, but if
so they can be found on the nagios page.
But the hostextinfo.cfg file is the key, it is located in the etc
directory with your other .cfg files.
In your hostextinfo.cfg file, you need something similar to the
following:
define hostextinfo{ #This is the same for all of em
host_name ROUTER #ROUTER is my machine name,
replace for each machine
icon_image linux40.png #linux40.png is the icon file,
change to match whatever you want. This appears when you click on your
host I believe.
icon_image_alt Celeron Linux Router / Firewall
#Celeron Linux Router /
Firewall is the comment line that appears under info
vrml_image linux40.png
#vrml_image is the one
that appears in the 3d map if you have that setup. Change linux40.png
to match what you want
statusmap_image linux40.gd2 #linux40.gd2 is key for the status
map image, this is what actually replaces the ? on the status map.
2d_coords 100,250 #I have not touched either of
these two lines, but I believe it can place the icons exactly where you
want them.
3d_coords 100.0,50.0,75.0 #ie, you could setup a background
image of your floorplan, and place each piece of equipment on it where
it is.
}
define hostextinfo{
host_name FS2
icon_image redhat.png
icon_image_alt Dual PIII 1GIG Redhat Server
vrml_image redhat.png
statusmap_image redhat.gd2
2d_coords 100,250
3d_coords 100.0,50.0,75.0
}
define hostextinfo{
host_name NEM
icon_image win40.png
icon_image_alt Dual PII Compaq Proliant 3000R Windows 2000 /
Exchange 2000
vrml_image win40.png
statusmap_image win40.gd2
2d_coords 100,250
3d_coords 100.0,50.0,75.0
}
Does that help?
-Don
-----Original Message-----
From: Pascal ERCEAU [mailto:perceau at eram.fr]
Sent: Tuesday, October 01, 2002 3:38 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] status map
Hello.
I can't acheive the good workink of icon representation under the
status map.
Everything seem to be well configure, but only ? appears..
Any ideas ?
Pascal
-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
More information about the Help
mailing list