Getting hostextinfo to work
Eric B. Lubow
eric at guardiandigital.com
Fri Jan 10 18:31:53 CET 2003
Hello all,
I am trying to get the extended information parts of nagios to work.
However, I have run into a brick wall. I am running nagios on EnGarde 1.2
and everything works except the beautification stuff. Therefore I can
live if it doesn't work, but it would be nice to have.
I attempted to add a hostextinfo definition to the [custom]
hostextinfo.cfg configuration file (which is defined in nagios.cfg).
Since this doesn't work for me, (and I am not sure why it doesn't since it
is in the documentation) I scrapped this idea and went with the template
style.
However, I still get the unknown icon when it displays the statusmap.
I did the build with the '--with-template-extinfo' option to configure. I
have all the necessary libraries installed (png, jpeg, etc). The image
file is the correct place. Nagios doesn't complain about the definitions
in cgi.cfg. I even tried enabling xedtemplate_config_file (which I know
is only for database enabled nagios). I am using the text based
configuartion of nagios. I don't understand why it isn't working.
Please let me know if you need more information to help me solve this
problem. Thanks.
-- <cgi.cfg>
hostextinfo[mastermind]=;engarde.gif;;mastermind;;;;
hostextinfo[outpost]=;engarde.gif;engarde.gif;;outpost;100,50;3.5,2.0,5.5
<snip>
xedtemplate_config_file=/etc/nagios/hostextinfo.cfg
-- <engarde.gif>
[root at mastermind logos]# ls -l
-rw-r--r-- 1 root webd 1373 Dec 13 19:29 engarde.gif
-- <nagios config check error>
Error: Invalid object definition type 'hostextinfo' in file
'/etc/nagios/hostextinfo.cfg' on line 20.
***> One or more problems was encountered while processing the config
files...
-- <hostextinfo statement>
define hostextinfo{
host_name mastermind
notes_url mastermind.html
icon_image engarde.gif
icon_image_alt EnGarde 1.2
2d_coords 100,250
}
--
Eric Lubow
Guardian Digital Inc.
http://www.guardiandigital.com/
-------------------------------------------------------
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