Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Can you schedule recurrent maintenance with HetrixTools?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Can you schedule recurrent maintenance with HetrixTools?

o_be_oneo_be_one Member

Hello LET,

just wanted to know if you are able to schedule recurrent maintenance on HetrixTools?
My case is simple: i've few game servers with scheduled restart and i would like to not show it as downtime as it was expected by players and staff ; it shows in our status page we had outage.

If there is no way on HetrixTools to do that i will do a Python script to enable it using API, i guess.

Thanks for your help and recommandations :)!

Comments

  • Should be pretty simple.

    https://api.hetrixtools.com/v2/<API_TOKEN>/maintenance/<UPTIME_MONITOR_ID>/<MAINTENANCE_MODE>/

    Modify the maintenance status of any of your Uptime Monitors.
    <API_TOKEN> - Your API Access Token, in your particular case it's: c582de4d9c5e2305eb2ca22058db8a5f
    <UPTIME_MONITOR_ID> - You can find the ID of any of your Uptime Monitors by using the API Call 'v1 List Uptime Monitors', it is listed for every uptime monitor as 'ID'
    <MAINTENANCE_MODE> - The type of maintenance. Accepted values (numbers): 1, 2, or 3.
    1 - no maintenance mode (normal) - use this to exit maintenance mode
    2 - maintenance mode with notifications
    3 - maintenance mode without notifications
    

    https://hetrixtools.com/dashboard/api-explorer/

  • @jetchirag said:
    Should be pretty simple.

    https://api.hetrixtools.com/v2/<API_TOKEN>/maintenance/<UPTIME_MONITOR_ID>/<MAINTENANCE_MODE>/

    Modify the maintenance status of any of your Uptime Monitors.
    <API_TOKEN> - Your API Access Token, in your particular case it's: c582de4d9c5e2305eb2ca22058db8a5f
    <UPTIME_MONITOR_ID> - You can find the ID of any of your Uptime Monitors by using the API Call 'v1 List Uptime Monitors', it is listed for every uptime monitor as 'ID'
    <MAINTENANCE_MODE> - The type of maintenance. Accepted values (numbers): 1, 2, or 3.
    1 - no maintenance mode (normal) - use this to exit maintenance mode
    2 - maintenance mode with notifications
    3 - maintenance mode without notifications
    

    https://hetrixtools.com/dashboard/api-explorer/

    Is this currently free? It's been 2+ years or so, but last I tried Hetrix tools I thought I didn't have this capability in the free version and so I remained with Uptime Robot.

  • @TimboJones I think it's free. I made something similar a while ago on free plan.

    Thanked by 1TimboJones
  • OhJohnOhJohn Member
    edited May 2021

    @jetchirag
    I hope you deactivated that quoted api key of yours or changed it before quoting...

    Thanked by 1o_be_one
Sign In or Register to comment.