Hi All,
I've got an insane problem that is driving me crazy and there doesn't
seem to be any logical reason for it. I've attached the pertinent
information concerning the insanity. I'd really appreciate it if someone
could help make sense of this nonsense.
thanks,
Mark
:::::::::::::::: STUPID FRIGGIN INSANE ERROR ::::::::::::::::::
Error resulting when performing pre-flight check on Nagios configuration:
----------
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
Error: Template 'windows-desktop' specified in host definition could not
be not found (config file '/etc/nagios/objects/kfsi/kfsi-hosts.cfg', starting
on line 181)
***> 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 regarding the config files, as well as the
'Whats New' section to find out what has changed.
::::::::::::::: NAGIOS CONFIGURATION STRUCTURE :::::::::::::::
DIRECTORY STRUCTURE
-------------------
/etc/nagios/:
cgi.cfg global nagios.cfg ndomod.cfg nsca.cfg
resource.cfg
command-plugins.cfg htpasswd.users ndo2db.cfg nrpe.cfg objects
send_nsca.cfg
/etc/nagios/global:
commands contacts templates
/etc/nagios/global/commands:
commands.cfg
/etc/nagios/global/contacts:
contactgroups.cfg contacts.cfg
/etc/nagios/global/templates:
templates.cfg timeperiods.cfg
/etc/nagios/objects:
fma kfsi
/etc/nagios/objects/fma:
fma-contactgroups.cfg fmaexch01-services.cfg fma-hostgroups.cfg fma-hosts.cfg
/etc/nagios/objects/kfsi:
application-services.cfg frank-home-services.cfg kfsi-hostgroups.cfg
printer.cfg.old tax1.cfg
carol.cfg frankkelly.cfg kfsi-hosts.cfg
sandbox-service.cfg windows.cfg.old
citrix1-services.cfg karen.cfg.old markweaver-pc.cfg
servicegroups.cfg.old xerox2.cfg
citrix2-services.cfg kelly-pdc-services.cfg mxgw-services.cfg
switch.cfg.old
::::::::::::::::::::: NAGIOS CONFIG FILE (excerpt) :::::::::::::::::::::
##############################################################################
#
# NAGIOS.CFG - Sample Main Config File for Nagios 3.0.6
#
# Read the documentation for more information on this configuration
# file. I've provided some comments here, but things may not be so
# clear without further explanation.
#
# Last Modified: 10-15-2008
#
##############################################################################
# LOG FILE
# This is the main log file where service and host events are logged
# for historical purposes. This should be the first option specified
# in the config file!!!
log_file=/var/log/nagios/nagios.log
# OBJECT CONFIGURATION FILE(S)
# These are the object configuration files in which you define hosts,
# host groups, contacts, contact groups, services, etc.
# You can split your object definitions across several config files
# if you wish (as shown below), or keep them all in a single config file.
# Local and remote network definitions
# Multiple site setup
# -------------------------------------
cfg_dir=/etc/nagios/objects/kfsi
#cfg_dir=/etc/nagios/objects/fma
#cfg_dir=/etc/nagios/objects/pshare
#cfg_dir=/etc/nagios/objects/kingcpa
#cfg_dir=/etc/nagios/global
#cfg_dir=/etc/nagios/printers
#cfg_dir=/etc/nagios/switches
#cfg_dir=/etc/nagios/routers
# Global commands, contacts, and template configs
# -----------------------------------------------
cfg_file=/etc/nagios/global/commands/commands.cfg
cfg_file=/etc/nagios/global/contacts/contacts.cfg
cfg_file=/etc/nagios/global/templates/timeperiods.cfg
cfg_file=/etc/nagios/global/templates/templates.cfg
...------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Nagios-users mailing list
[email protected]
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