28 lines
885 B
INI
Executable File

# 'check_disk' command definition
define command{
command_name check_disk
command_line /opt/nagios/libexec/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'
}
# 'check_all_disks' command definition
define command{
command_name check_all_disks
command_line /opt/nagios/libexec/check_disk -w '$ARG1$' -c '$ARG2$' -e
}
# 'ssh_disk' command definition
define command{
command_name ssh_disk
command_line /opt/nagios/libexec/check_by_ssh -H '$HOSTADDRESS$' -C "/opt/nagios/libexec/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'"
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'ssh_disk_4' command definition
define command{
command_name ssh_disk_4
command_line /opt/nagios/libexec/check_by_ssh -H '$HOSTADDRESS$' -C "/opt/nagios/libexec/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'" -4
}