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
1.0
2015-07-31
- Nagios 3.x
- Nagios 4.x
BSD
7863
File | Description |
---|---|
check_snmp_qnap_volspace_32bit | Linux - 32 bit version |
check_snmp_qnap_volspace_64bit | Linux - 64 bit version |
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!
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!