Hi,
I made a simple robot to monitor that web sites are up. Specifically it send HTTP GET request to configured URLs and verifies that response status code is 200-299.
Github: https://github.com/robocorp/robot-site-monitor
Configure monitored URLs by adding them as environment variables with names starting with MON_*
MON_ROBOCORP=https://robocorp.com
MON_PYTHON=https://python.org
When robot completes Work Item variables ping_report
contains a list of results:
ping_report = [
"https://robocorp.com 200",
"https://python.org 200"
]
If you want to send the results to slack, you can configure robot-slack-notifier
as the next step in Robocorp cloud process. You can use e.g. MESSAGE="\n".join(ping_report)