Marcel Mitsuto Fucatu Sugano wrote:
On Mon, 2005-11-07 at 16:01 +0530, ankush grover wrote:
Error: Unexpected token or statement in file
'/etc/nagios/command-plugins.cfg' o n line 33.
So, all you need is to read the fmanual, as Andreas kindly suggests.
BUT, i am feeling benevolent, having had a nice piece of ass last night,
i will tell you the error.
I am guessing here, but... You are upgrading from nagios 1.X, right?
So, first you should read the CHANGELOG, or upgrading guidelines.
To short you the hard working reading, i can tell a bit more, it's on
MACROS that you should pay attention.
No it's not. The single-line configuration style syntax went out when
2.0 went in, so
command[check_something]=/path/to/some/plugin --option --option
doesn't work any more.
--
Andreas Ericsson [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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