checkcommands.cfg problems...
Paul Clayton
paul.clayton at intec.co.za
Mon May 5 13:40:37 CEST 2003
I have had this error with the # character. Nagios config files are very
specific about the placement of the # character if you do not want it to
read the config entry.
Make sure that all # characters are in column 1 IE
# my config
# don't want this
# go away
cheers
-----Original Message-----
From: Fredrik Wänglund [mailto:fredrik.wanglund at datavis.se]
Sent: Monday, May 05, 2003 8:30 AM
To: Pablo Medrano
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] checkcommands.cfg problems...
Can you show us your checkcommands.cfg?
/FredrikW
Pablo Medrano wrote:
>Hi !!!
>
>Im sorry !
>I speak little english,
>
>I having problems with nagios.
>
>when I try to run :
>
>nagios -v /etc/nagios/nagios.cfg
>
>...put back the next message :
>
>Error: Unexpected token or statement in file
'/etc/nagios/checkcommands.cfg' on line 43
>
>And replacing or comment that line (#) in file, its the same error with the
next line
>(i.e. "...on line 51" )
>
>I can not understand the real problem.
>
>Im using nagios-1.0 on Debian, and its an unstable package on SID.
>I can generate the checkcommands.cfg automaticaly with the Debian script:
>update-nagios
>this script check the plugins, and convert in correct checkcommands.cfg
format file
>
>I need help !!!
>
>Thanks and regards ! and Im sorry for talking like Tarzan :D
>
>Pablo Medrano
>
>(from Argentina)
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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
*******************************************************************************************
<http://www.intec-telecom-systems.com/>
This e-mail and any attachments are confidential and may also be privileged
and/or copyright material of Independent Technology Systems Limited
(or its affiliated companies). If you are not the intended or authorised recipient
of this email or have received it in error, please delete it immediately and
notify the sender by e-mail. In such a case reading, reproducing, printing or
further dissemination of this e-mail is strictly prohibited and may be unlawful.
Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects.
The opinions expressed in this e-mail and any of the attachments may
be those of the author and are not necessarily those of Independent
Technology Systems Limited.
******************************************************************************************
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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