Hello, I want to check db status via sql query. However, I must use date value in the sql command.
ex; EXEC [db_query] 1,'(StateDate)'
I want to use "StateDate" as last error date. How can I use last error date in the sql query by PRTG ?
Thanks.
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hello,
if possible convert the date in your query directly to a integer number since the last error and then use this number in PRTG. Otherwise it will be a string which can only be used in the "message" of a sensor.
best regards.
Jul, 2012 - Permalink