diff options
Diffstat (limited to 'config/pdv/servers/20_spec_adei.cfg')
-rw-r--r-- | config/pdv/servers/20_spec_adei.cfg | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/config/pdv/servers/20_spec_adei.cfg b/config/pdv/servers/20_spec_adei.cfg new file mode 100644 index 0000000..918785b --- /dev/null +++ b/config/pdv/servers/20_spec_adei.cfg @@ -0,0 +1,74 @@ +define hostgroup { + hostgroup_name adei-servers + alias ADEI Servers +} + +define host { + name adei-server + use unix-server + hostgroups adei-servers, www-servers + register 0 +} + +define servicegroup { + servicegroup_name adei-services + alias ADEI Services +} + +define service { + name adei-service + use remote-service + servicegroups adei-services + max_check_attempts 4 + check_interval 20 + retry_interval 5 + register 0 +} + +define service { + use adei-service + hostgroup_name adei-servers + service_description ADEI + check_command host_adei_status +} + + +# Worth not, adei_status will report if MySQL is broken +#define service { +# use ssh-service +# hostgroup_name adei-servers +# service_description MYSQL +# check_command check_ssh_mysql +#} + + +define command { + command_name host_adei_status + command_line $USER2$/check_adei_status $HOSTADDRESS$ $ARG1$ +} + +define command { + command_name host_adei_source + command_line $USER2$/check_adei_source $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ +} + +define command { + command_name host_adei_control + command_line $USER2$/check_adei_control $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ +} + + +define command { + command_name adei_status + command_line $USER2$/check_adei_status $ARG1$ $ARG2$ +} + +define command { + command_name adei_source + command_line $USER2$/check_adei_source $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ +} + +define command { + command_name adei_control + command_line $USER2$/check_adei_control $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ +} |