Page 1 of 1
Nagios XI sound dont work after upgrade to 5.11.1
Posted: Thu Aug 03, 2023 7:09 pm
by vappukuttan
We have noticed that the sound on alerts dont work anymore since we updated Nagios XI to 5.11.1.
The configure sound screen comes up within the Operations Center. I can select the sound I want and the type of alerts it should play. Then I click save and it does not save it.
Thank you in advance.
Vinod
Re: Nagios XI sound dont work after upgrade to 5.11.1
Posted: Thu Aug 10, 2023 2:34 pm
by phred
Hey
@vappukuttan:
This looks like you found a bug, actually. In newer php, probably php8+, but maybe in later versions of 7, it is returning a deprecated warning in the ajax response preventing the browser from reading the json. We will add this to our issues list.
Meanwhile, if you are comfortable making a minor edit, you can suppress these warnings and restore the functionality.
In file:
/usr/local/nagiosxi/html/includes/components/nocscreen/nocajax.php
Change line 7 from:
to:
Code: Select all
error_reporting(E_ALL & ~E_DEPRECATED);
There is no need to restart anything. The app will pick up the change the next time you load the page.
Let me know if you have any questions, and if this resolves your issue.
Phred
Re: Nagios XI sound dont work after upgrade to 5.11.1
Posted: Sat Aug 12, 2023 1:40 pm
by vappukuttan
Thank you for the response. It didnt seem to work with the ~ sign, but once I removed that and saved a change, it showed up the previous setup the alarms.
Thanks again,
Vinod