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

Can I split a resulting OID string and compare two parts?

Votes:

0

The WatchGuard presents its Firmware version from OID "1.3.6.1.4.1.3097.6.3.1.0" as something like '<sysa:12.8.2.B668649> <sysb:12.6.2.B295202>'. If the values for 'sysa' and 'sysb' are different, a new firmware version is available.

How might one remove the '<sys[a,b]:' and tailing '>' and then compare the two so that an alert can be raised, or not? Or even simpler, split the string in half and compare the two resulting string.

lookup prtg watchguard

Created on Feb 15, 2023 12:08:15 AM



1 Reply

Votes:

0

I worked it out. I was over thinking the problem. I ended up just adding the sensor as an "SNMP Custom String" and then monitored the OID for changes. In other words, if the string changes, we get an alert. Given that the only two situations where the string changes is when there's an update available, or when we apply an update. In either case, we get an alert which is fine.

Created on Feb 15, 2023 8:45:24 PM




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.