Community discussions

MikroTik App
 
angboontiong
Forum Guru
Forum Guru
Topic Author
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Serial number oid via snmp...

Fri Jul 17, 2015 5:08 am

Hi,

anyone know what's the oid for the serial number?
and, it applicable to what version RouteroS?
 
angboontiong
Forum Guru
Forum Guru
Topic Author
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Re: Serial number oid via snmp...

Mon Jul 20, 2015 4:11 am

Mikrotik,

Can share this oid information???
 
IntrusDave
Forum Guru
Forum Guru
Posts: 1286
Joined: Fri May 09, 2014 4:36 am
Location: Rancho Cucamonga, CA

Re: Serial number oid via snmp...

Mon Jul 20, 2015 5:44 am

RouterOS gives very limited snmp information.
I think you can only get the model number and uptime. (in addition to standard network info)
 
angboontiong
Forum Guru
Forum Guru
Topic Author
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Re: Serial number oid via snmp...

Wed Jul 22, 2015 10:18 am

I am looking on the What'sup Gold inventory feature, but some how, need the routerboard snmp to read the serial number.
Normund replied me it's impossible.

anyway to get it?
 
User avatar
doneware
Trainer
Trainer
Posts: 647
Joined: Mon Oct 08, 2012 8:39 pm
Location: Hungary

Re: Serial number oid via snmp...

Wed Jul 22, 2015 11:04 am

#router serial number / mtxrSerialNumber
$ snmpwalk -v 2c -c public 10.10.10.129 1.3.6.1.4.1.14988.1.1.7.3.0
SNMPv2-SMI::enterprises.14988.1.1.7.3.0 = STRING: "49CE02AA7FE6"

#software id / mtxrLicSoftwareId
$ snmpwalk -v 2c -c public 10.10.10.129 1.3.6.1.4.1.14988.1.1.4.1.0
SNMPv2-SMI::enterprises.14988.1.1.4.1.0 = STRING: "2IBN-07QN"
 
angboontiong
Forum Guru
Forum Guru
Topic Author
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Re: Serial number oid via snmp...

Wed Jul 22, 2015 6:42 pm

#router serial number / mtxrSerialNumber
$ snmpwalk -v 2c -c public 10.10.10.129 1.3.6.1.4.1.14988.1.1.7.3.0
SNMPv2-SMI::enterprises.14988.1.1.7.3.0 = STRING: "49CE02AA7FE6"

#software id / mtxrLicSoftwareId
$ snmpwalk -v 2c -c public 10.10.10.129 1.3.6.1.4.1.14988.1.1.4.1.0
SNMPv2-SMI::enterprises.14988.1.1.4.1.0 = STRING: "2IBN-07QN"
Tried, it's invalid...
:? :? :?
 
User avatar
tomaskir
Trainer
Trainer
Posts: 1162
Joined: Sat Sep 24, 2011 2:32 pm
Location: Slovakia

Re: Serial number oid via snmp...

Wed Jul 22, 2015 6:47 pm

.1.3.6.1.4.1.14988.1.1.7.3.0 works for me for Serial number.
Remember that x86 RouterOS doesnt have serial number.

What RouterOS version are you using?
 
angboontiong
Forum Guru
Forum Guru
Topic Author
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Re: Serial number oid via snmp...

Thu Jul 23, 2015 5:54 am

.1.3.6.1.4.1.14988.1.1.7.3.0 works for me for Serial number.
Remember that x86 RouterOS doesnt have serial number.

What RouterOS version are you using?
If not mistaken you using snmp walk right, then it may go to your routerboard but not for all...
i have different version of the RouterOS and non of them success to read...
 
User avatar
tomaskir
Trainer
Trainer
Posts: 1162
Joined: Sat Sep 24, 2011 2:32 pm
Location: Slovakia

Re: Serial number oid via snmp...

Thu Jul 23, 2015 10:30 am

If not mistaken you using snmp walk right, then it may go to your routerboard but not for all...
i have different version of the RouterOS and non of them success to read...
What version of RouterOS do you have?
 
User avatar
doneware
Trainer
Trainer
Posts: 647
Joined: Mon Oct 08, 2012 8:39 pm
Location: Hungary

Re: Serial number oid via snmp...

Fri Jul 24, 2015 12:37 pm

just walk from 1.3.6.1.4.1.14988.1.1.7 or 1.3.6.1.4.1.14988.1.1.4 and you'll see what is implemented in the current ROS you are running. the serial number seems to be a late addition, OID-view does not list this at all:

mtxrSystem mtxrSystem 1.3.6.1.4.1.14988.1.1.7
mtxrSystemReboot mtxrSystemReboot 1.3.6.1.4.1.14988.1.1.7.1
mtxrUSBPowerReset mtxrUSBPowerReset 1.3.6.1.4.1.14988.1.1.7.2

Who is online

Users browsing this forum: AtisE, Google [Bot] and 20 guests