OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: wasmitedv on September 12, 2022, 08:29:07 AM

Title: SNMP: How do you ask for OPNsense Version?
Post by: wasmitedv on September 12, 2022, 08:29:07 AM
Hi all,
we collect SNMP data from all our OPNsense routers. Now i need to know, what version of OPNsense is installed on all routers.

Of course, there is OID 1.3.6.1.2.1.1.1.0 "FreeBSD MyLovelyRouter 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 stable/22.7-n250229-c8a7fd0d5dc SMP amd64"

But "22.7" is not enough. I would like to see "22.7.4".

OID 1.3.6.1.2.1.25.6.3.1.2.65 is my favorit, telling "opnsense-22.7.4". But i don't know, how this string is extracted with my snmp-tools.

How do you guys get this informations?

Any hints would be very appreciated.

Kind regards

Alex


Title: Re: SNMP: How do you ask for OPNsense Version?
Post by: Headless1919 on September 12, 2022, 12:36:19 PM
Hi Alex,

GUI, Services -> Net-SNMP ->  Display Version in OID. Tick that and poll, it should return the precise version.

The OID is also listed underneath (1.3.6.1.4.1.8072.1.3.2.3.1.2.7.118.101.114.115.105.111.110)
Title: Re: SNMP: How do you ask for OPNsense Version?
Post by: wasmitedv on September 12, 2022, 02:20:48 PM
Hi RZR,

this was too obvious for me ;-)  Thank you very much, with your tip i will get further...


Kind regards

Alex