Process Monitoring time

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

Process Monitoring time

Post by the1trujok3r » Mon Jun 19, 2017 4:20 pm

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: 3156
Joined: Thu Apr 20, 2006 2:54 pm
Location: Ohio
Contact:

Re: Process Monitoring time

Post by Masher » Mon Jun 19, 2017 7:14 pm

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 and 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.

Need an affordable web control panel? Try UGCC.

the1trujok3r
Posts: 44
Joined: Sat Feb 04, 2017 8:33 pm

Re: Process Monitoring time

Post by the1trujok3r » Wed Jun 21, 2017 4:40 pm

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: 3156
Joined: Thu Apr 20, 2006 2:54 pm
Location: Ohio
Contact:

Re: Process Monitoring time

Post by Masher » Wed Jun 21, 2017 8:14 pm

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 and 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.

Need an affordable web control panel? Try UGCC.

the1trujok3r
Posts: 44
Joined: Sat Feb 04, 2017 8:33 pm

Re: Process Monitoring time

Post by the1trujok3r » Thu Jun 22, 2017 8:28 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests