Allert Manager control remote setting - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11) +--- Thread: Allert Manager control remote setting (/showthread.php?tid=3343) |
Allert Manager control remote setting - Frank68 - 05.05.2021 Hello A question about the alert manager, since the app stores the settings on the client where it is displayed (script to be viewed etc. etc.). Is it possible from REMOTE to be able to set the client's set in some way on which scripts to activate supervision, without where to leave the system and app activated? Thanks so much RE: Allert Manager control remote setting - Erwin van der Zwart - 05.05.2021 Yes it is possible, the client creates a storage enrty on the controller (stored by client IP address) and fetches this on startup. So you could alter this storage table from remote, but be careful (: Best way to do this is create a new entry from a random client, make your settings and change the IP in the created storage table Keep in mind that the alert manager must be reloaded on the client to get the updates from the controller. RE: Allert Manager control remote setting - Frank68 - 05.05.2021 (05.05.2021, 08:57)Erwin van der Zwart Wrote: Yes it is possible, the client creates a storage enrty on the controller (stored by client IP address) and fetches this on startup. Perfect solution that could do for me I connect with the laptop which is the additional client, I make all the various settings then I change the ip in the table, how? How do I see what is written in the table and how do I change IP? Is it possible to create a script that does this ip change job? or copy table from destination ip to new ip, even overwriting it? Thank you RE: Allert Manager control remote setting - Erwin van der Zwart - 05.05.2021 Use the storage viewer as starting point RE: Allert Manager control remote setting - Frank68 - 05.05.2021 (05.05.2021, 11:34)Erwin van der Zwart Wrote: Use the storage viewer as starting point perfect I saw that a table is created with my client address key, in which there are all my settings, how can I copy the table to another by changing the key "IP address", I must have prepared all the appropriate sets. thank you very much RE: Allert Manager control remote setting - Erwin van der Zwart - 06.05.2021 With storage.get() and storage.set() RE: Allert Manager control remote setting - Frank68 - 06.05.2021 (06.05.2021, 06:56)Erwin van der Zwart Wrote: With storage.get() and storage.set() For the parameter name use app: alerts: IP ADDRESS for reading is app: alerts: IP NEWADDRESS writing? thank you RE: Allert Manager control remote setting - admin - 06.05.2021 Use this, change IP addresses in the storage keys as needed. Code: oldkey = 'app:alerts:192.168.1.1' RE: Allert Manager control remote setting - Frank68 - 06.05.2021 (06.05.2021, 07:22)admin Wrote: Use this, change IP addresses in the storage keys as needed. tank's |