Page 1 of 1

Nagios XI Host Summary

Posted: Thu Nov 21, 2013 12:58 pm
by krw
In the last week, Nagios XI when you click on the HostGroup Summary link under Home,
we get the old Nagios HostGroup Summary screen.

The only way I can get the NagiosXI HostGroup Summary screen is to go to Dashboards and
bring up the Dashboard I created a while back then the NagiosXI Hostgroup Summary comes
up fine.

In fact when I click on HostGroup summary on the Home, I get prompted for a user/password,
which I never had to do before. When I put my user/pass in I get the old Nagios Hostgroup Summary,
and even clicking cancel I still get the old Hostgroup Summary.

I have been digging through configs to try and find something that changed, but I don't know
what setting might have affected this behavior.

Has anyone seen this before and fixed it?

Thanks.

Re: Nagios XI Host Summary

Posted: Thu Nov 21, 2013 1:07 pm
by abrist
Can you do a running tail on the apache log, click the link, kill the tail with ctrl-c, and then post the output of the tail?

Code: Select all

tail -f /var/log/httpd/error_log

Re: Nagios XI Host Summary

Posted: Thu Nov 21, 2013 1:21 pm
by krw
Did not get anything in the error_log.

Last error was written:

86870 Nov 20 21:35 error_log

and the last couple of lines:

Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyShutdown ::= { netSnmpNotifications 2 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyRestart ::= { netSnmpNotifications 3 }

Tried it a couple of times.

Tail the access_log when I do that:

10.2.1.10 - - [21/Nov/2013:10:13:53 -0800] "GET /nagiosxi/includes/components/xicore/status.php?show=hostgroups&hostgroup=all&style=summary HTTP/1.1" 302 14163 "http://10.2.1.116/nagiosxi/" "Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0"

I get a 302 HTTP here, which is some sort of redirect. The next line shows getting summary from another location:

10.2.1.10 - - [21/Nov/2013:10:13:54 -0800] "GET /nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=summary HTTP/1.1" 200 26090 "http://10.2.1.116/nagiosxi/" "Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0"

Thanks.

Re: Nagios XI Host Summary

Posted: Thu Nov 21, 2013 1:30 pm
by abrist
Do the tail again, this time, go right to the following url (change it to your server information)

Code: Select all

http://<server ip>/nagiosxi/includes/components/xicore/status.php?show=hostgroups&hostgroup=all&style=summary
Post the output of the tail.

Re: Nagios XI Host Summary

Posted: Thu Nov 21, 2013 1:48 pm
by krw
http://<server ip>/nagiosxi/includes/components/xicore/status.php?show=hostgroups&hostgroup=all&style=summary
Still nothing showing up in the error_log when going to this directly. The old nagios hostgroup summary still comes up.

And the URL ends up like this, so there is a redirect causing some problem here.

http://<server_ip>/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=summary

So the xicore status page redirects to the nagios summary.

I just restarted httpd, and it spit out an error in error_log:

Cannot adopt [Thu Nov 21 10:23:37 2013] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Nov 21 10:23:37 2013] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations

But that I'm sure that is nothing to do with this.

Thanks.

Re: Nagios XI Host Summary

Posted: Thu Nov 21, 2013 3:52 pm
by abrist
Send in a ticket to [email protected]
We may have to schedule a remote session to take a look.