Hello, does anyone know how to make a service monitoring API? To notify when Appian it's under maintenance for example.
Discussion posts and replies are publicly visible
What do you want to achieve? You only need that API in case of maintenance?
IN that case I would suggest to make a process that notify users before activate maintenance window...
To notify when Appian is unavailable, besides maintenance, also for when the service is unresponsive for example.
Well if you want something to notify you when Appian is down or unresponsive, I would suggest that you use something other than Appian.
There are many monitoring tools that are available (Datadog, Splunk, New Relic etc.)
Develop scripts or configurations to periodically check the status of the Appian service based on the defined criteria. This might involve sending HTTP requests to specific endpoints or using other monitoring techniques.
Configure the monitoring tools to send notifications when the service is detected as under maintenance or unavailable. Notifications can be sent via email, SMS, Slack messages, or other communication channels.
Implement logic to handle planned maintenance windows. During maintenance windows, notifications may not be necessary, or different notification recipients may be specified.Create script which periodically sends an HTTP GET request to the specified Appian URL and checks the response status code. If the status code indicates an error or if the connection cannot be established, it prints a message indicating the status and can trigger notification logic.
Thanks! I will do that.