Page 1 of 1

Process Monitoring time

Posted: Mon Jun 19, 2017 4:20 pm
by the1trujok3r
I noticed there is a time set here to restart a server but I had a question about how often does the panel check to see if the process is running?

The reason I ask is that right now I'm running another manual process that will stop the server process when it finds a mod update and it then applies it but it shuts the server down and when it's attempting to apply the mod updates for ARK, the panel tries to restart the process.

Is there a way to config the time it scans for the process that is running? So say it only looks to see if the process is running ever 5 minutes? Or is there a config file or something I can edit to tell it to scan for the process less?

Re: Process Monitoring time

Posted: Mon Jun 19, 2017 7:14 pm
by Masher
The monitor uses the interval setting defined in the ugccmon.cfg file to check the processes. You can raise it but it will affect all the other servers and has an effect on advanced monitoring.

If you are going to have a process outside of the panel stopping the server you'll probably need to disable monitoring altogether.

What would be even better is using the panel's API to stop the server, do the updates, and then use the API to restart it.

Re: Process Monitoring time

Posted: Wed Jun 21, 2017 4:40 pm
by the1trujok3r
Is there a file or somewhere I should look for the panel API info?

Re: Process Monitoring time

Posted: Wed Jun 21, 2017 8:14 pm
by Masher
See the API section in the documentation: https://brainless.us/Forum/viewtopic.php?f=20&t=80

Re: Process Monitoring time

Posted: Thu Jun 22, 2017 8:28 am
by the1trujok3r
Thanks Masher!