Monitors common network interface parameters exposed by the IF-MIB via SNMPv2. The template uses HC 64bit parameters (such as ifHCInOctets and ifHCOutOctets) where available.
This template is part of RaBe's Zabbix template and helpers collection.
- Uses low-level discovery for the available network interfaces
- Uses HC 64bit parameters (such as ifHCInOctets and ifHCOutOctets)
- Uses macros for trigger thresholds which can be easily adapted.
- Triggers support macro contexts, for fine grade threshold control.
- Triggers contain the interface's ID together with the alias name
- Example:
Operational status down on switch-01.example.com interface 1/0/23 (server-01.eth0)
- Dynamic bandwidth utilization triggers, respecting the interface's current supported max bandwidth.
- Number of network interfaces
- Admin and operational status of interface
- Alias and description of interface
- Nominal or current bandwidth of interface
- Inbound/Outbound traffic on interface
- Inbound/Outbound unicast packages on interface
- Inbound/Outbound broadcast packages on interface
- Inbound/Outbound multicast packages on interface
- Inbound/Outbound discards on interface
- Inbound/Outbound errors on interface
- Information: Operational status has changed
- Warning: Inbound/Outbound utilization is high (> 80% over 15m)
- Warning: Operational status of interface is down (if admin status is up)
- High: Inbound/Outbound utilization is very high (> 90% over 1h)
- Packets on interface (Inbound/Outbound unicast, broadcast, multicast, errors and discards)
- Traffic on interface (Inbound/Outbound)
-
{$SNMP_COMMUNITY}
SNMPv2 community which defaults to
public
-
{$SNMPV2_INTERFACES_HC_IN_UTILIZATION_HIGH_PERCENTAGE}
Inbound interface utilization/staturation in percent for HIGH trigger (90% per default)
-
{$SNMPV2_INTERFACES_HC_IN_UTILIZATION_HIGH_TIME}
Inbound time for which the interface must be saturated for HIGH trigger (1h per default)
-
{$SNMPV2_INTERFACES_HC_IN_UTILIZATION_WARNING_PERCENTAGE}
Inbound interface utilization/staturation in percent for WARNING trigger (80% per default)
-
{$SNMPV2_INTERFACES_HC_IN_UTILIZATION_WARNING_TIME}
Inbound time for which the interface must be saturated for WARNING trigger (15m per default)
-
{$SNMPV2_INTERFACES_HC_OUT_UTILIZATION_HIGH_PERCENTAGE}
Outbound interface utilization/staturation in percent for HIGH trigger (90% per default)
-
{$SNMPV2_INTERFACES_HC_OUT_UTILIZATION_HIGH_TIME}
Outbound time for which the interface must be saturated for HIGH trigger (1h per default)
-
{$SNMPV2_INTERFACES_HC_OUT_UTILIZATION_WARNING_PERCENTAGE}
Outbound interface utilization/staturation in percent for WARNING trigger (80% per default)
-
{$SNMPV2_INTERFACES_HC_OUT_UTILIZATION_WARNING_TIME}
Outbound time for which the interface must be saturated for WARNING trigger (15m per default)
Note, that the triggers support macro contexts, so you can override a specific macro not only globally, but also per interface (such as {$SNMPV2_INTERFACES_HC_IN_UTILIZATION_WARNING_PERCENTAGE:"{#SNMPVALUE}"}
for example).
- Zabbix >= 3.0
- Your host must support SNMPv2
- IF-MIB must be available and accessible by the Zabbix server (which is probably already the case on your system)
- Import the Template_SNMPv2_Interfaces_HC.xml into your Zabbix server.
- Add the template to your host (or stack template)
- Add an SNMP interface configuration to your host
- Set the
{$SNMP_COMMUNITY}
macro to your desired community if you don't usepublic
- Check if new data arrives
- You might want to disable the
Operational status down on ...
triggers on interfaces which aren't supposed to be up all the time
This template is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.
Copyright (c) 2017 Radio Bern RaBe