Page 1 of 2
Cannot Acknowledge Problems
Posted: Thu May 22, 2014 12:42 pm
by chrisbushey
We have just upgraded to Nagios XI 2014 R1.0. We have got everything working again except when we click the "Commit" button under "Acknowledge this problem", it just goes to a white screen and doe not keep the acknowledgement. Has anyone else seen this?
-Chris
Re: Cannot Acknowledge Problems
Posted: Thu May 22, 2014 12:52 pm
by slansing
When you click Schedule Immediate Check on a host or a service does it bail out telling you it can't execute your command? On the status icons in the top right of your XI UI, are they all green? Or are some blue/red? Are you forcing SSL on the XI server?
Re: Cannot Acknowledge Problems
Posted: Thu May 22, 2014 1:12 pm
by chrisbushey
When I click Schedule Immediate Check, it process successfully. All status icons are green. Not using SSL on server.
Re: Cannot Acknowledge Problems
Posted: Thu May 22, 2014 4:41 pm
by tmcdonald
Can you try this again and then post the last 20 lines of your error log?
Re: Cannot Acknowledge Problems
Posted: Fri May 23, 2014 7:39 am
by chrisbushey
I had just tried to acknolwedge a problem prior to getting the tail of this error log this morning, but the most recent events are from yesterday afternoon. Also, the frame? inside of the nagios page is the only thing that goes white. I can still access the navigation menu and go right back to the problem. Also have tried with different browsers on different computers with same result. Attached screenshot to post.
Code: Select all
[Thu May 22 13:40:08 2014] [error] [client 10.200.7.19] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 170, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&hostattr=10&hoststatustypes=2&servicestatustypes=28&serviceattr=10
[Thu May 22 13:40:08 2014] [error] [client 10.200.7.19] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 171, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&hostattr=10&hoststatustypes=2&servicestatustypes=28&serviceattr=10
[Thu May 22 13:40:08 2014] [error] [client 10.200.7.19] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 172, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&hostattr=10&hoststatustypes=2&servicestatustypes=28&serviceattr=10
[Thu May 22 13:55:12 2014] [error] [client 10.200.15.9] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 170, referer: http://spnagios/nagiosxi/includes/components/opscreen/opscreen.php
[Thu May 22 13:55:12 2014] [error] [client 10.200.15.9] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 171, referer: http://spnagios/nagiosxi/includes/components/opscreen/opscreen.php
[Thu May 22 13:55:12 2014] [error] [client 10.200.15.9] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 172, referer: http://spnagios/nagiosxi/includes/components/opscreen/opscreen.php
[Thu May 22 13:55:22 2014] [error] [client 10.200.15.9] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 170, referer: http://spnagios/nagiosxi/includes/components/opscreen/opscreen.php
[Thu May 22 13:55:22 2014] [error] [client 10.200.15.9] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 171, referer: http://spnagios/nagiosxi/includes/components/opscreen/opscreen.php
[Thu May 22 13:55:22 2014] [error] [client 10.200.15.9] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 172, referer: http://spnagios/nagiosxi/includes/components/opscreen/opscreen.php
[Thu May 22 14:10:34 2014] [error] [client 10.200.7.19] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 170, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&hostattr=10&hoststatustypes=2&servicestatustypes=28&serviceattr=10
[Thu May 22 14:10:34 2014] [error] [client 10.200.7.19] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 171, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&hostattr=10&hoststatustypes=2&servicestatustypes=28&serviceattr=10
[Thu May 22 14:10:34 2014] [error] [client 10.200.7.19] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 172, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&hostattr=10&hoststatustypes=2&servicestatustypes=28&serviceattr=10
[Thu May 22 14:22:44 2014] [error] [client 10.200.15.2] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 170, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Thu May 22 14:22:44 2014] [error] [client 10.200.15.2] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 171, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Thu May 22 14:22:44 2014] [error] [client 10.200.15.2] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 172, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Thu May 22 14:40:00 2014] [error] [client 10.200.15.9] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 170, referer: http://spnagios/nagiosxi/includes/components/opscreen/opscreen.php
[Thu May 22 14:40:00 2014] [error] [client 10.200.15.9] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 171, referer: http://spnagios/nagiosxi/includes/components/opscreen/opscreen.php
[Thu May 22 14:40:00 2014] [error] [client 10.200.15.9] PHP Notice: Undefined variable: components in /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.inc.php on line 172, referer: http://spnagios/nagiosxi/includes/components/opscreen/opscreen.php
[Thu May 22 16:05:48 2014] [error] [client 10.200.15.2] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/mssql.png, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Thu May 22 16:11:48 2014] [error] [client 10.200.15.2] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/mssql.png, referer: http://spnagios/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
Re: Cannot Acknowledge Problems
Posted: Fri May 23, 2014 1:23 pm
by lmiltchev
Are you logged in as nagiosadmin or another user? What is the output of the following commands?
Code: Select all
grep nag /etc/group
ll -d /usr/local/nagios/var/rw
ll /usr/local/nagios/var/rw/nagios.cmd
chage -l nagios
chage -l apache
sestatus
Re: Cannot Acknowledge Problems
Posted: Tue May 27, 2014 7:18 am
by chrisbushey
It occurs on any account, including nagiosadmin.
Code: Select all
]0;root@spnagios:~[?1034h[root@spnagios ~]# grep nag /etc/group
nagios:x:500:nagios,apache,snmptt
nagcmd:x:501:nagios,apache,snmptt
]0;root@spnagios:~[root@spnagios ~]# ll -d /usr/local/nagios/var/rw
drwxrwsr-x 2 nagios nagcmd 4096 May 22 14:38 [0m[01;34m/usr/local/nagios/var/rw[0m
[m]0;root@spnagios:~[root@spnagios ~]# ll /usr/local/nagios/var/rw/nagios.cmd
prw-rw---- 1 nagios nagcmd 0 May 27 02:01 [0m[40;33m/usr/local/nagios/var/rw/nagios.cmd[0m
[m]0;root@spnagios:~[root@spnagios ~]# chage -l nagios
Last password change : Apr 05, 2013
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
]0;root@spnagios:~You have new mail in /var/spool/mail/root
[root@spnagios ~]# chage -l apache
Last password change : Apr 05, 2013
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : -1
Maximum number of days between password change : -1
Number of days of warning before password expires : -1
]0;root@spnagios:~[root@spnagios ~]# sestatus
SELinux status: disabled
]0;root@spnagios:~[root@spnagios ~]#
Re: Cannot Acknowledge Problems
Posted: Tue May 27, 2014 4:49 pm
by sreinhardt
It looks like you are hitting a core bug that we know of. Basically the acknowledge cgi is erroring when attempting to acknowledge alerts. The acks can still be pushed from the command pipe, but that is far from ideal. I know one of the core devs was working on this today. Let me see where he's at!
Re: Cannot Acknowledge Problems
Posted: Mon Jun 02, 2014 12:51 pm
by chrisbushey
We are able to acknowlege problems by clicking the link in the email alert we receive. Still not able to get past the "Commit" button when acknowledging through the webpage.
Re: Cannot Acknowledge Problems
Posted: Mon Jun 02, 2014 4:15 pm
by sreinhardt
What are the host and service names for that particular object? This has been reported once or twice before, and each time up to this point, it has been an issue of illegal characters. So let's make sure that's not the case here!
Also on this same object, does the submit immediate check fail also?