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

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

Votes:

0

Your Vote:

Up

Down

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 ?

cheers

custom-sensor prtg sql

Created on Jun 5, 2020 11:56:47 AM by  StuW (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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]



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.