Re: [Nagios-users] Problem in configuring the Nagios
Title: Problem in configuring the Nagios I would check the cgi.cfg first. Have you enabled Authentication in the cgi.cfg? grep ^us /usr/local/etc/nagios/cgi.cfguse_authentication=1 Have you assigned authorization access to any user? grep ^auth /usr/local/etc/nagios/cgi.cfgauthorized_for_system_information=opsauthorized_for_configuration_information=opsauthorized_for_system_commands=opsauthorized_for_all_services=opsauthorized_for_all_hosts=opsauthorized_for_all_service_commands=opsauthorized_for_all_host_commands=ops You may need to also set up an Apacge User Name/Passwd using Apache's htaccess binary. Declan. - Original Message - From: Mrutyunjaya Dash To: nagios-users@lists.sourceforge.net Sent: Tuesday, November 22, 2005 2:40 PM Subject: [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 No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.362 / Virus Database: 267.13.5/177 - Release Date: 21/11/2005
Re: [Nagios-users] Problem in configuring the Nagios
Title: Nachricht 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 DashGesendet: Dienstag, 22. November 2005 15:40An: nagios-users@lists.sourceforge.netBetreff: [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
RE: [Nagios-users] Problem in configuring the Nagios
You have two command{} definitions in minimal.cfg named check-host-alive. command_name's must be unique. You can probably just remove the duplicate definition and be OK unless you've modified it in some way. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Lee Ball Sent: Tuesday, November 22, 2005 9:02 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem in configuring the Nagios Mrutyunjaya Dash wrote: 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:nagios-users- [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:nagios- [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 Ahhh, ok that helps. What is the contents of your minimal.cfg file (removing the bits that are confidential). -- Lee Ball 08707 45 87 14 effective it --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Nagios-users mailing list Nagios-users@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 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info
RE: [Nagios-users] Problem in configuring the Nagios
On Nagios 2.0b5 this should not bother anymore. As been new to it, You should consider trying the last version. On Changelog you should see the logged changes ;^) Good Luck. On Tue, 2005-11-22 at 20:27 +0530, Mrutyunjaya Dash wrote: 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) -- Marcel Mitsuto Fucatu Sugano [EMAIL PROTECTED] Universo Online S.A. -- http://www.uol.com.br --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Nagios-users mailing list Nagios-users@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