- Zabbix + TP-Link
- Available solutions
- TP-LINK by SNMP
- Overview
- Known issues
- Requirements
- Tested versions
- Configuration
- Setup
- Macros used
- Items
- Triggers
- LLD rule CPU Discovery
- Item prototypes for CPU Discovery
- Trigger prototypes for CPU Discovery
- LLD rule Memory Discovery
- Item prototypes for Memory Discovery
- Trigger prototypes for Memory Discovery
- LLD rule Network interfaces discovery
- Item prototypes for Network interfaces discovery
- Trigger prototypes for Network interfaces discovery
- Feedback
Zabbix + TP-Link
TP-Link Technologies Co., Ltd., is a Chinese manufacturer of computer networking products based.
Available solutions
TP-LINK by SNMP
Overview
Known issues
- Description: ‘Default sysLocation, sysName and sysContact is not filled with proper data. Real hostname and location can be found only in private branch (TPLINK-SYSINFO-MIB). Please check whether this problem exists in the latest firmware: https://www.tp-link.com/en/support/download/t2600g-28ts/#Firmware’ version: 2.0.0 Build 20170628 Rel.55184 (Beta) device: T2600G-28TS 2.0
- Description: The Serial number of the product (tpSysInfoSerialNum) is missing in HW versions prior to V2_170323 version: Prior to version V2_170323 device: T2600G-28TS 2.0
Requirements
Zabbix version: 6.4 and higher.
Tested versions
This template has been tested on:
Configuration
Zabbix should be configured according to instructions in the Templates out of the box section.
Setup
Refer to the vendor documentation.
Macros used
Filter out loopbacks, nulls, docker veth links and docker0 bridge by default
Ignore down(2) administrative status
Items
The hardware version of the product.
Preprocessing
The Serial number of the product.
Preprocessing
The software version of the product.
Preprocessing
The hardware version of the product.
Preprocessing
Discovering TPLINK-SYSMONITOR-MIB::tpSysMonitorCpuTable, displays the CPU utilization of all UNITs.
Discovering TPLINK-SYSMONITOR-MIB::tpSysMonitorMemoryTable, displays the memory utilization of all UNITs.
The time (in hundredths of a second) since the network management portion of the system was last re-initialized.
Preprocessing
The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system.
Preprocessing
The item is used to collect all SNMP traps unmatched by other snmptrap items
Discard unchanged with heartbeat: 12h`
The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
Preprocessing
Discard unchanged with heartbeat: 12h`
An administratively-assigned name for this managed node.By convention, this is the node’s fully-qualified domain name. If the name is unknown, the value is the zero-length string.
Preprocessing
A textual description of the entity. This value should
include the full name and version identification of the system’s hardware type, software operating-system, and
Preprocessing
Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
Discovering interfaces from IF-MIB.
Triggers
Device serial number has changed. Acknowledge to close the problem manually.
Firmware version has changed. Acknowledge to close the problem manually.
Uptime is less than 10 minutes.
The name of the system has changed. Acknowledge to close the problem manually.
SNMP is not available for polling. Please check device connectivity and SNMP settings.
Last three attempts returned timeout. Please check device connectivity.
- TP-LINK: Unavailable by ICMP ping
- TP-LINK: High ICMP ping loss
- TP-LINK: Unavailable by ICMP ping
LLD rule CPU Discovery
Discovering TPLINK-SYSMONITOR-MIB::tpSysMonitorCpuTable, displays the CPU utilization of all UNITs.
Preprocessing
Item prototypes for CPU Discovery
Displays the CPU utilization in 1 minute.
Preprocessing
Trigger prototypes for CPU Discovery
The CPU utilization is too high. The system might be slow to respond.
LLD rule Memory Discovery
Discovering TPLINK-SYSMONITOR-MIB::tpSysMonitorMemoryTable, displays the memory utilization of all UNITs.
Preprocessing
Item prototypes for Memory Discovery
Displays the memory utilization.
Preprocessing
Trigger prototypes for Memory Discovery
The system is running out of free memory.
LLD rule Network interfaces discovery
Discovering interfaces from IF-MIB.
Preprocessing
Item prototypes for Network interfaces discovery
The current operational state of the interface.
— The testing(3) state indicates that no operational packet scan be passed
— If ifAdminStatus is down(2) then ifOperStatus should be down(2)
— If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic
— It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)
— It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state
— It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.
Preprocessing
The total number of octets received on the interface,including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and another times as indicated by the value of ifCounterDiscontinuityTime.
Preprocessing
The total number of octets transmitted out of the interface, including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
Preprocessing
For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
Preprocessing
- SNMP walk value: 1.3.6.1.2.1.2.2.1.14.
- Change per second
- Discard unchanged with heartbeat: 3m
For packet-oriented interfaces, the number of outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of outbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
Preprocessing
- SNMP walk value: 1.3.6.1.2.1.2.2.1.20.
- Change per second
- Discard unchanged with heartbeat: 3m
The number of outbound packets which were chosen to be discarded
even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
One possible reason for discarding such a packet could be to free up buffer space.
Discontinuities in the value of this counter can occur at re-initialization of the management system,
and at other times as indicated by the value of ifCounterDiscontinuityTime.
Preprocessing
- SNMP walk value: 1.3.6.1.2.1.2.2.1.19.
- Change per second
- Discard unchanged with heartbeat: 3m
The number of inbound packets which were chosen to be discarded
even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
One possible reason for discarding such a packet could be to free up buffer space.
Discontinuities in the value of this counter can occur at re-initialization of the management system,
and at other times as indicated by the value of ifCounterDiscontinuityTime.
Preprocessing
- SNMP walk value: 1.3.6.1.2.1.2.2.1.13.
- Change per second
- Discard unchanged with heartbeat: 3m
Additional values for ifType are assigned by the Internet Assigned Numbers Authority (IANA),
through updating the syntax of the IANAifType textual convention.
Preprocessing
An estimate of the interface’s current bandwidth in bits per second.
For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made,
this object should contain the nominal bandwidth.
If the bandwidth of the interface is greater than the maximum value reportable by this object then
this object should report its maximum value (4,294,967,295) and ifHighSpeed must be used to report the interface’s speed.
For a sub-layer which has no concept of bandwidth, this object should be zero.
Preprocessing
Trigger prototypes for Network interfaces discovery
This trigger expression works as follows:1. It can be triggered if the operations status is down.2. «>=1 — a user can redefine context macro to value — 0. That marks this interface as not important. No new trigger will be fired if this interface is down.3. =1 — the trigger fires only if the operational status was up to (1) sometime before (so, do not fire for the ‘eternal off’ interfaces.)WARNING: if closed manually — it will not fire again on the next poll, because of .diff.
The utilization of the network interface is close to its estimated maximum bandwidth.
It recovers when it is below 80% of the «> threshold.
This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Acknowledge to close the problem manually.
Feedback
Please report any issues with the template at https://support.zabbix.com
You can also provide feedback, discuss the template, or ask for help at ZABBIX forums
Adblockdetector