Problem in configuring the Nagios
Mrutyunjaya Dash
mdash at juniper.net
Tue Nov 22 15:57:41 CET 2005
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/4264cc87/attachment.html>
More information about the Users
mailing list