
# Supermicro Aten by SNMP

## Overview

for BMC ATEN IPMI controllers of Supermicro servers
https://www.supermicro.com/solutions/IPMI.cfm


## Requirements

Zabbix version: 7.0 and higher.

## Tested versions

This template has been tested on:
- Supermicro X10DRI

## Configuration

> Zabbix should be configured according to the instructions in the [Templates out of the box](https://www.zabbix.com/documentation/7.0/manual/config/templates_out_of_the_box) section.

## Setup

Refer to the vendor documentation.

### Macros used

|Name|Description|Default|
|----|-----------|-------|
|{$TEMP_CRIT}||`60`|
|{$TEMP_CRIT_LOW}||`5`|
|{$TEMP_WARN}||`50`|
|{$SNMP.TIMEOUT}|
Time interval for the SNMP availability trigger.
|`5m`|
|{$ICMP_LOSS_WARN}|
Warning threshold of ICMP packet loss in %.
|`20`|
|{$ICMP_RESPONSE_TIME_WARN}|
Warning threshold of the average ICMP response time in seconds.
|`0.15`|

### Items

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Uptime (network)|
MIB: SNMPv2-MIB

Time (in hundredths of a second) since the network management portion of the system was last re-initialized.
|SNMP agent|system.net.uptime[sysUpTime.0]
**Preprocessing**

- 
Custom multiplier: `0.01`

|
|Uptime (hardware)|
MIB: HOST-RESOURCES-MIB

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.
|SNMP agent|system.hw.uptime[hrSystemUptime.0]
**Preprocessing**

- 
Check for not supported value: `any error`

⛔️Custom on fail: Set value to: `0`

- 
Custom multiplier: `0.01`

|
|SNMP traps (fallback)|
The item is used to collect all SNMP traps unmatched by other snmptrap items
|SNMP trap|snmptrap.fallback|
|System location|
MIB: SNMPv2-MIB

Physical location of the node (e.g., `equipment room`, `3rd floor`). If not provided, the value is a zero-length string.
|SNMP agent|system.location[sysLocation.0]
**Preprocessing**

- 
Discard unchanged with heartbeat: `12h`

|
|System contact details|
MIB: SNMPv2-MIB

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|system.contact[sysContact.0]
**Preprocessing**

- 
Discard unchanged with heartbeat: `12h`

|
|System object ID|
MIB: SNMPv2-MIB

The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed.  For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.</p>|SNMP agent|system.objectid[sysObjectID.0]<p>**Preprocessing**</p><ul><li><p>Discard unchanged with heartbeat: `12h`

|
|System name|
MIB: SNMPv2-MIB

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|system.name
**Preprocessing**

- 
Discard unchanged with heartbeat: `12h`

|
|System description|
MIB: SNMPv2-MIB

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|system.descr[sysDescr.0]
**Preprocessing**

- 
Discard unchanged with heartbeat: `12h`

|
|SNMP agent availability|
Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.

Possible values:

0 - not available

1 - available

2 - unknown
|Zabbix internal|zabbix[host,snmp,available]|
|ICMP ping|
The host accessibility by ICMP ping.

0 - ICMP ping fails;

1 - ICMP ping successful.
|Simple check|icmpping|
|ICMP loss|
The percentage of lost packets.
|Simple check|icmppingloss|
|ICMP response time|
The ICMP ping response time (in seconds).
|Simple check|icmppingsec|

### Triggers

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|Supermicro Aten: Host has been restarted|
Uptime is less than 10 minutes.
|`(last(/Supermicro Aten by SNMP/system.hw.uptime[hrSystemUptime.0])>0 and last(/Supermicro Aten by SNMP/system.hw.uptime[hrSystemUptime.0])<10m) or (last(/Supermicro Aten by SNMP/system.hw.uptime[hrSystemUptime.0])=0 and last(/Supermicro Aten by SNMP/system.net.uptime[sysUpTime.0])<10m)`|Warning|**Manual close**: Yes
**Depends on**:

- Supermicro Aten: No SNMP data collection
|
|Supermicro Aten: System name has changed|
The name of the system has changed. Acknowledge to close the problem manually.
|`last(/Supermicro Aten by SNMP/system.name,#1)<>last(/Supermicro Aten by SNMP/system.name,#2) and length(last(/Supermicro Aten by SNMP/system.name))>0`|Info|**Manual close**: Yes|
|Supermicro Aten: No SNMP data collection|
SNMP is not available for polling. Please check device connectivity and SNMP settings.
|`max(/Supermicro Aten by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0`|Warning|**Depends on**:

- Supermicro Aten: Unavailable by ICMP ping
|
|Supermicro Aten: Unavailable by ICMP ping|
Last three attempts returned timeout. Please check device connectivity.
|`max(/Supermicro Aten by SNMP/icmpping,#3)=0`|High||
|Supermicro Aten: High ICMP ping loss|
ICMP packets loss detected.
|`min(/Supermicro Aten by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Supermicro Aten by SNMP/icmppingloss,5m)<100`|Warning|**Depends on**:

- Supermicro Aten: Unavailable by ICMP ping
|
|Supermicro Aten: High ICMP ping response time|
Average ICMP response time is too high.
|`avg(/Supermicro Aten by SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}`|Warning|**Depends on**:

- Supermicro Aten: High ICMP ping loss
- Supermicro Aten: Unavailable by ICMP ping
|

### LLD rule Temperature Discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Temperature Discovery|
Scanning ATEN-IPMI-MIB::sensorTable with filter: not connected temp sensors (Value = 0)
|SNMP agent|tempDescr.discovery|

### Item prototypes for Temperature Discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|{#SENSOR_DESCR}: Temperature|
MIB: ATEN-IPMI-MIB

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|sensor.temp.value[sensorReading.{#SNMPINDEX}]|

### Trigger prototypes for Temperature Discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|Supermicro Aten: {#SENSOR_DESCR}: Temperature is above warning threshold|
This trigger uses temperature sensor values as well as temperature sensor status if available
|`avg(/Supermicro Aten by SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)>{$TEMP_WARN:"{#SENSOR_DESCR}"}`|Warning|**Depends on**:

- Supermicro Aten: {#SENSOR_DESCR}: Temperature is above critical threshold
|
|Supermicro Aten: {#SENSOR_DESCR}: Temperature is above critical threshold|
This trigger uses temperature sensor values as well as temperature sensor status if available
|`avg(/Supermicro Aten by SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#SENSOR_DESCR}"}`|High||
|Supermicro Aten: {#SENSOR_DESCR}: Temperature is too low||`avg(/Supermicro Aten by SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"{#SENSOR_DESCR}"}`|Average||

### LLD rule FAN Discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|FAN Discovery|
Scanning ATEN-IPMI-MIB::sensorTable with filter: not connected FAN sensors (Value = 0)
|SNMP agent|fan.discovery|

### Item prototypes for FAN Discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|{#SENSOR_DESCR}: Fan speed, %|
MIB: ATEN-IPMI-MIB

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|sensor.fan.speed.percentage[sensorReading.{#SNMPINDEX}]|

## Feedback

Please report any issues with the template at [`https://support.zabbix.com`](https://support.zabbix.com)

You can also provide feedback, discuss the template, or ask for help at [`ZABBIX forums`](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback)

