SNMP: Check if date is today
Modified on 2025-06-10 12:48:40 +0200
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.
Important: We no longer maintain this article. The information might be out of date.
Hi,
with SNMP I can read the last replication date from a DataDomain, how I can verify if this date is today?
Article Comments
Hi Andrea,
It's most likely a string that could be retrieved with an SNMP Custom String sensor, though there are no further processing functionalities, at least for what you're trying to do like "Treat it as a date and compare it to the current date". Might be possible with a custom script that does the actual compare and only reports back to PRTG whether it's fine or not, I have unfortunately to "blueprint" for such a script that I could provide.
Kind regards,
Erhard
May, 2018 - Permalink
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.
Hi Andrea,
It's most likely a string that could be retrieved with an SNMP Custom String sensor, though there are no further processing functionalities, at least for what you're trying to do like "Treat it as a date and compare it to the current date". Might be possible with a custom script that does the actual compare and only reports back to PRTG whether it's fine or not, I have unfortunately to "blueprint" for such a script that I could provide.
Kind regards,
Erhard
May, 2018 - Permalink