NetXMS Support Forum

English Support => General Support => Topic started by: pdelvaglio on July 25, 2016, 07:43:30 PM

Title: Situation Instance Backup
Post by: pdelvaglio on July 25, 2016, 07:43:30 PM
We are currently using Situations to control our Node Down and Up statuses which is working well.  The problem we run into is when we do a weekly backup of NetXMS we shut down the NetXMS service which clears our Situation instances.  When we start the service back up a node may not realize it is down and for how long.

Is there a way to backup the Situation instances or prevent them from being deleted on a service restart?

Thanks for any help.
Title: Re: Situation Instance Backup
Post by: Victor Kirhenshtein on July 26, 2016, 09:09:17 AM
Hi,

situations are not persistent - this is actually a bug. We plan to simplify situation usage a bit in 2.1 and will fix persistence issue as well. The only workaround currently is to use node's custom attributes instead of situations - they are persistent.

Best regards,
Victor
Title: Re: Situation Instance Backup
Post by: pdelvaglio on July 27, 2016, 02:14:44 AM
Thanks.  That's kind of what I thought.