summaryrefslogtreecommitdiffstats
path: root/config/pdv/servers/20_spec_adei.cfg
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-04 22:54:49 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-04 22:54:49 +0200
commitb74ea32070492c251943d69a09265463cc9866ed (patch)
tree080bd9c8eb0b53491e118bdfed29f7cd61126bfe /config/pdv/servers/20_spec_adei.cfg
downloadpdvnagios-b74ea32070492c251943d69a09265463cc9866ed.tar.gz
pdvnagios-b74ea32070492c251943d69a09265463cc9866ed.tar.bz2
pdvnagios-b74ea32070492c251943d69a09265463cc9866ed.tar.xz
pdvnagios-b74ea32070492c251943d69a09265463cc9866ed.zip
Cleaned configuration for PDV infrastructure (incomplete) integrated with my Conky monitoring scriptsHEADmaster
Diffstat (limited to 'config/pdv/servers/20_spec_adei.cfg')
-rw-r--r--config/pdv/servers/20_spec_adei.cfg74
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$
+}