Can't view some info on Nagios web interface

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

Can't view some info on Nagios web interface

Post 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.
Attachments
Screenshot of error I'm seeing.
Screenshot of error I'm seeing.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post by hsmith »

Are you logged in as an administrator?

Can you post the contents of your /usr/local/nagios/etc/cgi.cfg file here?
Former Nagios Employee.
me.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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
Former Nagios Employee
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

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

Post 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
Attachments
cgi-contents.txt
/usr/local/nagios/etc/cgi.cfg
(11.14 KiB) Downloaded 305 times
error-log.txt
tail -n25 /var/log/httpd/error_log
(5.12 KiB) Downloaded 287 times
access-log.txt
tail -n25 /var/log/httpd/access_log
(6.22 KiB) Downloaded 295 times
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post by hsmith »

I don't see anything horrible. You're able to see services just fine?
Former Nagios Employee.
me.
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

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

Post 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.
Attachments
access-log.docx
(12.05 KiB) Downloaded 151 times
cgi-contents.docx
(17.44 KiB) Downloaded 166 times
error-log.docx
(11.93 KiB) Downloaded 134 times
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post 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.
Former Nagios Employee.
me.
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

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

Post 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.
Attachments
nagios-conf.docx
(12.02 KiB) Downloaded 186 times
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post by rkennedy »

Can you post the output of

Code: Select all

httpd -V
Former Nagios Employee
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

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

Post by ebp12100 »

Results of httpd -V attached.

Thanks.
Attachments
httpd.docx
(11.98 KiB) Downloaded 136 times
Locked