Created
January 4, 2017 19:31
-
-
Save szukalski/66724a80085e5896501e80d2c6dec406 to your computer and use it in GitHub Desktop.
collectd snmp_qnap.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadPlugin snmp | |
<Plugin snmp> | |
#QNAP Stuff goes here | |
<Data "qnap_cpu_usage_core"> | |
Type "cpu" | |
Table true | |
InstancePrefix "core" | |
Instance "NAS-MIB::cpuIndex" | |
Values "NAS-MIB::cpuUsage" | |
</Data> | |
<Data "qnap_cpu_usage_system"> | |
Type "cpu" | |
Table false | |
Instance "system" | |
Values "NAS-MIB::systemCPU-UsageEX.0" | |
</Data> | |
<Data "qnap_cpu_temp"> | |
Type "temperature" | |
Table false | |
Instance "cpu" | |
Values "NAS-MIB::cpu-TemperatureEX.0" | |
</Data> | |
<Data "qnap_system_temp"> | |
Type "temperature" | |
Table false | |
Instance "system" | |
Values "NAS-MIB::systemTemperatureEX.0" | |
</Data> | |
<Data "qnap_enclosure_temp"> | |
Type "temperature" | |
Table false | |
Instance "enclosure" | |
Values "NAS-MIB::enclosureSystemTemp.1" | |
</Data> | |
<Data "qnap_hdd_temp"> | |
Type "temperature" | |
Table true | |
InstancePrefix "hdd" | |
Instance "NAS-MIB::hdIndex" | |
Values "NAS-MIB::hdTemperatureEX" | |
</Data> | |
<Data "qnap_hdd_smart"> | |
Type "qnap_smart" | |
Table true | |
Instance "NAS-MIB::diskIndex" | |
Values "NAS-MIB::diskSmartInfo" | |
</Data> | |
<Data "qnap_network_packets"> | |
Type "if_packets" | |
Table true | |
Instance "NAS-MIB::ifDescrEX" | |
Values "NAS-MIB::ifPacketsReceivedEX" "NAS-MIB::ifPacketsSentEX" | |
</Data> | |
<Data "qnap_volume_total"> | |
Type "qnap_volume" | |
Table true | |
InstancePrefix "total-" | |
Instance "NAS-MIB::sysVolumeIndexEX" | |
Values "NAS-MIB::sysVolumeTotalSizeEX" | |
</Data> | |
<Data "qnap_volume_free"> | |
Type "qnap_volume" | |
Table true | |
InstancePrefix "free-" | |
Instance "NAS-MIB::sysVolumeIndexEX" | |
Values "NAS-MIB::sysVolumeFreeSizeEX" | |
</Data> | |
<Host "XX.YY.ZZ"> | |
Address "x.y.z.a" | |
Version 2 | |
Community "public" | |
Collect "qnap_cpu_usage_core" "qnap_cpu_usage_system" "qnap_cpu_temp" "qnap_system_temp" "qnap_hdd_temp" "qnap_hdd_smart" "qnap_network_packets" "qnap_volume_total" "qnap_volume_free" "qnap_enclosure_temp" | |
</Host> | |
</Plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment