What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
300.000 administrators have chosen PRTG to monitor their network. 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

Your Vote:

Up

Down

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 by  Megamuch (60) 1 1



1 Reply

Votes:

1

Your Vote:

Up

Down

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]



Please log in or register to enter your reply.


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.