Answer the question
In order to leave comments, you need to log in
How to make different OIDs on the same devices in Zabbix template?
Essence of the question: there are a number of devices that have different OIDs for the same parameter (each device has its own). Why this is so is unknown ..
That is, on one device we will get the CPU load by this OID:
SNMPv2-SMI::enterprises.388.50.1.4.2.2.1.1.8.132.36.141.26.205.124 = Gauge32: 86
then on the other the same device with the same OID:
SNMPv2-SMI::enterprises.388.50.1.4.2.2.1.1.8.132.36.141.26.205.124 = No Such Instance currently exists at this OID
and it will already have another working OID:
SNMPv2-SMI ::enterprises.388.50.1.4.2.2.1.1.8.180.199.153.220.95.160 = Gauge32: 23
That is, there is only one base (SNMPv2-SMI::enterprises.388.50.1.4.2.2.1.1.8), it works fine with snmpwalk , according to snmpget (and in zabbix as well) is no longer there.
That is, a normal template cannot be done.
The question is, are there any built-in tools to get around this somehow?
Maybe through LLD or some other hack?
Answer the question
In order to leave comments, you need to log in
I think no. You will have to write templates for different groups of devices.
LLD, in my opinion, will not solve the problem - you still need to specify which OID to pull.
It was possible to find out that each device adds its MAC address converted to DEC at the end.
For example, SNMPv2-SMI::enterprises.388.50.1.4.2.2.1.1.8. 132.36.141.26.205.124 - at the end of mac one dot.
SNMPv2-SMI::enterprises.388.50.1.4.2.2.1.1.8. 180.199.153.220.95.160 - mac of another point.
So far I have done it in a simple way - in the template in the OID field I added the macro {$AP_ID}
For each point when adding, I specify it, respectively.
That is, it turned out SNMPv2-SMI::enterprises.388.50.1.4.2.2.1.1.8.{$AP_ID}
Probably, it can simply be automatically calculated, but I don’t know yet how to do it using Zabbix.
PS: These devices, if anything, are Motorola (Zebra) WiNG AP650, AP6532, AP7131 access points
Good Day Dmitry
Did you manage to solve the problem with monitoring Motorola (Zebra) points (now Extreme) in Zabbix?
If yes, could you share a template for Zabbix?
Greetings.
This task is solved in Zabbix with the help of LLD.
For example: The
SNMP OID for discovery might look like this:
discovery[{#SNMPVALUE},SNMPv2-SMI::enterprises.388.50.1.4.2.1.1.3]
And the SNMP OID of the element prototype that gets the number of connected clients like this:
SNMPv2-SMI::enterprises. 388.50.1.4.2.25.1.1.1.4.{#SNMPINDEX}.{#SNMPINDEX}
At the output, we get an element with an SNMP OID of type
SNMPv2-SMI::enterprises.388.50.1.4.2.25.1.1.1.4.116.103.247.15.18.11 .116.103.247.15.18.11 by which the number of connected clients is available.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question