host extended info

Williams, P. Lane Lane.Williams at jhuapl.edu
Thu Jul 10 14:12:42 CEST 2003


I had included the extended host configuration file in the nagios
configuration file.....brain fart.

Lane

-----Original Message-----
From: Williams, P. Lane [mailto:willipl1 at jhuapl.edu]
Sent: Monday, July 07, 2003 8:24 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] host extended info


I am having a mental block.....I have nagios running in production just
fine.  The problem is with my development server.  I recompiled Nagios
and now it will not accept the definition "hostextinfo".  Nagios was
compiled --with-template-extinfo.  I've added the
"xedtemplate_config_file" setting in the cgi.cfg file.  Here is my
hostextinfo settings.......(same as production)......

define hostextinfo{
        host_name        server_name
        notes_url
http://server.site.edu/nodes2.pl?QUERY_STRING=server_name
        icon_image
        statusmap_image
        }


This is what I get when I verify the config.......


    Nagios 1.1
    Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org)
    Last Modified: 06-02-2003
    License: GPL
    
    Reading configuration data...
    
    Error: Invalid object definition type 'hostextinfo' in file
'/usr/local/nagios/etc/HostExtInfo.cfg' on line 1.
    
    
    ***> One or more problems was encountered while processing the config
files...
    
         Check your configuration file(s) to ensure that they contain valid
         directives and data defintions.  If you are upgrading from a
previous
         version of Nagios, you should be aware that some
variables/definitions
         may have been removed or modified in this version.  Make sure to
read
         the HTML documentation on the main and host config files, as well
as the
         'Whats New' section to find out what has changed.


Does anyone know what I am missing?

Thanks for any help,

Lane





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
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 sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
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