DX NetOps Spectrum all currently supported releases
The OID that contains the version is:
1.3.6.1.4.1.12356.103.2.1.7.0 , OctetString , v7.4.7-build2685 250527 (GA.M)
This is fmSysVersion
Searching for this on the FortinetFortiManager ModelType, it is attribute 0х5b109аб:
Adding this to the NRM_RunningFirmwareAttr using MTE (NOTE: you need to shutdown SpectroSERVER first) for the device Model Type (in this case - FortinetFortiManager):
And then adding the following filter to extract the firmware version number (7.4.7) from the string - v7.4.7-build2685 250527 (GA.M)
v(\d+\.\d+\.\d+)
where:
v: Matches the literal character "v" at the start of the version string.
( ... ): A Capturing Group that isolates the part you want to extract.
\d+: Matches one or more digits (e.g., "7").
\.: Matches a literal dot (.).
\d+: Matches the second set of digits (e.g., "4").
\.: Matches the second literal dot (.).
\d+: Matches the final set of digits (e.g., "7").
Add this to NRM_RunningFirmwareFilters attribute using MTE, then commit to database.
This will allow it to fill in the Firmware after device reconfigure or discovery:
NOTE: While the above is for a Fortinet device, the same process can be used for any other make/model. The steps are:
NRM_RunningFirmwareAttr using MTE to the Model Type for the device. In the above example, this was FortinetFortiManager.NRM_RunningFirmwareFilters attribute using MTE for same Model Type, then commit to database.