I'm creating a Visual Overview for my Cisco switches. In some cases I have a very long description containing multiple lines:
Cisco IOS Software [Everest], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.6.4a, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Fri 26-Oct-18 18:15 by mcpre
In such case I would like to show only the first line in my Visual Overview. Is it possible to achieve this with RegexReplace? If not, is there another way without making changes to the connector?
Hi Jens,
From the content in the text I believe you are looking for the Cisco IOS version. Another option, apart from getting this value from the SNMP OID SysDescr, is to get this information from the SNMP table CiscoImageTable:
Name: ciscoImageTable
OID: 1.3.6.1.4.1.9.9.25.1.1
MIB: CISCO-IMAGE-MIB
Below an example of the information retrieved from this table: