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

Sensor to query last time update occurred on SQL table and error if over 24 hrs old.



Hi, i need to setup sensor to monitor last update to a sql table, and monitor / error if over 24 hrs old.. eg sql : SELECT TOP 3 [LastSync] FROM [database].[application].[table] order by LastSync desc result: LastSync 2020-06-05 19:30:01.820 2020-06-05 19:30:01.747 2020-05-23 02:10:21.843

Microsoft SQL v2 sensor does not seem to do the job... can anyone advise if this can be done ?


custom-sensor prtg sql

Created on Jun 5, 2020 11:56:47 AM

1 Reply



Dear StuW,

the SQL sensor processes numeric data, it cannot read date-times values. If possible, please return the time since last update, either in hours or in seconds, in order to be compatible with available PRTG sensor units.

Created on Jun 5, 2020 3:42:21 PM by  Arne Seifert [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.