Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_qnap2
1.10
2015-03-06
- Nagios 3.x
- Nagios 4.x
GPL
11986
File | Description |
---|---|
qnap-nas.cfg | Example config file for Nagios |
check_qnap | Plugin file for Nagios |
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!
Fixed minor errors and did some cleanup of the status information.
Monitoring of:
- Temperature system
- Temperature disks
- Status RAID
- CPU usage
- Memory usage
- Diskspace usage
- Uptime
Tested on a Qnap TS-212
----------
Add to Nagios commands.cfg:
define command{
command_name check_qnap
command_line $USER1$/check_qnap $HOSTADDRESS$ public $ARG1$ $ARG2$ $ARG3$
}
Reviews (1)
bydbooth, May 21, 2015
Many thanks for this plugin. Needed one or two small fixes but have now got this working perfectly with some TS-412s, please find below my suggested changes;
In plugin
Line 21 - "tmphd2, tmlhd3 tmphd4," should read "tmphd2, tmphd3, tmphd4,"
# DISKUSAGE requires bc (e.g. apt-get install bc)
Lines 183, 187 - use of -le should be -ge
Lines 200, 204, 208 - references to $TEMPHD4 should be $TEMPHD
In example config
Line 24 - "check_command check_qnap!freeram!20!5" should read "check_command check_qnap!freeram!80!95"
Line 90 - "check_command check_qnap!diskused!10!5" should read "check_command check_qnap!diskused!90!95"
In plugin
Line 21 - "tmphd2, tmlhd3 tmphd4," should read "tmphd2, tmphd3, tmphd4,"
# DISKUSAGE requires bc (e.g. apt-get install bc)
Lines 183, 187 - use of -le should be -ge
Lines 200, 204, 208 - references to $TEMPHD4 should be $TEMPHD
In example config
Line 24 - "check_command check_qnap!freeram!20!5" should read "check_command check_qnap!freeram!80!95"
Line 90 - "check_command check_qnap!diskused!10!5" should read "check_command check_qnap!diskused!90!95"