AW: Problem in configuring the Nagios
Thomas.Zimmer at oppenheim.de
Thomas.Zimmer at oppenheim.de
Tue Nov 22 16:08:11 CET 2005
Perhaps you shold read the nagios docs and configure nagios correctly,
before at least starting it with
'...bin/nagios -d ...etc/nagios.cfg'
The 'minimal' -configuration only shows how to configure nagios by example,
you still have to set up the example-config files to get nagios working.
Calculate some time to get an idea of how nagios is configured and how it
runs. It wil NOT run "out-of-the-box"!!
For your specific problem, it seems that the command is configured
multiple, maybe you included more than one "check_command.cfg" -file in
"nagios.cfg"?? Or you redefined this command?
Thomas Zimmer
Produktservice & Betrieb
Betrieb & Support
Sal. Oppenheim jr. & Cie., Frankfurt a. Main
Internet: http://www.oppenheim.de <http://www.oppenheim.de/>
E-Mail: thomas.zimmer at oppenheim.de
-----Ursprüngliche Nachricht-----
Von: Mrutyunjaya Dash [mailto:mdash at juniper.net]
Gesendet: Dienstag, 22. November 2005 15:58
An: Zimmer, Thomas (BB) Frankfurt/M.; nagios-users at lists.sourceforge.net
Betreff: RE: [Nagios-users] Problem in configuring the Nagios
Hi,
This is the out put I got when I executed the command
[root at cvtracker nagios]# bin/nagios -v etc/nagios.cfg
Nagios 2.0b4
Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org)
Last Modified: 08-02-2005
License: GPL
Reading configuration data...
Error: Command 'check-host-alive' has already been defined
Error: Could not register command (config file
'/opt/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.
Regards,
_____
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
Thomas.Zimmer at oppenheim.de
Sent: Tuesday, November 22, 2005 8:24 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Problem in configuring the Nagios
I assume you configured Nagios ,and started the process?
Did you verify your config with '..../bin/nagios -v ....etc/nagios.cfg' ?
Greetz.
-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Mrutyunjaya
Dash
Gesendet: Dienstag, 22. November 2005 15:40
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] Problem in configuring the Nagios
Hi Nagios Experts,
I am very much new to nagios, I have just untared, compiled, make and
installed. I would just let you all know how exactly I installed
./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin
--with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios
make all
make install
make install-init
make install-commandmode
make install-config
Now when I trying to access the nagios interface, I am able to navigate to
the nagios main page but the cgi file are not working.
The configuration whatever I have made in apache configuration file for
nagios is like as below.
Alias /nagios /opt/nagios/share
<Directory "/opt/nagios/share">
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
ScriptAlias /nagios/cgi-bin/ "/opt/nagios/sbin/"
<Directory "/opt/nagios/sbin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Please help me to resolve this issue.
Regards,
Mrutyunjaya Dash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051122/40684232/attachment.html>
More information about the Users
mailing list