Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check_qnap_temp
1.0
2010-08-05
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI 2009R1
GPL
98482
File | Description |
---|---|
check_qnap_temp.sh | check_qnap_temp.sh |
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 / System / HDs Temperatures of the most QNAP devices via SNMP. It's also an alternative to the simple check_snmp which isn't enough precise. 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.
IMPORTANT : It seems CPU Temp cannot be obtained on all QNAP or maybe thanks to an other OID. I could obtain it on the TS-809 but not on the TS-419 so i added it only for the 809. But if you really need and if it wotks on your QNAP, you can easily add it :). I made this plugin with Celsius support only, feel free to add Fahrenheit support if you need.
Usage : ./check_qnap_temp.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 Temp : 20 Deg. / System Temp : 31 Deg. / HDs Temp : 33 33 34 33 32 31 31 32 Deg."
IMPORTANT : It seems CPU Temp cannot be obtained on all QNAP or maybe thanks to an other OID. I could obtain it on the TS-809 but not on the TS-419 so i added it only for the 809. But if you really need and if it wotks on your QNAP, you can easily add it :). I made this plugin with Celsius support only, feel free to add Fahrenheit support if you need.
Usage : ./check_qnap_temp.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 Temp : 20 Deg. / System Temp : 31 Deg. / HDs Temp : 33 33 34 33 32 31 31 32 Deg."