Welcome, Guest. Please login or register.

Author Topic: Changing device name  (Read 318 times)

Westy_87

  • Newbie
  • *
  • Posts: 15
    • View Profile
Changing device name
« on: December 18, 2024, 12:13:16 am »
When we change a switch hostname (production plant, things get moved around a bit...), nedi discovers it as a whole new device and we lose the history of that device.

Can we avoid this by changing the switch hostname ('device' field) in the relevant database tables before doing a new discovery? I did try and post the code but it gets blocked by your website security policy.

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2906
    • View Profile
    • NeDi
Re: Changing device name
« Reply #1 on: December 23, 2024, 11:12:57 am »
Since the device name is the primary key, yes that should work. Sorry for the restrictive and cumbersome security here...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo