Invalid object definition type hostextinfo
James R. Marcus
jmarcus at mvalent.com
Sun Feb 12 05:16:57 CET 2006
In order to get this to work I had to make two changes:
I had used xodtemplate_config_file, I needed to use xedtempate_config_file. This configuration entry needed to be in cgi.cfg not in nagios.cfg.
Thanks Allan.
Hope this helps someone.
James
________________________________
From: nagios-users-admin at lists.sourceforge.net on behalf of James R. Marcus
Sent: Sat 2/11/2006 11:27 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Invalid object definition type hostextinfo
I have been reading the list trying to figure out how to get hostextinfo working. I'm running 1.3 and I have read on the list that I need to load the file using:
calpurnia nagios # grep hostext nagios.cfg
xodtemplate_config_file=/etc/nagios/hostextinfo.cfg
calpurnia nagios # cat hostextinfo.cfg
define hostextinfo{
host_name harper
notes_url https://harper.domain.com <https://harper.domain.com>
icon_image gentoo.png
icon_image_alt Gentoo 2005.0
vrml_image gentoo.png
statusmap_image gentoo.gd2
2d_coords 100,250
3d_coords 100.0,50.0,75.0
}
calpurnia nagios # /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg
Nagios 1.3
Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org <mailto:nagios at nagios.org> )
Last Modified: 11-17-2005
License: GPL
Reading configuration data...
Error: Invalid object definition type 'hostextinfo' in file '/etc/nagios/hostextinfo.cfg' on line 1.
Any thoughts?
Thanks,
James
P.S. If this doesn't come in plain text, I couldn't figure out how to set it in OWA
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
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
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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