forked from infra/ansible
Migrate http-* proxy checks from Nagios to Zabbix
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
parent
1d53d6dd5a
commit
51e4282ff7
3 changed files with 190 additions and 63 deletions
|
|
@ -29,6 +29,69 @@ zabbix_export:
|
|||
expression: 'now() - last(/Proxy HTTPd checks/vfs.file.time[/etc/httpd/ticketkey.tkey,modify]) > 7200'
|
||||
name: 'TicketKey age is more than two hours'
|
||||
priority: AVERAGE
|
||||
- uuid: 9047878841c3403ebfd1352424ca96d7
|
||||
name: http-accounts
|
||||
type: ZABBIX_ACTIVE
|
||||
key: 'web.page.regexp[https://accounts.fedoraproject.org/healthz/ready,,,OK]'
|
||||
delay: 5m
|
||||
value_type: CHAR
|
||||
trends: '0'
|
||||
timeout: 6s
|
||||
tags:
|
||||
- tag: component
|
||||
value: infra
|
||||
triggers:
|
||||
- uuid: 8830fee0972e42b0874bd1301c84bc58
|
||||
expression: 'last(/Proxy HTTPd checks/web.page.regexp[https://accounts.fedoraproject.org/healthz/ready,,,OK])<>"OK"'
|
||||
name: 'http-accounts connection failed'
|
||||
priority: AVERAGE
|
||||
tags:
|
||||
- tag: scope
|
||||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
- uuid: facba1ec8a224d728f329e7cef2e3fa2
|
||||
name: http-bodhi
|
||||
type: ZABBIX_ACTIVE
|
||||
key: 'web.page.regexp[https://bodhi.fedoraproject.org/,,,Active Testers]'
|
||||
delay: 5m
|
||||
value_type: CHAR
|
||||
trends: '0'
|
||||
timeout: 10s
|
||||
tags:
|
||||
- tag: component
|
||||
value: infra
|
||||
triggers:
|
||||
- uuid: 777798b8704c4eb8a9a90d8b0054a900
|
||||
expression: 'last(/Proxy HTTPd checks/web.page.regexp[https://bodhi.fedoraproject.org/,,,Active Testers])<>"Active Testers"'
|
||||
name: 'http-bodhi connection failed'
|
||||
priority: AVERAGE
|
||||
tags:
|
||||
- tag: scope
|
||||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
- uuid: 4edb5b8c43484515b525c3653da78fd6
|
||||
name: http-docs.fedoraproject.org
|
||||
type: ZABBIX_ACTIVE
|
||||
key: 'web.page.regexp[https://docs.fedoraproject.org/en-US/docs/index.html,,,Antora]'
|
||||
delay: 5m
|
||||
value_type: CHAR
|
||||
trends: '0'
|
||||
timeout: 6s
|
||||
tags:
|
||||
- tag: component
|
||||
value: infra
|
||||
triggers:
|
||||
- uuid: d2111d480e404b349f14f400ff2a693a
|
||||
expression: 'last(/Proxy HTTPd checks/web.page.regexp[https://docs.fedoraproject.org/en-US/docs/index.html,,,Antora])<>"Antora"'
|
||||
name: 'http-docs.fedoraproject.org connection failed'
|
||||
priority: AVERAGE
|
||||
tags:
|
||||
- tag: scope
|
||||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
- uuid: 80960b21fa7146538d6ddd9a2ec78e84
|
||||
name: http-fedoraproject.org
|
||||
type: ZABBIX_ACTIVE
|
||||
|
|
@ -113,6 +176,111 @@ zabbix_export:
|
|||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
- uuid: 81fe4d1f57d24fbab33de37e21b45cfc
|
||||
name: http-greenwave
|
||||
type: ZABBIX_ACTIVE
|
||||
key: 'web.page.regexp[https://greenwave-web-greenwave.apps.ocp.fedoraproject.org/api/v1.0/policies,,,bodhi_update_push_stable]'
|
||||
delay: 5m
|
||||
value_type: CHAR
|
||||
trends: '0'
|
||||
timeout: 6s
|
||||
tags:
|
||||
- tag: component
|
||||
value: infra
|
||||
triggers:
|
||||
- uuid: ea8cf6f662e74b04ad0b18731bf966ef
|
||||
expression: 'last(/Proxy HTTPd checks/web.page.regexp[https://greenwave-web-greenwave.apps.ocp.fedoraproject.org/api/v1.0/policies,,,bodhi_update_push_stable])<>"bodhi_update_push_stable"'
|
||||
name: 'http-greenwave connection failed'
|
||||
priority: AVERAGE
|
||||
tags:
|
||||
- tag: scope
|
||||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
- uuid: 0979be4b524e4dd4a5735b5a7640a69c
|
||||
name: http-ipsilon
|
||||
type: ZABBIX_ACTIVE
|
||||
key: 'web.page.regexp[https://id.fedoraproject.org/,,,your Fedora Account]'
|
||||
delay: 5m
|
||||
value_type: CHAR
|
||||
trends: '0'
|
||||
timeout: 6s
|
||||
tags:
|
||||
- tag: component
|
||||
value: infra
|
||||
triggers:
|
||||
- uuid: 928062a012a54ce2b20a215c0d35e3af
|
||||
expression: 'last(/Proxy HTTPd checks/web.page.regexp[https://id.fedoraproject.org/,,,your Fedora Account])<>"your Fedora Account"'
|
||||
name: 'http-ipsilon connection failed'
|
||||
priority: AVERAGE
|
||||
tags:
|
||||
- tag: scope
|
||||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
- uuid: bffc1489f8014272963b30f258082960
|
||||
name: http-koschei
|
||||
type: ZABBIX_ACTIVE
|
||||
key: 'web.page.regexp[https://koschei.fedoraproject.org/,,,Package summary]'
|
||||
delay: 5m
|
||||
value_type: CHAR
|
||||
trends: '0'
|
||||
timeout: 6s
|
||||
tags:
|
||||
- tag: component
|
||||
value: infra
|
||||
triggers:
|
||||
- uuid: ebe02ba799684a2aa1e9948d1b56bd68
|
||||
expression: 'last(/Proxy HTTPd checks/web.page.regexp[https://koschei.fedoraproject.org/,,,Package summary])<>"Package summary"'
|
||||
name: 'http-koschei connection failed'
|
||||
priority: AVERAGE
|
||||
tags:
|
||||
- tag: scope
|
||||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
- uuid: 3434b19611b74ce49dbb4ebbae0e71a9
|
||||
name: http-mirrorlist
|
||||
type: ZABBIX_ACTIVE
|
||||
key: 'web.page.regexp[https://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64&country=global,,,development]'
|
||||
delay: 5m
|
||||
value_type: CHAR
|
||||
trends: '0'
|
||||
timeout: 6s
|
||||
tags:
|
||||
- tag: component
|
||||
value: infra
|
||||
triggers:
|
||||
- uuid: 0d99a7de0ca94563b556cfc08eb39702
|
||||
expression: 'last(/Proxy HTTPd checks/web.page.regexp[https://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64&country=global,,,development])<>"development"'
|
||||
name: 'http-mirrorlist connection failed'
|
||||
priority: AVERAGE
|
||||
tags:
|
||||
- tag: scope
|
||||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
- uuid: f3b7373f76f5430f817532aa33104387
|
||||
name: http-moby-regsitry
|
||||
type: ZABBIX_ACTIVE
|
||||
key: 'web.page.regexp[https://registry.fedoraproject.org/v2/,,,{}]'
|
||||
delay: 5m
|
||||
value_type: CHAR
|
||||
trends: '0'
|
||||
timeout: 6s
|
||||
tags:
|
||||
- tag: component
|
||||
value: infra
|
||||
triggers:
|
||||
- uuid: 09fa67873d3745268a0a3f06c9c68a02
|
||||
expression: 'last(/Proxy HTTPd checks/web.page.regexp[https://registry.fedoraproject.org/v2/,,,{}])<>"{}"'
|
||||
name: 'http-moby-gresitry connection failed'
|
||||
priority: AVERAGE
|
||||
tags:
|
||||
- tag: scope
|
||||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
- uuid: dc1cf4b6e1a643e5802428a6d37ab36c
|
||||
name: http-release-monitoring.org
|
||||
type: ZABBIX_ACTIVE
|
||||
|
|
@ -134,6 +302,27 @@ zabbix_export:
|
|||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
- uuid: d061c00b873f4777bc4f14679366062e
|
||||
name: http-waiverdb
|
||||
type: ZABBIX_ACTIVE
|
||||
key: 'web.page.regexp[https://waiverdb-web-waiverdb.apps.ocp.fedoraproject.org/api/v1.0/waivers/,,,first]'
|
||||
delay: 5m
|
||||
value_type: CHAR
|
||||
trends: '0'
|
||||
timeout: 6s
|
||||
tags:
|
||||
- tag: component
|
||||
value: infra
|
||||
triggers:
|
||||
- uuid: aaa3e2d4fb9d41cba1f5007c9521837d
|
||||
expression: 'last(/Proxy HTTPd checks/web.page.regexp[https://waiverdb-web-waiverdb.apps.ocp.fedoraproject.org/api/v1.0/waivers/,,,first])<>"first"'
|
||||
name: 'http-waiverdb connection failed'
|
||||
priority: AVERAGE
|
||||
tags:
|
||||
- tag: scope
|
||||
value: availability
|
||||
- tag: scope
|
||||
value: connectivity
|
||||
tags:
|
||||
- tag: application
|
||||
value: proxies
|
||||
|
|
|
|||
|
|
@ -74,13 +74,6 @@ define service {
|
|||
|
||||
# ocp4 cluster stg
|
||||
|
||||
define service {
|
||||
hostgroup_name oneproxy-stg
|
||||
service_description https-ocp4-stg-cert
|
||||
check_command check_ssl_cert!console-openshift-console.apps.ocp.stg.fedoraproject.org!25
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name retrace.fedoraproject.org
|
||||
service_description http-cert-retrace.fedoraproject.org
|
||||
|
|
|
|||
|
|
@ -1,10 +1,3 @@
|
|||
define service {
|
||||
hostgroup_name proxies
|
||||
service_description http-ipsilon
|
||||
check_command check_website_ssl!id.fedoraproject.org!/!your Fedora Account
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name proxies
|
||||
service_description http-mirrors.fedoraproject.org-mirrorlist
|
||||
|
|
@ -13,46 +6,6 @@ define service {
|
|||
servicegroups mirrorlist
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name proxies
|
||||
service_description http-docs.fedoraproject.org
|
||||
check_command check_website_ssl!docs.fedoraproject.org!/en-US/docs/index.html!Antora
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name proxies_ocp4
|
||||
service_description http-accounts
|
||||
check_command check_website_ssl!accounts.fedoraproject.org!/healthz/ready!OK
|
||||
use websitetemplate
|
||||
# servicegroups fas
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name proxies_ocp4
|
||||
service_description http-bodhi
|
||||
check_command check_website_ssl!bodhi.fedoraproject.org!/!Fedora
|
||||
max_check_attempts 8
|
||||
use websitetemplate
|
||||
servicegroups bodhi
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name proxies_ocp4
|
||||
service_description http-bodhi2
|
||||
check_command check_website_ssl!bodhi.fedoraproject.org!/!Active Testers
|
||||
max_check_attempts 8
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name proxies
|
||||
service_description http-koschei
|
||||
check_command check_website_ssl!koschei.fedoraproject.org!/!Package summary
|
||||
max_check_attempts 8
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name proxies
|
||||
service_description http-moby-registry
|
||||
|
|
@ -62,7 +15,7 @@ define service {
|
|||
}
|
||||
|
||||
define service {
|
||||
host_name registry-cdn
|
||||
host_name registry-cdn
|
||||
service_description http-moby-registry-cdn
|
||||
check_command check_website_ssl!cdn.registry.fedoraproject.org!/v2/!{}
|
||||
max_check_attempts 8
|
||||
|
|
@ -129,14 +82,6 @@ define service {
|
|||
use internalwebsitetemplate
|
||||
}
|
||||
|
||||
#define service {
|
||||
# hostgroup_name fas
|
||||
# service_description http-accounts
|
||||
# check_command check_website!localhost!/accounts/help/get_help/user_telephone!emergency
|
||||
# use internalwebsitetemplate
|
||||
# servicegroups fas
|
||||
#}
|
||||
|
||||
define service {
|
||||
hostgroup_name ipa
|
||||
service_description http-ipa-internal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue