Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check_qnap_cpumem
1.0
2010-08-04
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI 2009R1
GPL
101722
File | Description |
---|---|
check_qnap_cpumem.sh | Check CPU usage and Memory usage of QNAP devices via SNMP. |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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.
Usage : ./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%)"
Usage : ./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%)"