Random Project

Thank you for your review!

Your review has been submitted and is pending approval.

Description

This plugin sends SNMP queries to a QNAP NAS and checks the cpu, HDD status, system temperature, HDD temperature. Version 1.00 first Version. Version 1.03 Version 1.40 Changes reports Performance Data runs faster some new checks (LUN, Power, ...) works also with icinga and icinga2 for nagios you need to upload the file into /usr/local/nagios/libexec/ make it executible sudo chmod +x /usr/local/nagios/libexec/check_qnap.sh for icinga2 you need to upload the file /usr/lib64/nagios/plugins/ make it executible sudo chmod +x /usr/lib64/nagios/plugins/check_qnap.sh Nagios commands.cfg define command{ command_name check_qnap command_line $USER1$/check_qnap.sh -H $HOSTADDRESS$ -a $ARG1$ -w $ARG2$ -c $ARG3$ } ----- Service define service{ use generic-service,nagiosgraph host_name QNAP-01.local service_description Diskusage check_command check_qnap!diskusage!90!95 } ---- for icinga2 object CheckCommand "qnap" { import "plugin-check-command" command = [ PluginDir + "/check_qnap" ] arguments += { "-C" = "$community_string$" "-H" = { required = true value = "$address$" } "-a" = { required = true value = "$check_command$" } "-b" = "$version$" "-c" = "$critical$" "-p" = "$port$" "-t" = "$timeout$" "-u" = "$unit$" "-v" = "$snmpversion$" "-w" = "$warning$" } vars.address = "$address$" }


Project Details

Current Version

1.40

Last Release Date

2018-02-09

Owner

Matthias

License

GPL

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Recommend

To:


From: