hi,
check your
Error: Could not register command (config file '/opt/nagios/etc/minimal.cfg', starting on line 76)
file minimal.cfg in nagios etc folder on that line.just make it comment and try to configure as like you.
cheers
Thanks & regards
**************************************
Vinay Sharma
Information Systems and Solutions-Associates
Advanex Inc (www.advanex.co.jp)
Fon : 813-3822-5863
Fax : 813-5815-7881
Email : [EMAIL PROTECTED]
"Mrutyunjaya Dash" <[EMAIL PROTECTED]>
送信者: [EMAIL PROTECTED] 2005/11/22 23:57 |
宛先: <[EMAIL PROTECTED]>, <nagios-users@lists.sourceforge.net> cc: 件名: RE: [Nagios-users] Problem in configuring the Nagios |
Hi,
This is the out put I got when I executed the command
[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, November 22, 2005 8:24 PM
To: nagios-users@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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Mrutyunjaya Dash
Gesendet: Dienstag, 22. November 2005 15:40
An: nagios-users@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