Ralph Angenendt wrote:
Marcelo M. Garcia wrote:
Ralph Angenendt wrote:
Marcelo M. Garcia wrote:
If I comment out this line, the error moves to the next line.
So it looks like the error happens a line *above* that. Check for
missing "'` or ;
All the lines above are comments. This is the first 'executable' line.
Microsoft line ends? What happens when you apply dos2unix on that file?
Hi
I tried dos2unix and the result is the same.
I found another discussion about this, is little bit old (10/2007):
http://fedoraforum.org/forum/showthread.php?t=75932
This answer:
"What I found out was that in the nagios.cfg file, the config files were
defined wrong. By the default install nagios is set to be configured
using the minimal.cfg file, which contains all of the configuration info
into one file instead of breaking it out into separate files like the
manual has you to configure.
So I had to comment out that line and uncomment out the lines for the
individual config files that the install manual has you to configure
(contactgroups.cfg, contacts.cfg, hostgroups.cfg, etc.)"
made me think that could be a conflict between the nagios commands
(commands.cfg) and the plugin commands (command-plugins.cfg), since both
define "check_tcp" and maybe other commands as well.
Thanks
Marcelo
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users