I need a simple function that returns TRUE if the HTTP probe is UP and FALSE if the HTTP probe is DOWN

To be more specific, I would like a function(?) that returns the string “WebServer” if the HTTP probe is up and “Not a WebServer” if the HTTP probe is down, so that I can have this information dynamically in the label.

Might somebody suggest something please? I don’t think it is that difficult, but I am not able to find out how.

Up?