CCM : reverting Changes before Applying Configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

CCM : reverting Changes before Applying Configuration

Post by hoegh »

Hi Team,

Unfortunately, Sometimes we end up with deleting important config Host/Service in CCM,
In this case, if I've not applied configurations, then is it possible for me to revert deleted Host/Service ? As I've not Applied any configuration changes yet.
  • Incident happened with me:
    1. I've deleted one host [host XY] unknowingly. [Don't know how it got deleted, whereas there are Services in dependencies]
    2. Now, when i entered CCM next time, It's asking me to Apply config changes made Previously.
    3. Since Dependencies are not resolved, So Apply Config throws error, That service group x has not able to find host XY, [as it is deleted in step 1]
    4. Since, I've not Committed CCM changes by Apply Configuration options.
    5. So, here i expect, the Changes [deletion of host XY] should get reverted.
I hope i made my query clear :|

Thanks
Hoegh
Thanks
Höegh
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CCM : reverting Changes before Applying Configuration

Post by scottwilkerson »

Yes.

Configure -> CCM -> Configuration Snapshots
Select the latest good configuration and click the "restore" icon
Click Ok

The CCM DB will be restore to the point where it was at the time of the last successful Apply Configuration
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: CCM : reverting Changes before Applying Configuration

Post by hoegh »

Thanks @scottwilkerson.
I was not knowing this.
Thanks for your help. Please close this thread.

Regards,
Hoegh
Thanks
Höegh
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CCM : reverting Changes before Applying Configuration

Post by scottwilkerson »

hoegh wrote:Thanks @scottwilkerson.
I was not knowing this.
Thanks for your help. Please close this thread.

Regards,
Hoegh
Great!

Closing
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked