"Acknowledge this problem" not functioning...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

"Acknowledge this problem" not functioning...

Post by PhilG »

Hello:
We were using Nagios XI version 5.2.2 and the issue did not get fixed even after going to version 5.2.3 today, Tues. 1/26/2013.

The issue:
One of our servers is experiencing a disk usage warning, so we want to Acknowledge the problem in Nagios XI, but the Acknowledge is not taking/holding/activating/working.

I noted the disk space usage warning in the Service Status window and then clicked on the Service that is displaying the warning. The following options are identified in the next page, which is In the Service Status Detail page, in the "Overview" tab, and then under "Quick Actions":
1). "Disable notifications" yields a URL at the bottom of the page:
https://<our-Nagios-server>/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=<our-Nagios-server>&service=%2F+Disk+Usage&dest=auto#

2). "Force an immediate check" yields a URL at the bottom of the page:
https://<our-Nagios-server>/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=<our-Nagios-server>&service=%2F+Disk+Usage&dest=auto#

3). However, "Acknowledge this problem" does not yield a URL, but does have the "Acknowledge Problem" window appear. When I type in a Comment and
then click "Submit", the information is not saved.


The "Disable notifications" option works, though, and identifies a new row with "Service notifications are disabled" which helps temporarily.

Is this a global issue with the latest version of Nagios XI, since Acknowledge was working for us before.
Newbie '14
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: "Acknowledge this problem" not functioning...

Post by hsmith »

Are you using SSL on your server?

I just checked, and mine works just fine. Can we see some screenshots of the issue? The screenshots can often help identify where the problem is stemming from.
Former Nagios Employee.
me.
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: "Acknowledge this problem" not functioning...

Post by PhilG »

Yes, using SSL (just checked version).

"Ackowledge this problem" is the option that is not functioning, but "Force an immediate check" and "Disable (or Enable) notifications" both work.

I've created some snapshots, have edited them to remove any "sensitive" data that may attribute to our environment, and uploaded them as .JPG format.

From the Nagios XI web console, I logged in as the Administrator and went to the screen:
Service Status, then clickeded on the service that was displaying a Warning or was Critical, ex. "/Disk Usage" -

1). "NagiosXI - ServiceStatus_Enable-Notifications_works.jpg" - This snapshot shows that when you hover the mouse over the hyperlink
"Enable notifications", the URL displays at the bottom of the browser. This function works with no issues, too.

2). Problem 1: "NagiosXI - ServiceStatus_Enable-Acknowledge_this_problem-hyperlink_does_not_show.jpg" - This snapshot shows that when you hover the mouse over the hyperlink "Acknowledge this problem", the URL does NOT display at the bottom of the browser.

3). "NagiosXI - ServiceStatus_Enable-Acknowledge-this-problem_window-appears.jpg" - NO SNAPSHOT PROVIDED SINCE THERE WAS A 3 ATTACHMENT LIMIT!
The snapshot showed that the "Acknowledge this problem" window DID appear.
I had completed both of the following and still had the same results as noted in 4), below:
a). I kept the default Comment and then clicked "Submit"
b). I deleted the default Comment, typed in my own Comment, and then clicked "Submit".

4). Problem 2: "NagiosXI - ServiceStatus_Enable-After_Submit-Did_Not_Work.jpg" - The action did not save, even after refreshing the screen.


I hope this helps.
You do not have the required permissions to view the files attached to this post.
Newbie '14
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: "Acknowledge this problem" not functioning...

Post by hsmith »

Do you notice anything in any of the following logs when you are having this issue?

Code: Select all

/var/log/httpd/error_log
/var/log/httpd/access_log
/var/log/messages
/usr/local/nagios/var/nagios.log
Former Nagios Employee.
me.
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: "Acknowledge this problem" not functioning...

Post by PhilG »

1). /var/log/httpd/error_log <-- There are a couple of errors that reference 2 devices that are not tied in with the current issue.

2). /var/log/httpd/access_log
The following 2 messages appear and repeat throughout the log file:
a). This one appears sparingly.
127.0.0.1 - - [03/Feb/2016:06:32:55 -0600] "GET / HTTP/1.0" 200 2999 "-" "check_http/v2.0.3 (nagios-plugins 2.0.3)"

b). This one appears abundantly:
127.0.0.1 - - [03/Feb/2016:06:32:58 -0600] "POST /nagiosxi/backend/ HTTP/1.1" 200 1592 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"

3). /var/log/messages <-- Identifies the SERVICE NOTIFICATION alert, the contacts that will receive the e-mail message, the WARNING of the specific alert.

4). /usr/local/nagios/var/nagios.log <-- Identifies the SERVICE ALERT for the problematic device.
Newbie '14
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: "Acknowledge this problem" not functioning...

Post by ssax »

The URL should not show up when you hover over the link, it is a modal window. Regardless, it should still function for you.

Since you are using SSL the errors would be in /var/log/ssl_error_log, check there.

Are you seeing any javascript errors in your browser?

In firefox, go to the page where you click the "Acknowledge this problem" link and hit F12, that should bring up the inspector.
- Click the Network Tab
- Acknowledge the problem and you should see a cmd.php POST, click on it, on the right hand side click the Response tab and copy the contents of the response and post it here.

Thank you.
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: "Acknowledge this problem" not functioning...

Post by PhilG »

ssax wrote:The URL should not show up when you hover over the link, it is a modal window. Regardless, it should still function for you.

Since you are using SSL the errors would be in /var/log/ssl_error_log, check there.
UPDATE: The path found was "/var/log/httpd". I will have to wait for a Host or Service to display a Warning or go Critical, then will try to acknowledge and verify the logs.


Are you seeing any javascript errors in your browser?
UPDATE: No.


In firefox, go to the page where you click the "Acknowledge this problem" link and hit F12, that should bring up the inspector.
- Click the Network Tab
- Acknowledge the problem and you should see a cmd.php POST, click on it, on the right hand side click the Response tab and copy the contents of the response and post it here.

UPDATE: Interesting stuff here but will need to wait for a Host or Service to display a Warning or go Critical first and then will report back.


Thank you.
Newbie '14
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: "Acknowledge this problem" not functioning...

Post by rkennedy »

I'll leave this thread open for now, let us know when you get a chance to see an alert change. Please post the ssl_error_log for us to review as well.
Former Nagios Employee
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: "Acknowledge this problem" not functioning...

Post by PhilG »

I have just upgraded to Nagios XI 5.2.5 from 5.2.3.

I noted this post and read through it:
https://support.nagios.com/forum/viewto ... 65#p172865

The account I use is "nagiosadmin" and is the Admin of the system.

I have noted the following in the "nagiosadmin" account's settings, and curious as to why it's greyed out and set?
You do not have the required permissions to view the files attached to this post.
Newbie '14
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: "Acknowledge this problem" not functioning...

Post by rkennedy »

This could be the issue, as we were having problems when an admin had the 'Has read only access' checked. Since then, the option to have 'read only' set on an admin has been removed (that's why it's greyed out now). As an admin will have full access, it eliminates the possibility of them being read only.

To uncheck the box, you should be able to change the authorization level to user -> uncheck box -> change it back to admin. Does this work for you?
Former Nagios Employee
Locked