Home Directory

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

Directory

idscomm

Reviews(1)
byidscomm, December 17, 2015
Check QNAP Disk
Hey guys,

I am new with Nagios and I finally got it up and running Thank God! lol Now, how do we install these types of plugin? I am interested in installing a few including this one since I have a QNAP 4-bays but I don't know what and how to do this! : (

Thanks a lot!
Owner's reply

Hi idscomm,

a good way is, see about the documentation of nagios, but a short help you see below:

# you have to define a check command like this:
# 'check_qnapdisk' command definition
define command{
command_name check_qnapdisk
command_line „your_path_to_check_script“/check_qnapdisk -H $HOSTADDRESS$ -C -t 8 -v -w $ARG1$ -c $ARG2$ -T $ARG3$ -g $ARG4$ -l $ARG5$
}

# you have to define a service
# service qnapdisk
define service{
use generic-service ; Name of service template to use
host_name TS-459
service_description QNAPDISK
check_command check_qnapdisk!4:!3:!C!:41!:45 ; your check parameters
notifications_enabled 1
normal_check_interval 1 ; Check the service every 5 minutes under normal conditions
}