Why do agents disconnect and reconnect at regular intervals? #6922
-
I need to report each agent's connectivity status to an external system. Currently, I do this in My question is: why do agents disconnect at these intervals, and is it possible to prevent this? I found the agentPong property and set it to 120 on my server. I'm currently testing whether this helps. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
they disconnect and reconnect because of a thing called the reason could be a number of things: p.s sorry for the sarkyness ive just woke up and grumpy... p.ss: you shouldnt be editing meshcentral.js!!! |
Beta Was this translation helpful? Give feedback.
-
I keep track of my Meshcentral fork by doing regular updates. With each update, I merge my changes into the latest version of meshcentral.js and resolve any conflicts, if they exist. However, plugins seem to be an easier way of achieving the same result. Based on what you said I assume that I'm just trying to understand architecture and events a little more. |
Beta Was this translation helpful? Give feedback.
-
After some experimenting another related question arised. The |
Beta Was this translation helpful? Give feedback.
yes you are correct, those are the best places, as they handle weather the agents/amt devices are connected or not