Remove acknowledgements and enable notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Remove acknowledgements and enable notifications

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: Remove acknowledgements and enable notifications

Post by emartine »

Sent you two PM and screenshot
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Remove acknowledgements and enable notifications

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: Remove acknowledgements and enable notifications

Post by emartine »

I Created a dashboard and used the URL dashlet. That is it.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Remove acknowledgements and enable notifications

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: Remove acknowledgements and enable notifications

Post 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?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Remove acknowledgements and enable notifications

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked