Page 1 of 2

Can't view some info on Nagios web interface

Posted: Wed Nov 11, 2015 11:34 am
by ebp12100
I've seen some similar posts on this subject but haven't located a post that works for me. When I try to view the Service Overview for All Hosts, Status Summary for all hosts or Status Grid for all hosts, I get a permissions error. I'm running Nagios Core 4.1.1 on a CentOS 4.9 server. Any suggestions on how to fix this? I've attached a screen shot.

Thanks in advance.

Re: Can't view some info on Nagios web interface

Posted: Wed Nov 11, 2015 11:42 am
by hsmith
Are you logged in as an administrator?

Can you post the contents of your /usr/local/nagios/etc/cgi.cfg file here?

Re: Can't view some info on Nagios web interface

Posted: Wed Nov 11, 2015 11:45 am
by rkennedy
Is this a fresh install or has it worked in the past?

Also, what user are you logged in as?

Can you run the following commands and reply back with the output -

Code: Select all

tail -n25 /var/log/httpd/error_log
tail -n25 /var/log/httpd/access_log

Re: Can't view some info on Nagios web interface

Posted: Wed Nov 11, 2015 12:30 pm
by ebp12100
I'm logged on the interface as nagiosadmin. This is an upgrade from 4.0.8 and to be honest, I don't recall if it worked in the past or not, since I usually just display "hosts".

attached is the output you requested.

Thanks

Re: Can't view some info on Nagios web interface

Posted: Wed Nov 11, 2015 1:05 pm
by hsmith
I don't see anything horrible. You're able to see services just fine?

Re: Can't view some info on Nagios web interface

Posted: Wed Nov 11, 2015 1:08 pm
by ebp12100
I didn't realize the .txt files were so hard to view, so I've converted them to Word docs. Hopefully, they're easier to read.

Re: Can't view some info on Nagios web interface

Posted: Wed Nov 11, 2015 1:10 pm
by hsmith
The text files looked fine to me. I guess everything looks okay when you stare at a command line most of the day :)
hsmith wrote:I don't see anything horrible. You're able to see services just fine?
Just in case you missed that question.

It wouldn't hurt for us to take a look at /etc/httpd/conf.d/nagios.conf either.

Re: Can't view some info on Nagios web interface

Posted: Wed Nov 11, 2015 1:19 pm
by ebp12100
Yes, I can see services fine. I was just hoping to have this feature available if/when I might need it.
Attached is my nagios.conf file in a Word doc.

Re: Can't view some info on Nagios web interface

Posted: Wed Nov 11, 2015 1:32 pm
by rkennedy
Can you post the output of

Code: Select all

httpd -V

Re: Can't view some info on Nagios web interface

Posted: Wed Nov 11, 2015 1:46 pm
by ebp12100
Results of httpd -V attached.

Thanks.