Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_snmp_qnap_volspace

Current Version
1.0
Last Release Date
2015-07-31
Compatible With
  • Nagios 3.x
  • Nagios 4.x
License
BSD
Hits
7904
Files:
FileDescription
check_snmp_qnap_volspace_32bitLinux - 32 bit version
check_snmp_qnap_volspace_64bitLinux - 64 bit version
Nagios CSP

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!
check_snmp_qnap_volspace
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.
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