LTE Signal Strength for RouterOS

I’m trying to add LTE signal data for RouterOS devices with LTE Modem’s attached. I am not sure how to report state correctly. And I am not sure how to report the Cell ID.

The signal data is working fine.
41 PM

State is being recorded - but not being matched against the data defined.

                        - { descr: unknown, graph: 1, value: -1, generic: 0 }
                        - { descr: gsmcompact, graph: 1, value: 0, generic: 2 }
                        - { descr: gsm, graph: 1, value: 1, generic: 2 }
                        - { descr: utran, graph: 1, value: 2, generic: 2 }
                        - { descr: egprs, graph: 1, value: 3, generic: 2 }
                        - { descr: hsdpa, graph: 1, value: 4, generic: 2 }
                        - { descr: hsupa, graph: 1, value: 5, generic: 2 }
                        - { descr: hsdpahsupa, graph: 1, value: 6, generic: 2 }
                        - { descr: eutran, graph: 1, value: 7, generic: 2 }

00 PM

I would also like to report the Cell ID - but have no idea how to do that within the health information framework.
.1.3.6.1.4.1.14988.1.1.16.1.1.5.107 = INTEGER: 10302220

I assume I have to handle the state somewhere outside of the definition file, I’d love a push in the right direction.

Can you show the MIB snippet for the state sensor?

As for the Cell id, I don’t know where you could do that. Does it change or is it fairly static?

Thanks for any advice @murrant
Working in reverse - Cell ID should be all-but static. In some circumstances, a change mixed with signal shift could indicate an issue (and possibly the source of the issue).

The state is under .1.3.6.1.4.1.14988.1.1.16.1.1.6.107 (currently 7) - MIB

                -
                    oid: mtxrLTEModemTable
                    value: mtxrLTEModemAccessTechnology
                    num_oid: .1.3.6.1.4.1.14988.1.1.16.1.1.6.
                    descr: 'LTE Modem {{ $mtxrLTEModemInterfaceIndex }} Access Technology'
                    index: 'mtxrLTEModemAccessTechnology.{{ $index }}'
                    state_name: mtxrLTEModemAccessTechnology
                    states:
                        - { descr: unknown, graph: 1, value: -1, generic: 0 }
                        - { descr: gsmcompact, graph: 1, value: 0, generic: 2 }
                        - { descr: gsm, graph: 1, value: 1, generic: 2 }
                        - { descr: utran, graph: 1, value: 2, generic: 2 }
                        - { descr: egprs, graph: 1, value: 3, generic: 2 }
                        - { descr: hsdpa, graph: 1, value: 4, generic: 2 }
                        - { descr: hsupa, graph: 1, value: 5, generic: 2 }
                        - { descr: hsdpahsupa, graph: 1, value: 6, generic: 2 }
                        - { descr: eutran, graph: 1, value: 7, generic: 2 }
| => snmpwalk -c public -v2c 10.61.15.254  .1.3.6.1.4.1.14988.1.1.16
.1.3.6.1.4.1.14988.1.1.16.1.1.1.107 = INTEGER: 107
.1.3.6.1.4.1.14988.1.1.16.1.1.2.107 = INTEGER: -80
.1.3.6.1.4.1.14988.1.1.16.1.1.3.107 = INTEGER: -8
.1.3.6.1.4.1.14988.1.1.16.1.1.4.107 = INTEGER: -107
.1.3.6.1.4.1.14988.1.1.16.1.1.5.107 = INTEGER: 10302220
.1.3.6.1.4.1.14988.1.1.16.1.1.6.107 = INTEGER: 7
.1.3.6.1.4.1.14988.1.1.16.1.1.7.107 = INTEGER: 12

44 PM

That all seems right for the state maybe pastebin discovery and poller debug. And mabye I’ll be able to see the issue.

For Cell ID, I can’t think of anything. Maybe you could do a state sensor with no states? That feels a bit odd.