This plugin checks CPU usage and Memory usage (total, used, free) of the most QNAP devices via SNMP. Originally made for a QNAP TS-809, i could also successfully test it with a TS-419. It should works fine with all the QNAP "TS" series. Please give me your feedbacks if you've any problem.
./check_qnap_cpumem.sh -H -v -C -w -c
-H ADDRESSÂ - Hostname to query (default: 127.0.0.1) -v STRINGÂ -> SNMP version to use, only compatible with v1 and v2c (default: 1) -C STRINGÂ - Community for the host SNMP agent (default: public) -w INTEGERÂ - Warning threshold in percentage (default: 0) -c INTEGERÂ - Critical threshold in percentage (default: 0) -hÂ Â - Print this help -VÂ Â - Print the Plugin version and warranty Output example : "OK - CPU usage : 0.3% / Mem. usage: Total: 2016.8 Mb - Used: 271.6 Mb (13%) - Free: 1745.2 Mb (86%)"