forked from infra/ansible
Zabbix update SSH and Varnish templates
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
parent
9faab10da6
commit
0723ffa45d
2 changed files with 7 additions and 6 deletions
|
|
@ -48,6 +48,7 @@ zabbix_export:
|
|||
- uuid: 40b9cea515c6423fbcac99624676c1d0
|
||||
expression: 'last(/SSH access from Batcave/net.tcp.service[ssh,{#SSH_HOST},22]) = 0'
|
||||
name: 'SSH host {#SSH_HOST} not reachable on 22'
|
||||
priority: AVERAGE
|
||||
tags:
|
||||
- tag: scope
|
||||
value: availability
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ zabbix_export:
|
|||
dependencies:
|
||||
- name: 'Varnish: Process is not running'
|
||||
expression: 'last(/Varnish Cache Monitoring/proc.num["{$VARNISH.PROCESS_NAME}"])=0'
|
||||
- name: 'Varnish: Service is down'
|
||||
expression: 'last(/Varnish Cache Monitoring/net.tcp.service[http,"{$VARNISH.STATUS.HOST}","{$VARNISH.STATUS.PORT}"])=0'
|
||||
- name: 'Varnish: Service is down (3 tries)'
|
||||
expression: 'count(/Varnish Cache Monitoring/net.tcp.service[http,"{$VARNISH.STATUS.HOST}","{$VARNISH.STATUS.PORT}"],#3,,0)=3'
|
||||
- uuid: 80295421232547dfba8159e974c236d6
|
||||
name: 'Varnish: Service ping'
|
||||
type: ZABBIX_ACTIVE
|
||||
|
|
@ -52,8 +52,8 @@ zabbix_export:
|
|||
value: Varnish
|
||||
triggers:
|
||||
- uuid: 4c754b657d944992b309c0a92bb01499
|
||||
expression: 'last(/Varnish Cache Monitoring/net.tcp.service[http,"{$VARNISH.STATUS.HOST}","{$VARNISH.STATUS.PORT}"])=0'
|
||||
name: 'Varnish: Service is down'
|
||||
expression: 'count(/Varnish Cache Monitoring/net.tcp.service[http,"{$VARNISH.STATUS.HOST}","{$VARNISH.STATUS.PORT}"],#3,,0)=3'
|
||||
name: 'Varnish: Service is down (3 tries)'
|
||||
priority: AVERAGE
|
||||
manual_close: 'YES'
|
||||
dependencies:
|
||||
|
|
@ -363,8 +363,8 @@ zabbix_export:
|
|||
dependencies:
|
||||
- name: 'Varnish: Process is not running'
|
||||
expression: 'last(/Varnish Cache Monitoring/proc.num["{$VARNISH.PROCESS_NAME}"])=0'
|
||||
- name: 'Varnish: Service is down'
|
||||
expression: 'last(/Varnish Cache Monitoring/net.tcp.service[http,"{$VARNISH.STATUS.HOST}","{$VARNISH.STATUS.PORT}"])=0'
|
||||
- name: 'Varnish: Service is down (3 tries)'
|
||||
expression: 'count(/Varnish Cache Monitoring/net.tcp.service[http,"{$VARNISH.STATUS.HOST}","{$VARNISH.STATUS.PORT}"],#3,,0)=3'
|
||||
- uuid: 017f130075e44226ab676b4758445a6c
|
||||
name: 'Varnish: Total request bytes'
|
||||
type: DEPENDENT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue