Template Eltex ESR by SNMPv2
Macros used
| Name | Value |
|---|---|
| {$SNMP_COMMUNITY} | public |
Items collected
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Temperature CPU | - | SNMP_AGENT | - | esrCPUTemp |
| Temperature MB | - | SNMP_AGENT | - | esrMBTemp |
| Memory Free | - | SNMP_AGENT | - | esrMemoryFree |
| Memory Free % | - | CALCULATED | - | esrMemoryFreePerc |
| Memory Total | - | CALCULATED | - | esrMemoryTotal |
| Memory Used | - | SNMP_AGENT | - | esrMemoryUsed |
| Serial Number | - | SNMP_AGENT | 1h | esrSerialNumber |
| Software Version | - | SNMP_AGENT | 1h | esrSoftwareVersion |
| ICMP ping | - | SIMPLE | - | icmpping |
| ICMP loss | - | SIMPLE | - | icmppingloss |
| ICMP response time | - | SIMPLE | - | icmppingsec |
| Number of network interfaces | The number of network interfaces (regardless of their current state) present on this system. | SNMP_AGENT | 1h | ifNumber |
| CPU Utilization 5min | - | SNMP_AGENT | - | rlCpuUtilDuringLast5Minutes |
| CPU Utilization 1min | - | SNMP_AGENT | - | rlCpuUtilDuringLastMinute |
| CPU Utilization 1sec | - | SNMP_AGENT | - | rlCpuUtilDuringLastSecond |
| Device contact details | 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. | SNMP_AGENT | 1h | sysContact |
| Device description | 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 networking software. | SNMP_AGENT | 1h | sysDescr |
| Device location | The physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string. | SNMP_AGENT | 1h | sysLocation |
| Device name | 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. | SNMP_AGENT | 1h | sysName |
| Device uptime | The time since the network management portion of the system was last re-initialized. | SNMP_AGENT | 5m | sysUpTime |
Triggers
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| {HOST.NAME} is unavailable by ICMP | - | max(/Eltex ESR SNMPv2/icmpping,#3)=0 | AVERAGE ⚠ | ICMP ping |
| Ping loss is too high on {HOST.NAME} | - | min(/Eltex ESR SNMPv2/icmppingloss,5m)>20 | WARNING 📢 | ICMP loss |
| Response time is too high on {HOST.NAME} | - | avg(/Eltex ESR SNMPv2/icmppingsec,5m)>0.15 | WARNING 📢 | ICMP response time |
| {HOST.NAME} CPU Utilization 5min > 70% | - | last(/Eltex ESR SNMPv2/rlCpuUtilDuringLast5Minutes)>70 | AVERAGE ⚠ | CPU Utilization 5min |
| {HOST.NAME} CPU Utilization 5min > 80% | - | last(/Eltex ESR SNMPv2/rlCpuUtilDuringLast5Minutes)>80 | HIGH ⛔ | CPU Utilization 5min |
| {HOST.NAME} has been restarted (uptime < 10m) | - | last(/Eltex ESR SNMPv2/sysUpTime)<10m | WARNING 📢 | Device uptime |
Discovery rule №1
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| BGP | - | SNMP_AGENT | 1h | ifBGP |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Bgp Peer Description [{#SNMPVALUE}] | - | SNMP_AGENT | 30m | BgpPeerDescription.[{#SNMPVALUE}] |
| Bgp Peer Local Addr Str [{#SNMPVALUE}] | - | SNMP_AGENT | 30m | BgpPeerLocalAddrStr.[{#SNMPVALUE}] |
| Bgp Peer Local AS [{#SNMPVALUE}] | - | SNMP_AGENT | 5m | BgpPeerLocalAS.[{#SNMPVALUE}] |
| Bgp Peer Local Identifier [{#SNMPVALUE}] | - | SNMP_AGENT | 30m | BgpPeerLocalIdentifier.[{#SNMPVALUE}] |
| Bgp Peer Remote Addr Str [{#SNMPVALUE}] | - | SNMP_AGENT | 30m | BgpPeerRemoteAddrStr.[{#SNMPVALUE}] |
| Bgp Peer Remote AS [{#SNMPVALUE}] | - | SNMP_AGENT | 5m | BgpPeerRemoteAS.[{#SNMPVALUE}] |
| Bgp Peer Remote Identifier [{#SNMPVALUE}] | - | SNMP_AGENT | 30m | BgpPeerRemoteIdentifier.[{#SNMPVALUE}] |
| Bgp Peer State [{#SNMPVALUE}] | - | SNMP_AGENT | 30m | BgpPeerState.[{#SNMPVALUE}] |
| Bgp Peer Local Addr Type [{#SNMPVALUE}] | - | SNMP_AGENT | 30m | PeerLocalAddrType.[{#SNMPVALUE}] |
Discovery rule №2
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| IP SLA Tests | - | SNMP_AGENT | 1h | ifIpSla |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Ip Sla Test {#SNMPSRCADDR} -> {#SNMPDSTADDR} by {#SNMPTYPE} is Enable | - | SNMP_AGENT | 3m | IpSlaTestEnable.[{#SNMPINDEX}] |
| Ip Sla Test {#SNMPSRCADDR} -> {#SNMPDSTADDR} by {#SNMPTYPE} Status | - | SNMP_AGENT | 3m | IpSlaTestStatus.[{#SNMPINDEX}] |
Discovery rule №3
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Network interfaces | You may also consider using IF-MIB::ifType or IF-MIB::ifAlias for discovery depending on your filtering needs. {$SNMP_COMMUNITY} is a global macro. | SNMP_AGENT | 1h | ifName |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Admin status of interface {#SNMPVALUE} ({#SNMPALIAS}) | The desired state of the interface. | SNMP_AGENT | - | ifAdminStatus[{#SNMPVALUE}] |
| Alias of interface {#SNMPVALUE} ({#SNMPALIAS}) | - | SNMP_AGENT | 1h | ifAlias[{#SNMPVALUE}] |
| Description of interface {#SNMPVALUE} ({#SNMPALIAS}) | A textual string containing information about the interface. This string should include the name of the manufacturer, the product name and the version of the interface hardware/software. | SNMP_AGENT | 1h | ifDescr[{#SNMPVALUE}] |
| Incoming Broadcast packets on interface {#SNMPVALUE} ({#SNMPALIAS}) | The number of octets in valid MAC frames received on this interface, including the MAC header and FCS. | SNMP_AGENT | 3m | ifHCInBroadcastPkts[{#SNMPVALUE}] |
| Incoming Multicast packets on interface {#SNMPVALUE} ({#SNMPALIAS}) | The number of octets in valid MAC frames received on this interface, including the MAC header and FCS. | SNMP_AGENT | 3m | ifHCInMulticastPkts[{#SNMPVALUE}] |
| Incoming rate on {#SNMPVALUE} ({#SNMPALIAS}) | The number of octets in valid MAC frames received on this interface, including the MAC header and FCS. | SNMP_AGENT | - | ifHCInOctets[{#SNMPVALUE}] |
| Incoming Unicast packets on interface {#SNMPVALUE} ({#SNMPALIAS}) | The number of octets in valid MAC frames received on this interface, including the MAC header and FCS. | SNMP_AGENT | 3m | ifHCInUcastPkts[{#SNMPVALUE}] |
| Outgoing Broadcast packets on interface {#SNMPVALUE} ({#SNMPALIAS}) | The number of octets in valid MAC frames received on this interface, including the MAC header and FCS. | SNMP_AGENT | 3m | ifHCOutBroadcastPkts[{#SNMPVALUE}] |
| Outgoing Multicast packets on interface {#SNMPVALUE} ({#SNMPALIAS}) | The number of octets in valid MAC frames received on this interface, including the MAC header and FCS. | SNMP_AGENT | 3m | ifHCOutMulticastPkts[{#SNMPVALUE}] |
| Outgoing rate on {#SNMPVALUE} ({#SNMPALIAS}) | The number of octets transmitted in MAC frames on this interface, including the MAC header and FCS. | SNMP_AGENT | - | ifHCOutOctets[{#SNMPVALUE}] |
| Outgoing Unicast packets on interface {#SNMPVALUE} ({#SNMPALIAS}) | The number of octets in valid MAC frames received on this interface, including the MAC header and FCS. | SNMP_AGENT | 3m | ifHCOutUcastPkts[{#SNMPVALUE}] |
| Inbound errors on interface {#SNMPVALUE} ({#SNMPALIAS}) | 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. | SNMP_AGENT | 5m | ifInErrors[{#SNMPVALUE}] |
| Operational status of interface {#SNMPVALUE} ({#SNMPALIAS}) | The current operational state of the interface. | SNMP_AGENT | - | ifOperStatus[{#SNMPVALUE}] |
| Outbound errors on interface {#SNMPVALUE} ({#SNMPALIAS}) | For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors. | SNMP_AGENT | 5m | ifOutErrors[{#SNMPVALUE}] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| Error IN {HOST.NAME} interface {#SNMPVALUE} | - | last(/Eltex ESR SNMPv2/ifInErrors[{#SNMPVALUE}])>0 | WARNING 📢 | Inbound errors on interface {#SNMPVALUE} ({#SNMPALIAS}) |
| Operational status was changed on {HOST.NAME} interface {#SNMPVALUE} | - | (last(/Eltex ESR SNMPv2/ifOperStatus[{#SNMPVALUE}],#1)<>last(/Eltex ESR SNMPv2/ifOperStatus[{#SNMPVALUE}],#2))=1 | INFO 🔔 | Operational status of interface {#SNMPVALUE} ({#SNMPALIAS}) |
| Error OUT {HOST.NAME} interface {#SNMPVALUE} | - | last(/Eltex ESR SNMPv2/ifOutErrors[{#SNMPVALUE}])>0 | WARNING 📢 | Outbound errors on interface {#SNMPVALUE} ({#SNMPALIAS}) |