Hi,
I have configured everything in nagios and webconf is coming up but have issues with the rest of the tabs like services,hosts and maps...can you please look into the images attached and please do the needful. It's shows up same with all of them
Nagios .cgi files not responding
-
- Posts: 76
- Joined: Wed Mar 20, 2013 7:15 pm
- Location: New York
Re: Nagios .cgi files not responding
Are your CGIs executable?
Code: Select all
ls -la /usr/local/nagios/sbin/
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 76
- Joined: Wed Mar 20, 2013 7:15 pm
- Location: New York
Re: Nagios .cgi files not responding
Yes...They are
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios .cgi files not responding
When you were configuring Nagios were you flipping back and forth between the web UI to make sure your changes did not harm something? I ask this because possibly you know what you changed shortly before this happened? Any trail back you can mention will help greatly reduce the amount of time this will take.
-
- Posts: 76
- Joined: Wed Mar 20, 2013 7:15 pm
- Location: New York
Re: Nagios .cgi files not responding
Ok...Here is the thing...I did made some changes to my config file in apache to get to the web UI of nagios. Later, I made some changes in permissions for the nagios directory.Here I am placing my code wrap of my apache config for nagios.
Code: Select all
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthBasicProvider file
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthBasicProvider file
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
-
- Posts: 76
- Joined: Wed Mar 20, 2013 7:15 pm
- Location: New York
Re: Nagios .cgi files not responding
Found the issue...I had to enable cgi module in my apache config file. That solves the issue.
Thanks
Thanks