Nagios 2.5
Andy Shellam
andy.shellam-lists at mailnetwork.co.uk
Tue Sep 5 13:31:08 CEST 2006
Error: Command 'check-host-alive' has already been defined
It's exactly what it says, the command "check-host-alive" has either
been defined twice in the same configuration file, or it's defined in 2
config files.
What are the settings for "object configuration files" in your
nagios.cfg (the top section, directives called cfg_file and cfg_dir?)
It sounds like you've got the same file included twice, or you've
written your own object configuration and not commented out the
minimal.cfg file.
Andy.
Kaushal Shriyan wrote:
> Hi All
>
> I did followed http://nagios.sourceforge.net/docs/2_0/configmain.html and
> did configured nagios.cfg step by step by following the URL
>
> [root at e ~]# nagios -v /etc/nagios/nagios.cfg
>
> Nagios 2.5
> Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
> Last Modified: 07-13-2006
> License: GPL
>
> Reading configuration data...
>
> Error: Command 'check-host-alive' has already been defined
> Error: Could not register command (config file
> '/etc/nagios/minimal.cfg', starti
> ng 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.
>
> [root at e ~]#
>
> Thanks and Regards
>
> Kaushal
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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
>
> !DSPAM:37,44fd5e1f143291463517754!
>
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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