Nagios-1.2, images and frustration...
Holger Wirtz
wirtz at dfn.de
Wed Nov 3 10:49:46 CET 2004
Hi all,
first of all: Thanx for your help - now it works!
What I have done:
It seems so that I had used a very strange sourcecode... perhaps an older
CVS version. After getting and installing the version 1.2 and checking
all the configs again it worked!
For all who have the same problems as I had here are some hints:
- Configure your nagios with the option "--with-template-extinfo". I
used:
./configure --with-template-objects --with-template-extinfo
- Put into your cgi.cfg only ONE xedtemplate_config_file line. I had put
it right after the line for main_config_file:
#Only first file is parsed, so we put everything in one file!
xedtemplate_config_file=/usr/local/nagios/etc/extinfo.cfg
In this file you have to put all your hostextinfo and serviceextinfo
configuration.
- Take a look at your directory for the logos (with the above
./configure your logos should be found in
/usr/local/nagios/share/images/logos
Take a look at the owners and permissions. For my installationall logos
have the owner nagios.nagios and the permission 644.
If you want more logos get them from
http://www.nagios.org/download/extras.php
- And now an example for an entry in hostextinfo.cfg:
define hostextinfo {
host_name foo,bar,bla,fasel
notes_url http://localhost/munin
icon_image debian.jpg
statusmap_image debian.gd2
icon_image_alt Linux-Workstation
2d_coords 235,830
}
For the statusmap you need the *.gd2 icons!
I hope thats all and the next one who has problems can get this running
faster than I :-)
Holger
--
##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40
## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70
## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de
## ## ## ## ### 10963 Berlin
##### ## ## ## GERMANY WWW : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list