hostextinfo unavailable to CGIs

Scott Ripley sripley at chiaro.com
Tue Dec 17 19:12:42 CET 2002


All,

I have converted my NetSaint installation to Nagios over the weekend, and
most everything has gone well. I used the FreeBSD port of 1.06b for the
installation, and added the mysql compile options to the Makefile. Most of
the mysql features are working, but I was still having difficulty getting
hostextinfo to the CGIs. So, things like the icons for hosts, external urls
for host info, and statusmap were not working.

I went ahead and converted my hostextinfo to template format, and tried
adding it as an option in the cgi.cfg.
xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg

No luck there either. 

I noticed that I compiled with both:
                --with-template-extinfo \
and
		   --with-mysql-extinfo \

So, I reinstalled without the --with-template-extinfo option. Now I am
getting extended host information on status.cgi and extinfo.cgi, but still
no user-coordinates for the statusmap. I suppose I could go back to the
template based extinfo, but I would like to have this in the database if
possible. Any ideas?

TIA,

Scott.

Here are the options in my makefile:

CONFIGURE_ARGS= --with-command-user=nagios \
                --with-command-grp=nagioscmd \
                --with-nagios-user=nagios \
                --with-nagios-grp=nagios \
                --with-template-objects \
                --with-init-dir=${PREFIX}/etc/rc.d \
                --sbindir=${PREFIX}/share/nagios/cgi-bin \
                --libexecdir=${PREFIX}/libexec/nagios \
                --datadir=${PREFIX}/share/nagios \
                --sysconfdir=${PREFIX}/etc/nagios \
                --localstatedir=${PREFIX}/var/nagios \
                --prefix=${PREFIX} \
                --with-mysql-xdata \
                --with-mysql-status \
                --with-mysql-comments \
                --with-mysql-extinfo \
                --with-mysql-retention \
                --with-mysql-downtime \
                --with-mysql-lib=${PREFIX}/lib/mysql \
                --with-mysql-inc=${PREFIX}/include/mysql




-------------- next part --------------
----------------------------------------- (on rchss001)

This e-mail and any files transmitted with it are the property
of Chiaro Networks, Ltd., and may contain confidential and 
privileged material for the sole use of the intended recipient(s)
to whom this e-mail is addressed. If you are not one of the named
recipient(s), or otherwise have reason to believe that you have 
received this message in error, please notify the sender and 
delete all copies from your system.  Any other use, retention, 
dissemination, forwarding, printing or copying of this e-mail is 
strictly prohibited.


---------------------------------------------------------


More information about the Users mailing list