Page 2 of 2
Re: Remove acknowledgements and enable notifications
Posted: Mon Mar 18, 2019 11:29 am
by npolovenko
@emartine, Sorry that's what I meant, yes.
I tried creating a dashboard and generating a PDF report and everything seemed normal. Can you take a screenshot of the dashboard and upload it here with the pdf report?
Also after you generate a new pdf report please send in your system profile.
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and send it to me in a private message.
Re: Remove acknowledgements and enable notifications
Posted: Tue Mar 19, 2019 12:02 pm
by emartine
Sent you two PM and screenshot
Re: Remove acknowledgements and enable notifications
Posted: Tue Mar 19, 2019 12:32 pm
by npolovenko
@emartine, Thanks, I recieved the profile and screenshots and shared everything with the support team.
How did you add this particular dashlet to the dashboard? Is it a custom dashlet or did you copy the URL and used the URL dashlet?
Re: Remove acknowledgements and enable notifications
Posted: Tue Mar 19, 2019 2:57 pm
by emartine
I Created a dashboard and used the URL dashlet. That is it.
Re: Remove acknowledgements and enable notifications
Posted: Tue Mar 19, 2019 4:36 pm
by npolovenko
@emartine, I see. This looks like a bug with the wkhtmltopdf component. We will add the fix in XI 5.6.
In a meantime, please open the /usr/local/nagiosxi/html/config.inc.php file and add the following value:
$cfg['old_browser_compat'] = 1;
That should get it to work properly.
Re: Remove acknowledgements and enable notifications
Posted: Wed Mar 20, 2019 4:03 pm
by emartine
npolovenko wrote:@emartine, Can you run the same query with enable_notifications=1?
service nagios stop
sed -i "s/problem_has_been_acknowledged=1/problem_has_been_acknowledged=0/g" /usr/local/nagios/var/retention.dat
sed -i "s/enable_notifications=0/enable_notifications=1/g" /usr/local/nagios/var/retention.dat
service nagios start
According to
https://support.nagios.com/kb/print-522.html you also need to modify an attribute?
Re: Remove acknowledgements and enable notifications
Posted: Thu Mar 21, 2019 12:32 pm
by npolovenko
@emartine, I tested these commands in the lab and was able to successfully remove acknowledgments and enable all notifications. You only need to change modified attributes when you want to permanently change the configs. If commands are working for you I'd not worry about changing modified attributes.