Notification Management

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Notification Management

Post by jkinning »

I had an admin create a new template and deploy it to all users. Not good! Is there a way to revert back to the way all these setting were prior to the deployment of the updated template?

Didn't know if I can revert back from a config snapshot or not for these notification settings.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Notification Management

Post by mcapra »

A config snapshot by itself wouldn't be enough as that only deals with the nagiosql table. The nagiosxi table is what contains per-user notification settings.

You should be able to find a full backup located in /store/backups/nagiosxi and restore that using the restore_xi.sh script, but this sort of a "scorched earth" option and will revert all the things back to the time the backup was created. Not ideal, but easy.

Otherwise you could untar one of those previous backups and find the nagiosxi mysqldump file and restore that specifically. I did it like so:

Code: Select all

tar nagiosxi.1490504434.tar.gz
cd 1489698879-restore/1489698774/mysql
mysql  -u root --password=nagiosxi < nagiosxi.sql
Former Nagios employee
https://www.mcapra.com/
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Notification Management

Post by jkinning »

Thanks. I think we are good now.

Appreciate the help. Feel free to close this one.
Locked