Skip to content

Files

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

SNMP THECUS NAS

Overview

Делал под Thecus N8900

Чтобы нормально получать данные через SNMP ставьте последние прошивки на устройства.

В принципе моя модель - это linux NAS. Через linux SNMPv2 практически все выдается, но в самой

морде есть mib-файл, на его основе и сделал данный шаблон.

Вопросы на [email protected]

Author

S.V.Sidenko

Macros used

Name Description Default Type
{$HD_TEMPERATURE_ALARM}

-

51 Text macro
{$HD_TEMPERATURE_WARNING}

-

40 Text macro
{$SNMP_PORT}

-

161 Text macro

Template links

There are no template links in this template.

Discovery rules

Name Description Type Key and additional info
RAID discovery

-

SNMP agent nasRaid.discovery

Update: 1h

Hard disks discovery

-

SNMP agent nasDisk.discovery

Update: 1h

Items collected

Name Description Type Key and additional info
System fan status

-

SNMP agent systemFanStatus

Update: 60

System vendor

-

SNMP agent systemVendor

Update: 3h

System Mini-UPS Status

-

SNMP agent systemMiniUPSStatus

Update: 60

System temperature

System temperature in centigrade

SNMP agent systemTemperature

Update: 60

System firmware

-

SNMP agent systemFirmware

Update: 3h

System status

-

SNMP agent systemStatus

Update: 60

System model

-

SNMP agent systemModel

Update: 3h

RAID ID of {#SNMPVALUE}

-

SNMP agent raidID[{#SNMPINDEX}]

Update: 3h

LLD

RAID level of {#SNMPVALUE}

-

SNMP agent raidLevel[{#SNMPINDEX}]

Update: 3h

LLD

RAID number of {#SNMPVALUE}

-

SNMP agent raidNum[{#SNMPINDEX}]

Update: 3h

LLD

RAID size of {#SNMPVALUE}

-

SNMP agent raidSize[{#SNMPINDEX}]

Update: 1h

LLD

RAID status of {#SNMPVALUE}

-

SNMP agent raidStatus[{#SNMPINDEX}]

Update: 60

LLD

RAID units of {#SNMPVALUE}

-

SNMP agent raidUnits[{#SNMPINDEX}]

Update: 3h

LLD

RAID used percent of {#SNMPVALUE} (%)

-

SNMP agent raidUsedPercentage[{#SNMPINDEX}]

Update: 1h

LLD

Disk Capacity {#SNMPVALUE}

-

SNMP agent diskCapacity[{#SNMPINDEX}]

Update: 1h

LLD

Disk ID {#SNMPVALUE}

-

SNMP agent diskID[{#SNMPINDEX}]

Update: 3h

LLD

Model of {#SNMPVALUE}

-

SNMP agent diskModel[{#SNMPINDEX}]

Update: 3h

LLD

Reallocate_Sector_Ct {#SNMPVALUE}

-

SNMP agent diskSMARTAttr5[{#SNMPINDEX}]

Update: 60

LLD

Power_On_hours{#SNMPVALUE}

-

SNMP agent diskSMARTAttr9[{#SNMPINDEX}]

Update: 60

LLD

End-to-End Error {#SNMPVALUE}

-

SNMP agent diskSMARTAttr184[{#SNMPINDEX}]

Update: 60

LLD

Temperature of {#SNMPVALUE}

-

SNMP agent diskSMARTAttr194[{#SNMPINDEX}]

Update: 60

LLD

Current__Pending_Sector {#SNMPVALUE}

-

SNMP agent diskSMARTAttr197[{#SNMPINDEX}]

Update: 60

LLD

S.M.A.R.T. info of {#SNMPVALUE}

-

SNMP agent diskSMARTHealthCheck[{#SNMPINDEX}]

Update: 60

LLD

Status of {#SNMPVALUE}

-

SNMP agent diskStatus[{#SNMPINDEX}]

Update: 60

LLD

Disk Tray Number {#SNMPVALUE}

-

SNMP agent diskTrayNum[{#SNMPINDEX}]

Update: 3h

LLD

Triggers

Name Description Expression Priority
State of {#SNMPVALUE} on {HOST.NAME} is "Current Pending Sector"

-

Expression: last(/SNMP THECUS NAS/diskSMARTAttr197[{#SNMPINDEX}])>0

Recovery expression:

average
State of {#SNMPVALUE} on {HOST.NAME} is "End-to-End Error"

State "noDisk"

Expression: last(/SNMP THECUS NAS/diskSMARTAttr184[{#SNMPINDEX}])>0

Recovery expression:

average
State of {#SNMPVALUE} on {HOST.NAME} is "Reallocated_Sector_Ct"

State "rwError"

Expression: last(/SNMP THECUS NAS/diskSMARTAttr5[{#SNMPINDEX}])>0

Recovery expression:

average
State of {#SNMPVALUE} on {HOST.NAME} is not "Ready" ({ITEM.VALUE1})

-

Expression: last(/SNMP THECUS NAS/diskStatus[{#SNMPINDEX}])=3

Recovery expression:

high
Temperature of {#SNMPVALUE} on {HOST.NAME} is over {$HD_TEMPERATURE_ALARM} for 2 min

-

Expression: min(/SNMP THECUS NAS/diskSMARTAttr194[{#SNMPINDEX}],2m)>51

Recovery expression:

high
Temperature of {#SNMPVALUE} on {HOST.NAME} is over {$HD_TEMPERATURE_WARNING} for 2min

-

Expression: min(/SNMP THECUS NAS/diskSMARTAttr194[{#SNMPINDEX}],2m)>40

Recovery expression:

information
Free space is less than 5% on volume {#SNMPVALUE}

-

Expression: last(/SNMP THECUS NAS/raidUsedPercentage[{#SNMPINDEX}])>95

Recovery expression:

high
Free space is less than 10% on volume {#SNMPVALUE}

-

Expression: last(/SNMP THECUS NAS/raidUsedPercentage[{#SNMPINDEX}])>90

Recovery expression:

warning
Free space is less than 20% on volume {#SNMPVALUE}

-

Expression: last(/SNMP THECUS NAS/raidUsedPercentage[{#SNMPINDEX}])>80

Recovery expression:

information
Free space is less than 5% on volume {#SNMPVALUE} (LLD)

-

Expression: last(/SNMP THECUS NAS/raidUsedPercentage[{#SNMPINDEX}])>95

Recovery expression:

high
Free space is less than 10% on volume {#SNMPVALUE} (LLD)

-

Expression: last(/SNMP THECUS NAS/raidUsedPercentage[{#SNMPINDEX}])>90

Recovery expression:

warning
Free space is less than 20% on volume {#SNMPVALUE} (LLD)

-

Expression: last(/SNMP THECUS NAS/raidUsedPercentage[{#SNMPINDEX}])>80

Recovery expression:

information
State of {#SNMPVALUE} on {HOST.NAME} is "Current Pending Sector" (LLD)

-

Expression: last(/SNMP THECUS NAS/diskSMARTAttr197[{#SNMPINDEX}])>0

Recovery expression:

average
State of {#SNMPVALUE} on {HOST.NAME} is "End-to-End Error" (LLD)

State "noDisk"

Expression: last(/SNMP THECUS NAS/diskSMARTAttr184[{#SNMPINDEX}])>0

Recovery expression:

average
State of {#SNMPVALUE} on {HOST.NAME} is "Reallocated_Sector_Ct" (LLD)

State "rwError"

Expression: last(/SNMP THECUS NAS/diskSMARTAttr5[{#SNMPINDEX}])>0

Recovery expression:

average
State of {#SNMPVALUE} on {HOST.NAME} is not "Ready" ({ITEM.VALUE1}) (LLD)

-

Expression: last(/SNMP THECUS NAS/diskStatus[{#SNMPINDEX}])=3

Recovery expression:

high
Temperature of {#SNMPVALUE} on {HOST.NAME} is over {$HD_TEMPERATURE_ALARM} for 2 min (LLD)

-

Expression: min(/SNMP THECUS NAS/diskSMARTAttr194[{#SNMPINDEX}],2m)>51

Recovery expression:

high
Temperature of {#SNMPVALUE} on {HOST.NAME} is over {$HD_TEMPERATURE_WARNING} for 2min (LLD)

-

Expression: min(/SNMP THECUS NAS/diskSMARTAttr194[{#SNMPINDEX}],2m)>40

Recovery expression:

information