Nagios CONFIG ERROR!

Kaushal Shriyan kaushalshriyan at gmail.com
Wed Jul 12 09:02:27 CEST 2006


On 7/12/06, Ray La Peyre <ray.lapeyre at itng.com.au> wrote:
> Try running this command to see where the error in your configuration is
>
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>
>
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kaushal
> Shriyan
> Sent: Wednesday, 12 July 2006 4:20 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios CONFIG ERROR!
>
> Hi All
>
> I have installed the nagios application and facing some problems while
> starting nagios
>
> [root at bdcworld conf.d]# rpm -qa | grep nagios nagios-2.4-1.el4.rf
> [root at bdcworld conf.d]# service nagios start Starting network monitor:
> nagios CONFIG ERROR!  Start aborted.  Check your Nagios configuration.
> [root at bdcworld conf.d]#
>
> 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
>

Hi ALL

Thanks for the quick turnaround

is it #nagios -v /etc/nagios/nagios.cfg,
the above command says

[root at bdcworld nagios]# nagios -v /etc/nagios/nagios.cfg

Nagios 2.4
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-31-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', 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.

[root at bdcworld nagios]#

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





More information about the Users mailing list