[RESOLVED] Unable to verify config - no line number given for error

Samuel Kidman Samuel.Kidman at panres.com
Fri Aug 26 03:02:10 CEST 2011


There were some syntax errors in one of the cfg files. I picked it up by
diffing with a previous known working version. Strange that it didn't
show any line number for the error though.

-----Original Message-----
From: Chris Beattie [mailto:cbeattie at geninfo.com] 
Sent: Wednesday, 24 August 2011 5:21 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Unable to verify config - no line number
given for error

Samuel Kidman wrote:
> 
> prl at PR-PRO-CR-NAG02:~/host-config/finished-lists$ sudo 
> /usr/local/nagios/bin/nagios -v 
> /usr/local/nagios/etc/nagios-master-test.cfg
> 
> 
>    Error processing object config files!

I have a hunch the problem's in nagios-master-test.cfg.  Do you have a
backup of that file from before the last time you modified it, or have a
known-good "nagios-master.cfg" file you can compare it to? Or the
example bone-stock nagios.cfg?

You're using a newer version of Nagios than I am, too.  A while back I
realized I'd been migrating an ancient nagios.cfg for too long.  My old
file contained deprecated settings and was completely missing new
settings, so that might be something else to check for.

--
-Chris

------


Nothing in this message is intended to make or accept an offer or to
form a contract, except that an attachment that is an image of a
contract bearing the signature of an officer of our company may be or
become a contract. This message (including any attachments) is intended
only for the use of the individual or entity to whom it is addressed. It
may contain information that is non-public, proprietary, privileged,
confidential, and exempt from disclosure under applicable law or may
constitute as attorney work product. If you are not the intended
recipient, we hereby notify you that any use, dissemination,
distribution, or copying of this message is strictly prohibited. If you
have received this message in error, please notify us immediately by
telephone and delete this message immediately.

Thank you.


------------------------------------------------------------------------
------
EMC VNX: the world's simplest storage, starting under $10K The only
unified storage solution that offers unified management Up to 160% more
powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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