-
Notifications
You must be signed in to change notification settings - Fork 0
/
dsm-snmp.conf
76 lines (66 loc) · 2.21 KB
/
dsm-snmp.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
LoadPlugin snmp
<Plugin snmp>
# System temperature
<Data "dsm.temperature">
Type "temperature"
Instance "System"
Table false
Values "SNMPv2-SMI::enterprises.6574.1.2.0"
</Data>
# A temperature for each disk
<Data "dsm.diskTemperature">
Type "temperature"
Table true
Instance "SNMPv2-SMI::enterprises.6574.2.1.1.2"
Values "SNMPv2-SMI::enterprises.6574.2.1.1.6"
</Data>
# Short/mid/long term load of the system
# The actual value is multiplied by 100 and converted to integer
# before sending.
<Data "dsm.systemLoad">
Type "load"
Table false
Instance "System"
Scale 0.01
Values "UCD-SNMP-MIB::laLoadInt.1" "UCD-SNMP-MIB::laLoadInt.2" "UCD-SNMP-MIB::laLoadInt.3"
</Data>
# Number of users connected via each service
<Data "dsm.services">
Type "users"
Table true
Instance "SNMPv2-SMI::enterprises.6574.6.1.1.2"
Values "SNMPv2-SMI::enterprises.6574.6.1.1.3"
</Data>
# A uptime of Disk Station
# https://mailman.verplant.org/pipermail/collectd/2014-October/006354.html
<Data "dsm.uptime">
Type "uptime"
Table false
Values "SNMPv2-MIB::sysUpTime.0"
Scale 0.000000115740741 # Convert milliseconds to days
</Data>
<Data "dsm.interface">
Type "if_octets"
Table true
Instance "IF-MIB::ifDescr"
Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
</Data>
<Data "dsm.interfacePackets">
Type "if_packets"
Table true
Instance "IF-MIB::ifDescr"
Values "IF-MIB::ifInUcastPkts" "IF-MIB::ifOutUcastPkts"
</Data>
<Data "dsm.diskUtilization">
Type "ps_disk_octets"
Table true
Instance "SNMPv2-SMI::enterprises.6574.101.1.1.2"
Values "SNMPv2-SMI::enterprises.6574.101.1.1.12" "SNMPv2-SMI::enterprises.6574.101.1.1.13"
</Data>
<Data "dsm.diskLoad">
Type "load"
Table true
Instance "SNMPv2-SMI::enterprises.6574.101.1.1.2"
Values "SNMPv2-SMI::enterprises.6574.101.1.1.9" "SNMPv2-SMI::enterprises.6574.101.1.1.10" "SNMPv2-SMI::enterprises.6574.101.1.1.11"
</Data>
</Plugin>