Community discussions

MikroTik App
 
AndreiB
just joined
Topic Author
Posts: 7
Joined: Wed Aug 11, 2021 1:38 pm

Zabbix LTE modem- RSRP with SNMP

Fri Oct 01, 2021 9:58 am

Hi, I've bought RBSXTR&R11e-LTE and I want to collect data about it with Zabbix.
With just Zabbix template for Mikrotik, he collect few items just. I want it to get RSRP and SINR and volumen used by it.
Have someone tried to add it to the template, or created/found a template for Zabbix collecting data above?
Image
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1888
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: Zabbix LTE modem- RSRP with SNMP

Fri Oct 01, 2021 10:29 am

Forum thread's about this:
Global var empty when scripting, but exist in terminal. [SOLVED]
Remote monitoring of 4g RB SXT LTE6 routers
Mikrotik LTE adaptor SNMP results inconsistent

For now I not collect that info to Zabbix and not have a template. We can do it. I use a R11e-LTE6 and by SNMP OID we can grab info and put graph's.
# enable SNMP Engine
snmp/set enabled=yes

# search OID ID of lte1 interface
tool/snmp-walk address=127.0.0.1 oid=1.3.6.1.4.1.14988.1.1.14.1.1.2
Columns: OID, TYPE, VALUE
OID                               TYPE          VALUE    
1.3.6.1.4.1.14988.1.1.14.1.1.2.1  octet-string  ether1   
1.3.6.1.4.1.14988.1.1.14.1.1.2.2  octet-string  lte1     
1.3.6.1.4.1.14988.1.1.14.1.1.2.4  octet-string  l2tp-out1

# SINR
tool/snmp-walk address=127.0.0.1 oid=1.3.6.1.4.1.14988.1.1.16.1.1.7
1.3.6.1.4.1.14988.1.1.16.1.1.7.2  integer      6

# RSRP
tool/snmp-walk address=127.0.0.1 oid=1.3.6.1.4.1.14988.1.1.16.1.1.4
1.3.6.1.4.1.14988.1.1.16.1.1.4.2  integer  -100

# RSRQ
tool/snmp-walk address=127.0.0.1 oid=1.3.6.1.4.1.14988.1.1.16.1.1.3
1.3.6.1.4.1.14988.1.1.16.1.1.3.2  integer  -8  

# RSSI
tool/snmp-walk address=127.0.0.1 oid=1.3.6.1.4.1.14988.1.1.16.1.1.2
1.3.6.1.4.1.14988.1.1.16.1.1.2.2  integer  -79

# Current Cell ID
tool/snmp-walk address=127.0.0.1 oid=1.3.6.1.4.1.14988.1.1.16.1.1.5
1.3.6.1.4.1.14988.1.1.16.1.1.5.2  integer  2851360

General
tool/snmp-walk address=127.0.0.1 oid=1.3.6.1.4.1.14988.1.1.16
Columns: OID, TYPE, VALUE
OID TYPE VALUE
1.3.6.1.4.1.14988.1.1.16.1.1.2.2 integer -81 rssi
1.3.6.1.4.1.14988.1.1.16.1.1.3.2 integer -9 rsrq
1.3.6.1.4.1.14988.1.1.16.1.1.4.2 integer -100 rsrp
1.3.6.1.4.1.14988.1.1.16.1.1.5.2 integer 2851360 current-cellid
1.3.6.1.4.1.14988.1.1.16.1.1.6.2 integer 9
1.3.6.1.4.1.14988.1.1.16.1.1.7.2 integer 6 sinr
1.3.6.1.4.1.14988.1.1.16.1.1.8.2 integer 11138 end-id
1.3.6.1.4.1.14988.1.1.16.1.1.9.2 integer 32 sector-id
1.3.6.1.4.1.14988.1.1.16.1.1.10.2 integer 11009 lac
1.3.6.1.4.1.14988.1.1.16.1.1.11.2 octet-string 356662100257465 imei
1.3.6.1.4.1.14988.1.1.16.1.1.12.2 octet-string 260121000490483 imsi
1.3.6.1.4.1.14988.1.1.16.1.1.13.2 octet-string 8948121010004904830 uicc
1.3.6.1.4.1.14988.1.1.16.1.1.14.2 octet-string LTE (CA2) access-technology
 
AndreiB
just joined
Topic Author
Posts: 7
Joined: Wed Aug 11, 2021 1:38 pm

Re: Zabbix LTE modem- RSRP with SNMP

Fri Oct 01, 2021 3:05 pm

I haven't even noticed I've commented on someone else post... You're the best, thanks for helping
Great! I'll try to work on it. For now, I ll just add items by GUI to the existing preinstalled template on Zabbix for MikroTik
Figuring out what "key" means, but I'm a fast learner, 2 hours ago there was no way that I collect mib from the device :D
in the context of snmp checks, the key can be whatever you want. its just a way to uniquely identify the item. as an example, heres how i do my snmp check for system uptime:
snmp oid = iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.0
key = sysUpTime
now in the triggers, i can refer to this item as {HOSTNAME}.sysUpTime. i might want to send myself an alert when "{{HOSTNAME}.sysUpTime.last(0)}<500".
ps: {HOSTNAME} is a variable that holds the hostname of the device were talking about.
nvm got it, i ll continue to work and update You as i got something working

Idk can it differ by the module (my device has 2 sim slots working on 1 module, so it can't go with 2 simmitunisly), but I've look up for uid with Paessler SNMP tester, and it turnes out my RSRP is at 1.3.6.1.4.1.14988.1.1.16.1.1.4.1, when your seems ot be with 2 at the end
#RSRP
01.10.2021 13:21:39 (8245 ms) : 1.3.6.1.4.1.14988.1.1.16.1.1.4.1 = "-103" [ASN_INTEGER
#RSRQ
01.10.2021 13:21:39 (8237 ms) : 1.3.6.1.4.1.14988.1.1.16.1.1.3.1 = "-13" [ASN_INTEGER] 
#SINR
01.10.2021 13:21:39 (8279 ms) : 1.3.6.1.4.1.14988.1.1.16.1.1.7.1 = "5" [ASN_INTEGER] 
Of course correct me if i'm wrong, i'm newbie, and you're expert here

Done with gui Image
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1888
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: Zabbix LTE modem- RSRP with SNMP

Sat Oct 02, 2021 5:34 pm

And you finish or you plan monitor some more ?
Probably after some reboots etc. the OID will change and best way will be to use a Detection in Zabbix to fix OID.
 
AndreiB
just joined
Topic Author
Posts: 7
Joined: Wed Aug 11, 2021 1:38 pm

Re: Zabbix LTE modem- RSRP with SNMP

Mon Oct 04, 2021 9:53 am

And you finish or you plan monitor some more ?
Probably after some reboots etc. the OID will change and best way will be to use a Detection in Zabbix to fix OID.
I will try to collect how much data have modem used, would be nice to know when I'm close to run out of data on SIM cards.
I have no clue how to use detection in Zabbix, gonna lookout for it on the web.

Urfonutley, the problem occurred, one of the modems didn't report Zabbix data how it should...
Image

Might it be a hardware problem, or do I have to change something in WinBox? The problem as You can see is with reporting data simultaneously, and with RSRP at all (OID is correct, I've checked it with the app)
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1888
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: Zabbix LTE modem- RSRP with SNMP

Mon Oct 04, 2021 12:06 pm

Go to template, export it and attach here. I can try monitor few my units and give feedback too
You can add to this graph a ping of host be see if this host not have lost package.
 
AndreiB
just joined
Topic Author
Posts: 7
Joined: Wed Aug 11, 2021 1:38 pm

Re: Zabbix LTE modem- RSRP with SNMP

Mon Oct 04, 2021 3:02 pm

Go to template, export it and attach here. I can try monitor few my units and give feedback too
You can add to this graph a ping of host be see if this host not have lost package.
Thanks a lot for Your help, that's invaluable help for me
You do not have the required permissions to view the files attached to this post.
 
AndreiB
just joined
Topic Author
Posts: 7
Joined: Wed Aug 11, 2021 1:38 pm

Re: Zabbix LTE modem- RSRP with SNMP

Fri Oct 08, 2021 8:43 am

Hi,
Have You come out with a solution on how to get usage of data by sim?
 
kokeny92
just joined
Posts: 2
Joined: Mon Dec 07, 2020 10:10 am

Re: Zabbix LTE modem- RSRP with SNMP

Mon Nov 29, 2021 10:47 am

BTW. Is Zabbix totally free? or there are device limitations that you can manage with free version of Zabbix.
 
User avatar
karlisi
Member
Member
Posts: 437
Joined: Mon May 31, 2004 8:09 am
Location: Latvia

Re: Zabbix LTE modem- RSRP with SNMP

Mon Nov 29, 2021 8:44 pm

Zabbix is an enterprise-class open source distributed monitoring solution.
Zabbix is free of cost. Zabbix is written and distributed under the GPL General Public License version 2. It means that its source code is freely distributed and available for the general public.
Commercial support is available and provided by Zabbix Company and its partners around the world.
https://www.zabbix.com/documentation/5. ... tion/about

Who is online

Users browsing this forum: ekinsl and 71 guests