What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

http xml/rest, checking for date time value?

Votes:

0

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?

http json rest xml

Created on Mar 13, 2012 3:04:58 PM



1 Reply

Votes:

1

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.

Created on Mar 13, 2012 5:05:58 PM by  Torsten Lindner [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.