Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This is a Nagios plugin written in Go to check status and space usage of Qnap volumes via SNMP. It depends on the presence of snmpwalk command.
Current Version
1.0
Last Release Date
2015-07-31
Owner
Nicola Sarobba
Website
https://github.com/nicsar/check_snmp_qnap_volspace
Download URL
https://github.com/nicsar/check_snmp_qnap_volspace.git
License
BSD
Compatible With
Example:
nagios:~$ ./check_snmp_qnap_volspace -H 10.1.5.10 -C gpublic -w 80 -c 90 OK: volumes free space Ok - volumes status Ok
nagios:~$ ./check_snmp_qnap_volspace -H 10.1.5.10 -C gpublic -w 30 -c 90 WARNING: [Volume Volume-2, Pool 2] above warning threshold
Nagios integration
Define a command like this:
define command { command_name check_qnap_snmp_volspace command_line $USER1$/check_snmp_qnap_volspace -H $HOSTADDRESS$ -C $ARG1$ -f -w $ARG2$ -c $ARG3$ register 1 }
PNP4Nagios
Make a symbolic link in the PNP4Nagios templates directory:
nagios:~# cd /usr/local/pnp4nagios/share/templates nagios:templates# ln -sv ../templates.dist/check_disk.php check_qnap_snmp_volspace.php
Compilation and installation
You can find updated compilation and installation instructions here: https://github.com/nicsar/check_snmp_qnap_volspace#compilation-and-installation
You must be logged in to submit a review.
To:
From: