Nagios 1.0 new installation - question regarding checkcommands.cfg

Pascal Miquet p.miquet at hafiba.fr
Fri Nov 29 14:15:15 CET 2002


Well,

It seems clear that your file "/usr/local/nagios/etc/checkcommands.cfg"
has something BAD on line 29.
I would suggest to have a look at this file.
And as it is your first installation, to solve all problems according to
nagios configuration, you may try the command line
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
According to your configuration, you may have another PATH to nagios
software.

HTH
Regards.


Le ven 29/11/2002 à 13:33, Markus Linke a écrit :

    Hi,
    
    I am trying a new installation of nagios and I have some trouble starting nagios.
    
    I cannot start it, because I always get this error message:
    
    [11-29-2002 13:10:57] Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=1592)
    [11-29-2002 13:10:57] Nagios 1.0 starting... (PID=1592)
    [11-29-2002 13:10:57] Error: Unexpected token or statement in file '/usr/local/nagios/etc/checkcommands.cfg' on line 29.
    [11-29-2002 13:05:17] Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=1515)
    [11-29-2002 13:05:17] Nagios 1.0 starting... (PID=1515)
    [11-29-2002 13:05:17] Error: Unexpected token or statement in file '/usr/local/nagios/etc/checkcommands.cfg' on line 29.
    
    this happens with whatever command I define there. It always happens in the first "command[xyz]"-line. Attached you find that checkcommand-file. It comes from the latest plugins, but the error also occurs with the release-plugins. Nagios is version 1.0
    
    Any ideas?
    
    THANKS
    Markus
    
    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021129/c9dd369d/attachment.html>


More information about the Users mailing list