I have multiple SNMP Custom String Sensors that read the licence expiry date from different devices. Is it possible to calculate the remaining days until this date, so I can configure a channel limit and a notification trigger within this sensor? The format looks like this: Tue Feb 25 02:00:00 2025 Any other suggestions in case this is not possible?
Extract Days Until from Date string in SNMP Custom String Sensor
Modified on 2025-06-10 16:58:53 +0200
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.
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.
Hello Jannik,
Usually for calculating values derived from sensor data you could use our Sensor Factory Sensors but they only work for numerical values and not for dates.
Apart from that we currently have no other solution available in PRTG.
Kind regards,
Johannes Beyerlein, Technical Support Team
Sep, 2022 - Permalink