Bad format string broke network map. How to restore ?

Started by Egert143, July 01, 2020, 12:09:49 PM

Previous topic - Next topic

Egert143

Hello

After adding dci container to network map, map is broken. No scroll bars and no tool icons (top right corner). Where are map elements stored in db so i could remove it manualy and restore map?

Also would it be possible to add some check when inserting dci containers so it would not be so easy to break map?

format string that broke map: "Packet Loss: %s %"

Egert

Filipp Sudanov



Filipp Sudanov

Are you using desktop management console? Can you show it's log - on linux/mac it's in the home folder in .nxmc/data/.metadata/.log
There should be some errors regarding this map

Egert143

Yes, using desktop management console. Unfortunately i dont have log messages.

Fix was to delete last element from DB tabel "network_map_elements". then quick server restart and map started working again.

Simple way how to reproduce: Create costum map and add dci container. Under dci container->Data source add format string "Packet Loss: %s %". This will breake the map. Correct string would be "Packet Loss: %s %%".

Egert

Filipp Sudanov


Victor Kirhenshtein