All recent (version 14+) HP ProCurve switches expose the software revision in the lldpXMedLocalSoftwareRev (1.0.8802.1.1.2.1.5.4795.1.2.4.0) SNMP object.
My idea would be to check if this object is present, and if so set the Operating System (IOS Version) Node property to this.
Other locations this is available are:
- entPhysicalSoftwareRev (1.3.6.1.2.1.47.1.1.1.1.10.n) for the Chassis
- hpSwitchOsVersion (1.3.6.1.4.1.11.2.14.11.5.1.1.3.0)
- hpSwitchMgmtModuleVersion (1.3.6.1.4.1.11.2.14.11.5.1.59.1.3.1.4.n) for the management module