From b74ea32070492c251943d69a09265463cc9866ed Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 4 Sep 2019 22:54:49 +0200 Subject: Cleaned configuration for PDV infrastructure (incomplete) integrated with my Conky monitoring scripts --- config/pdv/servers/20_spec_adei.cfg | 74 +++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 config/pdv/servers/20_spec_adei.cfg (limited to 'config/pdv/servers/20_spec_adei.cfg') 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$ +} -- cgit v1.2.3