summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix/vars
diff options
context:
space:
mode:
Diffstat (limited to 'roles/os_zabbix/vars')
-rw-r--r--roles/os_zabbix/vars/main.yml1
-rw-r--r--roles/os_zabbix/vars/template_heartbeat.yml13
-rw-r--r--roles/os_zabbix/vars/template_host.yml27
-rw-r--r--roles/os_zabbix/vars/template_master.yml27
-rw-r--r--roles/os_zabbix/vars/template_node.yml27
-rw-r--r--roles/os_zabbix/vars/template_os_linux.yml143
-rw-r--r--roles/os_zabbix/vars/template_router.yml27
7 files changed, 0 insertions, 265 deletions
diff --git a/roles/os_zabbix/vars/main.yml b/roles/os_zabbix/vars/main.yml
deleted file mode 100644
index ed97d539c..000000000
--- a/roles/os_zabbix/vars/main.yml
+++ /dev/null
@@ -1 +0,0 @@
----
diff --git a/roles/os_zabbix/vars/template_heartbeat.yml b/roles/os_zabbix/vars/template_heartbeat.yml
deleted file mode 100644
index 158d6c79a..000000000
--- a/roles/os_zabbix/vars/template_heartbeat.yml
+++ /dev/null
@@ -1,13 +0,0 @@
----
-g_template_heartbeat:
- name: Template Heartbeat
- zapplications:
- - Heartbeat
- zitems:
- - name: Heartbeat Ping
- application: Heartbeat
- key: heartbeat.ping
- ztriggers:
- - description: 'Heartbeat.ping has failed on {HOST.NAME}'
- expression: '{Template Heartbeat:heartbeat.ping.last()}<>0'
- priority: avg
diff --git a/roles/os_zabbix/vars/template_host.yml b/roles/os_zabbix/vars/template_host.yml
deleted file mode 100644
index e7cc667cb..000000000
--- a/roles/os_zabbix/vars/template_host.yml
+++ /dev/null
@@ -1,27 +0,0 @@
----
-g_template_host:
- params:
- name: Template Host
- host: Template Host
- groups:
- - groupid: 1 # FIXME (not real)
- output: extend
- search:
- name: Template Host
- zitems:
- - name: Host Ping
- hostid:
- key_: host.ping
- type: 2
- value_type: 0
- output: extend
- search:
- key_: host.ping
- ztriggers:
- - description: 'Host ping has failed on {HOST.NAME}'
- expression: '{Template Host:host.ping.last()}<>0'
- priority: 3
- searchWildcardsEnabled: True
- search:
- description: 'Host ping has failed on*'
- expandExpression: True
diff --git a/roles/os_zabbix/vars/template_master.yml b/roles/os_zabbix/vars/template_master.yml
deleted file mode 100644
index 5f9b41a4f..000000000
--- a/roles/os_zabbix/vars/template_master.yml
+++ /dev/null
@@ -1,27 +0,0 @@
----
-g_template_master:
- params:
- name: Template Master
- host: Template Master
- groups:
- - groupid: 1 # FIXME (not real)
- output: extend
- search:
- name: Template Master
- zitems:
- - name: Master Etcd Ping
- hostid:
- key_: master.etcd.ping
- type: 2
- value_type: 0
- output: extend
- search:
- key_: master.etcd.ping
- ztriggers:
- - description: 'Master Etcd ping has failed on {HOST.NAME}'
- expression: '{Template Master:master.etcd.ping.last()}<>0'
- priority: 3
- searchWildcardsEnabled: True
- search:
- description: 'Master Etcd ping has failed on*'
- expandExpression: True
diff --git a/roles/os_zabbix/vars/template_node.yml b/roles/os_zabbix/vars/template_node.yml
deleted file mode 100644
index 98c343a24..000000000
--- a/roles/os_zabbix/vars/template_node.yml
+++ /dev/null
@@ -1,27 +0,0 @@
----
-g_template_node:
- params:
- name: Template Node
- host: Template Node
- groups:
- - groupid: 1 # FIXME (not real)
- output: extend
- search:
- name: Template Node
- zitems:
- - name: Kubelet Ping
- hostid:
- key_: kubelet.ping
- type: 2
- value_type: 0
- output: extend
- search:
- key_: kubelet.ping
- ztriggers:
- - description: 'Kubelet ping has failed on {HOST.NAME}'
- expression: '{Template Node:kubelet.ping.last()}<>0'
- priority: 3
- searchWildcardsEnabled: True
- search:
- description: 'Kubelet ping has failed on*'
- expandExpression: True
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml
deleted file mode 100644
index 1cc928bce..000000000
--- a/roles/os_zabbix/vars/template_os_linux.yml
+++ /dev/null
@@ -1,143 +0,0 @@
----
-g_template_os_linux:
- name: Template OS Linux
- zapplications:
- - Disk
- - Memory
- - Kernel
- zitems:
- - key: kernel.uname.sysname
- application: Kernel
- value_type: string
-
- - key: kernel.all.cpu.wait.total
- application: Kernel
- value_type: int
-
- - key: kernel.all.cpu.irq.hard
- application: Kernel
- value_type: int
-
- - key: kernel.all.cpu.idle
- application: Kernel
- value_type: int
-
- - key: kernel.uname.distro
- application: Kernel
- value_type: string
-
- - key: kernel.uname.nodename
- application: Kernel
- value_type: string
-
- - key: kernel.all.cpu.irq.soft
- application: Kernel
- value_type: int
-
- - key: kernel.all.load.15_minute
- application: Kernel
- value_type: float
-
- - key: kernel.all.cpu.sys
- application: Kernel
- value_type: int
-
- - key: kernel.all.load.5_minute
- application: Kernel
- value_type: float
-
- - key: mem.freemem
- application: Memory
- value_type: int
-
- - key: kernel.all.cpu.nice
- application: Kernel
- value_type: int
-
- - key: mem.util.bufmem
- application: Memory
- value_type: int
-
- - key: swap.used
- application: Memory
- value_type: int
-
- - key: kernel.all.load.1_minute
- application: Kernel
- value_type: float
-
- - key: kernel.uname.version
- application: Kernel
- value_type: string
-
- - key: swap.length
- application: Memory
- value_type: int
-
- - key: mem.physmem
- application: Memory
- value_type: int
-
- - key: kernel.all.uptime
- application: Kernel
- value_type: int
-
- - key: swap.free
- application: Memory
- value_type: int
-
- - key: mem.util.used
- application: Memory
- value_type: int
-
- - key: kernel.all.cpu.user
- application: Kernel
- value_type: int
-
- - key: kernel.uname.machine
- application: Kernel
- value_type: string
-
- - key: hinv.ncpu
- application: Kernel
- value_type: int
-
- - key: mem.util.cached
- application: Memory
- value_type: int
-
- - key: kernel.all.cpu.steal
- application: Kernel
- value_type: int
-
- - key: kernel.all.pswitch
- application: Kernel
- value_type: int
-
- - key: kernel.uname.release
- application: Kernel
- value_type: string
-
- - key: proc.nprocs
- application: Kernel
- value_type: int
-
- - key: filesys.avail
- application: Disk
- value_type: int
-
- - key: filesys.capacity
- application: Disk
- value_type: int
-
- - key: filesys.free
- application: Disk
- value_type: int
-
- - key: filesys.full
- application: Disk
- value_type: float
-
- - key: filesys.used
- application: Disk
- value_type: float
diff --git a/roles/os_zabbix/vars/template_router.yml b/roles/os_zabbix/vars/template_router.yml
deleted file mode 100644
index 4dae7da1e..000000000
--- a/roles/os_zabbix/vars/template_router.yml
+++ /dev/null
@@ -1,27 +0,0 @@
----
-g_template_router:
- params:
- name: Template Router
- host: Template Router
- groups:
- - groupid: 1 # FIXME (not real)
- output: extend
- search:
- name: Template Router
- zitems:
- - name: Router Backends down
- hostid:
- key_: router.backends.down
- type: 2
- value_type: 0
- output: extend
- search:
- key_: router.backends.down
- ztriggers:
- - description: 'Number of router backends down on {HOST.NAME}'
- expression: '{Template Router:router.backends.down.last()}<>0'
- priority: 3
- searchWildcardsEnabled: True
- search:
- description: 'Number of router backends down on {HOST.NAME}'
- expandExpression: True