Please Help!! error on verify main config file

John R. Daily jdaily at apparatus.net
Wed Aug 2 03:13:25 CEST 2006


There is a command named 'check_local_disk' that has been defined  
twice: once in minimal.config (at line 92?), the other is somewhere  
else in the files specified in nagios.cfg.

Nagios doesn't know which one you prefer, so it won't accept the  
current configuration.

-John


On Aug 1, 2006, at 9:06 PM, Arief Iqbal wrote:

> can somebody tell me why this is happen when i verifying the main  
> configuration file with command: /usr/local/nagios/bin/nagios -v / 
> usr/local/nagios/etc/nagios.cfg
>
> the error is like this:
>
> 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_local_disk' has already been defined
> Error: Could not register command (config file '/usr/local/nagios/ 
> etc/minimal.cfg', starting on line 92)
>
> ***> 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.
>
>
> please help me, thanks
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys -- and earn  
> cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV________________________________ 
> _______________
> 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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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