Is there a way I can check the datetime field from an url which returns it via XML?

I have a url which returns a datetime value in the format 2012-04-29 23:59:59

I would like to have a check like the SSL validy checker using the XML /JSON rest sensor.

(I had hoped that it would be possible without writing an intermediate script which parses the output)

Any tips?


Article Comments

Hello,

even if the sensor is able to parse this, I'm afraid there is no option/function then in PRTG to "compare" the sensors result with the current date/time. So it's probably best to fully do this in a custom sensors (incl. the comparison to the current date).

best regards.


Mar, 2012 - Permalink