Greetings,
I would like to setup a sensor for an element within this webpage:
https://rainwise.net/weather/mary062697
In the upper left is a status: "Online"
<span id="status" class="on">Online</span>
I would like to monitor that element and get an alert when it's offline and the status changes from "Oflfline" to "No Signal"
How can I setup a sensor for this?
Thanks, Paul
Article Comments
Hello,
How to setup the sensor if the string we want to check is static?
Thanks Leela Kumar
Aug, 2022 - Permalink
Hello,
In the sensor settings you'll find the option "Require Keyword". Here you can define the string the sensor should search for.
Aug, 2022 - Permalink
Hello,
In general a HTTP Advanced Sensor can be used here. However in your case it seems like the site is generating the status dynamically, which cannot be monitored using the HTTP sensor. In this case you could maybe monitor the status using a custom powershell script and sensor.
May, 2020 - Permalink