TECHZEN Zenoss User Community ARCHIVE  

Can I monitor a dynamic OID?

Subject: Can I monitor a dynamic OID?
Author: Joan
Posted: 2014-10-23 02:24

I am trying to monitor some mikrotik antennas to get signal quality, etc. The OID for those values is formed according the integer representation of the MAC address of the remote AP.
So it would be something like
Antenna1 is connected to Antenna2 (mac 00:0A:E4:28:72:90 (hex) or 0.10.228.40.114.144 (decimal))
Then to monitor the link, I should poll on Antenna1 for

.mtXRouterOs.mtxrWireless.mtxrWlRtabTable.mtxrWlRtabEntry.mtxrWltabStrength.0.10.228.40.114.144

Note the last part being the mac in decimal

Info extracted from (http://wiki.mikrotik.com/wiki/Graphing_Client_Signal_Strength)

Could I use any of the zValues defined on configuration properties, to store the mac in decimal and use it as a variable on the OID part of the query



Subject: Thanks to @trelane in the dev
Author: Joan
Posted: 2014-10-24 02:11

Thanks to @trelane in the dev hours chat, it's finally resolved, it's not scalable, but it works ..
- Create a new template only for antennas, there should the metrics for frequency (oid), signal and snr.
- Frequency is OID .1.3.6.1.4.1.14988.1.1.1.3.1.7.2
- Signal and SNR can be obtained via "/interface wireless registration-table print oid " values strength and signal-to-noise

Finally when you are on the device, you can choose override template here, and customize the two specific values.



Subject: I'm glad this at least starts
Author: Andrew Kirch
Posted: 2014-10-27 15:48

I'm glad this at least starts to resolve it. As I noted, writing a modeler for those OIDs will get you a more automated/scalable solution. Keep up the awesome work on the Mikrotik ZenPack, I'm a huge fan of Mikrotik!

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
Flood of Windows Remote Management Errors in Windows System Log
  Next
No email notification when event trigger
>