Nagios 2.0b4 wont use hostextinfo.cfg
Andreas Ericsson
ae at op5.se
Tue Aug 23 10:26:34 CEST 2005
Daniel Tuecks wrote:
> Hi
>
> I recently installed the 2.0 version of Nagios. Unfortunally my hostextinfo.cfg file isn't used by nagios anymore... I configured Nagios as shown below:
>
> ./configure \
> --prefix=/usr/sbin/ \
> --datadir=/usr/share/nagios \
> --libexecdir=/usr/lib/nagios/plugins \
> --localstatedir=/var/log/nagios \
> --sbindir=/usr/lib/nagios/cgi \
> --sysconfdir=/etc/nagios \
> --with-cgiurl=/nagios/cgi-bin \
> --with-gd-lib=/lib \
> --with-gd-inc=/usr/include \
> --with-htmlurl=/nagios \
> --with-lockfile=/var/log/nagios/run/nagios.pid \
> --with-mail=/bin/mail \
> --with-nagios-user=daemon \
> --with-nagios-group=daemon \
> --with-command-user=nobody \
> --with-command-grp=www \
> --with-perlcache \
> --with-template-objects \
> --with-template-extinfo \
> --enable-event-broker
>
>
>
> I have a hostextinfo.cfg file located in /etc/nagios/hostextinfo.cfg
>
> My cgi.cfg has an entry
>
> xedtemplate_config_file=/etc/nagios/hostextinfo.cfg
>
>
>
> And the hostextinfo.cfg looks like this:
>
> define hostextinfo{
> host_name SR_PROCURVE_2848_1
> notes Backbone HP Procurve 2848
> icon_image switch40.png
> icon_image_alt HP Procurve 2848
> vrml_image switch40.png
> statusmap_image switch40.gd2
> }
>
>
> How do I get my hostextinfo back to work?
>
RTFM. Especially the "What's new" section from the 2.0 docs. It's really
a must when upgrading major versions (the first digit of the version
number changes, i.e. 1.2 to 2.0). Perhaps you'll learn to do so from now on.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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