Process Monitoring time

Having problems with the panel? Have questions? Post here!
Post Reply
the1trujok3r
Posts: 90
Joined: Sat Feb 04, 2017 8:33 pm

Process Monitoring time

Post 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?
Friendly and Fun Gaming Community - Come Join Us! - http://BoxieGames.com
Joker - BoxieGames Owner / Founder
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Process Monitoring time

Post 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.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
the1trujok3r
Posts: 90
Joined: Sat Feb 04, 2017 8:33 pm

Re: Process Monitoring time

Post by the1trujok3r »

Is there a file or somewhere I should look for the panel API info?
Friendly and Fun Gaming Community - Come Join Us! - http://BoxieGames.com
Joker - BoxieGames Owner / Founder
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Process Monitoring time

Post by Masher »

See the API section in the documentation: https://brainless.us/Forum/viewtopic.php?f=20&t=80
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
the1trujok3r
Posts: 90
Joined: Sat Feb 04, 2017 8:33 pm

Re: Process Monitoring time

Post by the1trujok3r »

Thanks Masher!
Friendly and Fun Gaming Community - Come Join Us! - http://BoxieGames.com
Joker - BoxieGames Owner / Founder
Post Reply