Hello Thwack-Folks!
Orion provides out of the box HTTP parsing.
Which simply means: I am looking for a word (let's say "solar"), define the URL and the monitor will return me TRUE or FALSE wether it is found or not.
What I am looking for is a way to output the content of a website which only shows me a number like 12345
I tried a basic and simply powershell script
$webClient = new-object System.Net.WebClient
$webClient.Headers.Add("user-agent", "PowerShell Script")
$output = $webClient.DownloadString("https:/example.com/?id=myId")
Write-Host "Statistic: $($output)"
But the only return I get is NaN.
So my question is, what does NaN exactly mean and how do you return a value from a website usually?
Cheers
-FRA