nagios cmd error

Sally frogmist at gmail.com
Wed Apr 20 07:54:05 CEST 2005


For the first error, probably you might like to check whether you have
more than 1 definition for check-host-alive.

For the second error, do take note that if you have a template, you
have to add the line "register    0" to the definition.

Hope this helps.


On 4/19/05, Ashish <maillistsmix at gmail.com> wrote:
> hi all,
> 
>                    when I try to run the following command the
> following error occurs:-
> 
> /usr/local/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
> 
> Nagios 2.0b3
> Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
> Last Modified: 04-03-2005
> License: GPL
> 
> Reading configuration data...
> 
> Error: Command 'check-host-alive' has already been defined
> Error: Could not register command (config file
> '/usr/local/nagios/etc/minimal.cfg', starting on line 76)
> 
> ***> One or more problems was encountered while processing the config files...
> 
>     Check your configuration file(s) to ensure that they contain valid
>     directives and data defintions.  If you are upgrading from a previous
>     version of Nagios, you should be aware that some variables/definitions
>     may have been removed or modified in this version.  Make sure to read
>     the HTML documentation regarding the config files, as well as the
>     'Whats New' section to find out what has changed.
> 
>                              Due to this error i am not able to start
> nagios. plz help me what to do...........
> 
> --
> Thanks,
> __________________________________
> Ashish
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. Free runtime info,
> new features, or free trial, at: http://www.businessobjects.com/devxi/728
> _______________________________________________
> 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: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
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