Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_snmp_qnap_volspace
Current Version
1.0
Last Release Date
2015-07-31
Compatible With
- Nagios 3.x
- Nagios 4.x
Owner
Download URL
License
BSD
Hits
7271
Files:
File | Description |
---|---|
check_snmp_qnap_volspace_32bit | Linux - 32 bit version |
check_snmp_qnap_volspace_64bit | Linux - 64 bit version |
It depends on the presence of snmpwalk command.
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
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
Reviews (0)
Be the first to review this listing!