Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin uses SNMP to check NAS devices from Synology
Current Version
1.1
Last Release Date
2015-06-18
Owner
Bruno Flueckiger
License
BSD
Compatible With
This plugin uses SNMP to check NAS devices from Synology. The following parameters are tested:
- System health - Disk health - Disk temperature - RAID health - RAID status
Tested with Synology DSM 5.x (Models RS214 and RS3614xs) and Nagios 3.2.3 in GroundWork 6.5
This plugin checks the health parameters of Synology systems (system, disks, raids) according to the MIB guide published by Synology: https://global.download.synology.com/download/Document/MIBGuide/
The official Nagios Plugin Development Guidelines have been followed as much as possible: http://nagios-plugins.org/doc/guidelines.html
Bug in DSM: Spare disks and SSD cache disks are reported as "NotInitialized" by the SNMP server in DSM. There is no workaround known to me. I've reported this to the Synology forum: http://forum.synology.com/enu/viewtopic.php?f=3&t=94177
v1.1 from 18.06.2015: - File encoding adapted to utf-8 - Syntax of if statements corrected - New link to official MIB Guide from Synology
################################## Here is my "commands.cfg" file: define command{ command_name check_synology_temp command_line $USER1$/check_snmp_syno.sh -H $HOSTADDRESS$ -C test123 -w 45 -c 50 } ################################## Here is my "nas.cfg" file: define service{ use generic-service,srv-pnp host_name NAS_62 service_description Temperature check_command check_synology_temp check_interval 5 retry_interval 1 } ################################## Command Output: ./check_snmp_syno.sh -H 172.16.1.62 -C n0cgnr -w 45 -c 50 WARNING: 172.16.1.62 has 47 °C ##################################
I am trying to use this plugin: Synology NAS: RS2414RP+ DSM 6.0.3-8754 Update 8 Error: 03-06-2019 15:19:34] SERVICE ALERT: DC_SAN;Global Health Status;UNKNOWN;HARD;3;Usage: ./check_snmp_syno.sh -H hostname -C community -w temperature warning -c temperature critical [-v]
Nice! For others: if this is your first snmp check you will need the snmp utils, for centos/redhat: yum install net-snmp-utils. Question for the author: is the status information supposed to be blank when the system is OK? I can run the check manually and get an output fine, verbose or not, just no output with the Nagios panel, weird! Thanks for the plugin!
Thanks for your reveiw. The script returns OK and a return value of 0 if everything is fine. I cannot reproduce the behaviour of a blank status line you observe with the script. Can you tweak something in Nagios to get it displayed in the panel?
You must be logged in to submit a review.
To:
From: