I'm trying to read out Cisco IOS version and hardware model but it's failing also after upgrading PRTG network monitor to the latest version 14.2.10.2114+

I'm using the snmp custom sensor and OID value 1.3.6.1.2.1.1.1.0

The result I get is ''Cisco IOS Software, 3800 Software (C3825-SPSERVICESK9-M), Version 15.0(1)M3, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Sun 18-Jul-10 05:11 by prod_rel_team'' is not a valid integer value

What I'm doing wrong?

Many thanks in advance for your guidance.


Article Comments

Hello,

as this is a string "value", please use the SNMP Custom String Sensor instead to monitor it.

best regards.


Jun, 2014 - Permalink

Do you know what the regular expression would be to extract the version #?

I tried this but it did not work: \b(Version)([^,]+)


May, 2021 - Permalink

Hello,

PRTG can only extract scalar values because each sensor channel contains a numeric value. Please check your regex with an online tester which parts of the strings are matched.


May, 2021 - Permalink