NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: Configuration Lost after reboot  (Read 466 times)

rainerh

  • Newbie
  • *
  • Posts: 29
    • View Profile
Configuration Lost after reboot
« on: July 16, 2018, 10:06:23 am »

Hello,
when I do some changes or remove nodes from Templates, after reboot all changes are lost.
For example
(1)
I have a Template called Windows (old). This is an old template with an Automatic Apply Rules.
I delete all nodes from this template and disable the Automatic Apply Rule.
After reboot the Automatic Apply Rule for this Template is enabled and all nodes will be added.

(2)
I made changes in Data Collection Configuration. All works fine until reboot.
Alle changes which I made are back to old.


Hope you can help

Thanyk's a lot
Rainer

Logged

rainerh

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Configuration Lost after reboot
« Reply #1 on: July 17, 2018, 07:45:46 am »

When I edit a template. All changes and new entries will be deleted after reboot
Logged

rainerh

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Configuration Lost after reboot
« Reply #2 on: July 17, 2018, 08:21:34 am »

I lost so many things. All I have done last month is deleted after reboot.
Is there a possibility to make a force save of all the configuration.
Or export all the templates?

Logged

gdodd

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Configuration Lost after reboot
« Reply #3 on: July 17, 2018, 04:56:46 pm »

In Configuration/Server Configuration, there is a setting for "ImportConfigurationOnStartup". Default is 1. Set this to 0. This is likely what is causing your issue.

You can export various components of your configuration using the Tools/Export Configuration option.

If you have a recent backup of your database you should be able to restore that and before starting NetXMS, change the "ImportConfigurationOnStartup" var_value in the config table from 1 to 0.
Logged

rainerh

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Configuration Lost after reboot
« Reply #4 on: July 18, 2018, 01:51:41 pm »

Hello gdodd  :) :) :)
I am so so so happy that you solved the problem.
I realy like this product and use is it many times.
With this problem I was very frustrated and found no solution. I tried so many things..

No tested the solution (ImportConfigurationOnStartup set to 0). I can stop or restart the service and nothing get lost.
I also test to reboot the Server 3 times - no problem  :)

Thank you sooooo much.
Rainer
Logged