Check qts-memory-usage


Returns the current system-wide memory utilization as a percentage from a QNAP Appliance running QTS, using the HTTP API.

Fact Sheet

Check Plugin Download

Check Interval Recommendation

Once a minute

Can be called without parameters


Compiled for

Linux, Windows


usage: qts-memory-usage [-h] [-V] [--always-ok] [-c CRIT] [--insecure]
                        [--no-proxy] --password PASSWORD [--timeout TIMEOUT]
                        --url URL [--username USERNAME] [-w WARN]

Returns the current system-wide Memory utilization as a percentage from QNAP
Appliances running QTS via API.

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  --always-ok           Always returns OK.
  -c CRIT, --critical CRIT
                        Set the critical threshold Memory Usage Percentage.
                        Default: 90
  --insecure            This option explicitly allows to perform "insecure"
                        SSL connections. Default: False
  --no-proxy            Do not use a proxy. Default: False
  --password PASSWORD   QTS Password.
  --timeout TIMEOUT     Network timeout in seconds. Default: 6 (seconds)
  --url URL             QTS-based Appliance URL, for example
  --username USERNAME   QTS User. Default: admin
  -w WARN, --warning WARN
                        Set the warning threshold Memory Usage Percentage.
                        Default: 80

Usage Examples

./qts-memory-usage --url http://qts:8080 --username admin --password my-password


7.33% - total: 62.8GiB, used: 4.6GiB, free: 58.2GiB


  • OK if overall memory-usage is below the thresholds.

  • Otherwise CRIT or WARN.

Perfdata / Metrics

  • memory-usage: The overall memory usage.

  • free: The free memory.

  • total: The total memory.

  • used: The used memory.

Credits, License