Hello.
My primary question is about using (or understanding) SNMP tables. I have to monitor many radio devices - this particular part of snmpwalk i've got from MikroTik v5.19:
My question is: Can i use those tables somehow (like, can LLD help me with that? Or there is another (better) way to grab this data into items?) And what about his strange ' ' part (is it ASCII string instead of OID or something entirely else?)?
Second thing:
When i use LLD, it's easy to get ALL interfaces from a device. Like this (taken form snmpwalk trough Ubiquiti radio device):
But i don't need/want to monitor interface lo, eth1 or br0.
Is it possible (how?) to enhance a template/LLD rule/action , so when it finds item like these, it will automatically disable it? And better yet, disable all items with same {SNMPINDEX}? It is doable manually, but... :/
Third thing:
Can i change list of columns showed in Host Inventories? I don't need MAC address, but IP address would be nice...
Fourth thing:
Thanks for all answers/ideas
My primary question is about using (or understanding) SNMP tables. I have to monitor many radio devices - this particular part of snmpwalk i've got from MikroTik v5.19:
Code:
MIKROTIK-MIB::mtxrWlRtabAddr.'.....!'.5 = STRING: foobarMacHere MIKROTIK-MIB::mtxrWlRtabAddr.'...".v'.4 = STRING: foobarMacHere MIKROTIK-MIB::mtxrWlRtabAddr.'..m..G'.4 = STRING: foobarMacHere MIKROTIK-MIB::mtxrWlRtabAddr.'..m.HU'.4 = STRING: foobarMacHere MIKROTIK-MIB::mtxrWlRtabAddr.'..m.+.'.4 = STRING: foobarMacHere MIKROTIK-MIB::mtxrWlRtabAddr.'..m.8.'.4 = STRING: foobarMacHere MIKROTIK-MIB::mtxrWlRtabAddr.'..m.p.'.4 = STRING: foobarMacHere MIKROTIK-MIB::mtxrWlRtabAddr.'..m...'.4 = STRING: foobarMacHere MIKROTIK-MIB::mtxrWlRtabAddr.'.%....'.4 = STRING: foobarMacHere MIKROTIK-MIB::mtxrWlRtabAddr.'.%....'.4 = STRING: foobarMacHere MIKROTIK-MIB::mtxrWlRtabStrength.'.....!'.5 = INTEGER: -50 MIKROTIK-MIB::mtxrWlRtabStrength.'...".v'.4 = INTEGER: -55 MIKROTIK-MIB::mtxrWlRtabStrength.'..m..G'.4 = INTEGER: -62 MIKROTIK-MIB::mtxrWlRtabStrength.'..m.HU'.4 = INTEGER: -72 MIKROTIK-MIB::mtxrWlRtabStrength.'..m.+.'.4 = INTEGER: -54 MIKROTIK-MIB::mtxrWlRtabStrength.'..m.8.'.4 = INTEGER: -50 MIKROTIK-MIB::mtxrWlRtabStrength.'..m.p.'.4 = INTEGER: -52 MIKROTIK-MIB::mtxrWlRtabStrength.'..m...'.4 = INTEGER: -60 MIKROTIK-MIB::mtxrWlRtabStrength.'.%....'.4 = INTEGER: -63 MIKROTIK-MIB::mtxrWlRtabStrength.'.%....'.4 = INTEGER: -59 MIKROTIK-MIB::mtxrWlRtabTxBytes.'.....!'.5 = Counter32: 1963390671 MIKROTIK-MIB::mtxrWlRtabTxBytes.'...".v'.4 = Counter32: 3218338608 MIKROTIK-MIB::mtxrWlRtabTxBytes.'..m..G'.4 = Counter32: 2329599658 MIKROTIK-MIB::mtxrWlRtabTxBytes.'..m.HU'.4 = Counter32: 3541346957 MIKROTIK-MIB::mtxrWlRtabTxBytes.'..m.+.'.4 = Counter32: 346319474 MIKROTIK-MIB::mtxrWlRtabTxBytes.'..m.8.'.4 = Counter32: 2830349255 MIKROTIK-MIB::mtxrWlRtabTxBytes.'..m.p.'.4 = Counter32: 139348099 MIKROTIK-MIB::mtxrWlRtabTxBytes.'..m...'.4 = Counter32: 2543868 MIKROTIK-MIB::mtxrWlRtabTxBytes.'.%....'.4 = Counter32: 3840937769 MIKROTIK-MIB::mtxrWlRtabTxBytes.'.%....'.4 = Counter32: 366773486 MIKROTIK-MIB::mtxrWlRtabRxBytes.'.....!'.5 = Counter32: 2868434694 MIKROTIK-MIB::mtxrWlRtabRxBytes.'...".v'.4 = Counter32: 1411790007 MIKROTIK-MIB::mtxrWlRtabRxBytes.'..m..G'.4 = Counter32: 1637279215 MIKROTIK-MIB::mtxrWlRtabRxBytes.'..m.HU'.4 = Counter32: 3340339499 MIKROTIK-MIB::mtxrWlRtabRxBytes.'..m.+.'.4 = Counter32: 342542361 MIKROTIK-MIB::mtxrWlRtabRxBytes.'..m.8.'.4 = Counter32: 3551914919 MIKROTIK-MIB::mtxrWlRtabRxBytes.'..m.p.'.4 = Counter32: 1815208269 MIKROTIK-MIB::mtxrWlRtabRxBytes.'..m...'.4 = Counter32: 1524405 MIKROTIK-MIB::mtxrWlRtabRxBytes.'.%....'.4 = Counter32: 982670281 MIKROTIK-MIB::mtxrWlRtabRxBytes.'.%....'.4 = Counter32: 1659748701 MIKROTIK-MIB::mtxrWlRtabTxPackets.'.....!'.5 = Counter32: 2741949677 MIKROTIK-MIB::mtxrWlRtabTxPackets.'...".v'.4 = Counter32: 64429578 MIKROTIK-MIB::mtxrWlRtabTxPackets.'..m..G'.4 = Counter32: 23175607 MIKROTIK-MIB::mtxrWlRtabTxPackets.'..m.HU'.4 = Counter32: 64809202 MIKROTIK-MIB::mtxrWlRtabTxPackets.'..m.+.'.4 = Counter32: 7085043 MIKROTIK-MIB::mtxrWlRtabTxPackets.'..m.8.'.4 = Counter32: 69807338 MIKROTIK-MIB::mtxrWlRtabTxPackets.'..m.p.'.4 = Counter32: 22328772 MIKROTIK-MIB::mtxrWlRtabTxPackets.'..m...'.4 = Counter32: 20746 MIKROTIK-MIB::mtxrWlRtabTxPackets.'.%....'.4 = Counter32: 253290763 MIKROTIK-MIB::mtxrWlRtabTxPackets.'.%....'.4 = Counter32: 448449203 MIKROTIK-MIB::mtxrWlRtabRxPackets.'.....!'.5 = Counter32: 3740223111 MIKROTIK-MIB::mtxrWlRtabRxPackets.'...".v'.4 = Counter32: 46948956 MIKROTIK-MIB::mtxrWlRtabRxPackets.'..m..G'.4 = Counter32: 15017457 MIKROTIK-MIB::mtxrWlRtabRxPackets.'..m.HU'.4 = Counter32: 43770760 MIKROTIK-MIB::mtxrWlRtabRxPackets.'..m.+.'.4 = Counter32: 4362405 MIKROTIK-MIB::mtxrWlRtabRxPackets.'..m.8.'.4 = Counter32: 57005224 MIKROTIK-MIB::mtxrWlRtabRxPackets.'..m.p.'.4 = Counter32: 13887810 MIKROTIK-MIB::mtxrWlRtabRxPackets.'..m...'.4 = Counter32: 11227 MIKROTIK-MIB::mtxrWlRtabRxPackets.'.%....'.4 = Counter32: 156086145 MIKROTIK-MIB::mtxrWlRtabRxPackets.'.%....'.4 = Counter32: 283405448 MIKROTIK-MIB::mtxrWlRtabTxRate.'.....!'.5 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabTxRate.'...".v'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabTxRate.'..m..G'.4 = Gauge32: 48000000 MIKROTIK-MIB::mtxrWlRtabTxRate.'..m.HU'.4 = Gauge32: 24000000 MIKROTIK-MIB::mtxrWlRtabTxRate.'..m.+.'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabTxRate.'..m.8.'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabTxRate.'..m.p.'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabTxRate.'..m...'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabTxRate.'.%....'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabTxRate.'.%....'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabRxRate.'.....!'.5 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabRxRate.'...".v'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabRxRate.'..m..G'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabRxRate.'..m.HU'.4 = Gauge32: 48000000 MIKROTIK-MIB::mtxrWlRtabRxRate.'..m.+.'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabRxRate.'..m.8.'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabRxRate.'..m.p.'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabRxRate.'..m...'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabRxRate.'.%....'.4 = Gauge32: 48000000 MIKROTIK-MIB::mtxrWlRtabRxRate.'.%....'.4 = Gauge32: 54000000 MIKROTIK-MIB::mtxrWlRtabRouterOSVersion.'.....!'.5 = STRING: MIKROTIK-MIB::mtxrWlRtabRouterOSVersion.'...".v'.4 = STRING: MIKROTIK-MIB::mtxrWlRtabRouterOSVersion.'..m..G'.4 = STRING: MIKROTIK-MIB::mtxrWlRtabRouterOSVersion.'..m.HU'.4 = STRING: MIKROTIK-MIB::mtxrWlRtabRouterOSVersion.'..m.+.'.4 = STRING: MIKROTIK-MIB::mtxrWlRtabRouterOSVersion.'..m.8.'.4 = STRING: MIKROTIK-MIB::mtxrWlRtabRouterOSVersion.'..m.p.'.4 = STRING: MIKROTIK-MIB::mtxrWlRtabRouterOSVersion.'..m...'.4 = STRING: MIKROTIK-MIB::mtxrWlRtabRouterOSVersion.'.%....'.4 = STRING: MIKROTIK-MIB::mtxrWlRtabRouterOSVersion.'.%....'.4 = STRING: MIKROTIK-MIB::mtxrWlRtabUptime.'.....!'.5 = Timeticks: (596353100) 69 days, 0:32:11.00 MIKROTIK-MIB::mtxrWlRtabUptime.'...".v'.4 = Timeticks: (96449700) 11 days, 3:54:57.00 MIKROTIK-MIB::mtxrWlRtabUptime.'..m..G'.4 = Timeticks: (26620700) 3 days, 1:56:47.00 MIKROTIK-MIB::mtxrWlRtabUptime.'..m.HU'.4 = Timeticks: (58640000) 6 days, 18:53:20.00 MIKROTIK-MIB::mtxrWlRtabUptime.'..m.+.'.4 = Timeticks: (16395200) 1 day, 21:32:32.00 MIKROTIK-MIB::mtxrWlRtabUptime.'..m.8.'.4 = Timeticks: (80330200) 9 days, 7:08:22.00 MIKROTIK-MIB::mtxrWlRtabUptime.'..m.p.'.4 = Timeticks: (96580800) 11 days, 4:16:48.00 MIKROTIK-MIB::mtxrWlRtabUptime.'..m...'.4 = Timeticks: (303100) 0:50:31.00 MIKROTIK-MIB::mtxrWlRtabUptime.'.%....'.4 = Timeticks: (423815000) 49 days, 1:15:50.00 MIKROTIK-MIB::mtxrWlRtabUptime.'.%....'.4 = Timeticks: (423044700) 48 days, 23:07:27.00 MIKROTIK-MIB::mtxrWlRtabSignalToNoise.'.....!'.5 = INTEGER: 53 MIKROTIK-MIB::mtxrWlRtabSignalToNoise.'...".v'.4 = INTEGER: 49 MIKROTIK-MIB::mtxrWlRtabSignalToNoise.'..m..G'.4 = INTEGER: 43 MIKROTIK-MIB::mtxrWlRtabSignalToNoise.'..m.HU'.4 = INTEGER: 28 MIKROTIK-MIB::mtxrWlRtabSignalToNoise.'..m.+.'.4 = INTEGER: 48 MIKROTIK-MIB::mtxrWlRtabSignalToNoise.'..m.8.'.4 = INTEGER: 51 MIKROTIK-MIB::mtxrWlRtabSignalToNoise.'..m.p.'.4 = INTEGER: 52 MIKROTIK-MIB::mtxrWlRtabSignalToNoise.'..m...'.4 = INTEGER: 45 MIKROTIK-MIB::mtxrWlRtabSignalToNoise.'.%....'.4 = INTEGER: 41 MIKROTIK-MIB::mtxrWlRtabSignalToNoise.'.%....'.4 = INTEGER: 45
Second thing:
When i use LLD, it's easy to get ALL interfaces from a device. Like this (taken form snmpwalk trough Ubiquiti radio device):
Code:
IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth0 IF-MIB::ifDescr.3 = STRING: eth1 IF-MIB::ifDescr.4 = STRING: wifi0 IF-MIB::ifDescr.5 = STRING: ath0 IF-MIB::ifDescr.6 = STRING: br0
Is it possible (how?) to enhance a template/LLD rule/action , so when it finds item like these, it will automatically disable it? And better yet, disable all items with same {SNMPINDEX}? It is doable manually, but... :/
Third thing:
Can i change list of columns showed in Host Inventories? I don't need MAC address, but IP address would be nice...
Fourth thing:
Thanks for all answers/ideas
Comment