17 lines
856 B
INI
17 lines
856 B
INI
# -*- mode: nagios; -*-
|
|
|
|
define command {
|
|
command_name check_rattail_daemon
|
|
command_line $PLUGINSDIR$/check_rattail_daemon_by_ssh.py -H $HOSTADDRESS$ -p $_HOSTSSH_PORT$ -u $_HOSTSSH_USER$ -i $_HOSTSSH_KEY$ -P "$_HOSTSSH_KEY_PASSPHRASE$" -r "check-rattail-daemon $ARG1$"
|
|
}
|
|
|
|
define command {
|
|
command_name check_supervisor_process
|
|
command_line $PLUGINSDIR$/check_rattail_daemon_by_ssh.py -H $HOSTADDRESS$ -p $_HOSTSSH_PORT$ -u $_HOSTSSH_USER$ -i $_HOSTSSH_KEY$ -P "$_HOSTSSH_KEY_PASSPHRASE$" -r "check-supervisor-process $ARG1$"
|
|
}
|
|
|
|
define command {
|
|
command_name check_systemd_service
|
|
command_line $PLUGINSDIR$/check_rattail_daemon_by_ssh.py -H $HOSTADDRESS$ -p $_HOSTSSH_PORT$ -u $_HOSTSSH_USER$ -i $_HOSTSSH_KEY$ -P "$_HOSTSSH_KEY_PASSPHRASE$" -r "check-systemd-service $ARG1$"
|
|
}
|