diff options
Diffstat (limited to 'templates/app/travis_ci_http/template_app_travis_ci_http.yaml')
-rw-r--r-- | templates/app/travis_ci_http/template_app_travis_ci_http.yaml | 169 |
1 files changed, 123 insertions, 46 deletions
diff --git a/templates/app/travis_ci_http/template_app_travis_ci_http.yaml b/templates/app/travis_ci_http/template_app_travis_ci_http.yaml index c230416b22a..99539c8039a 100644 --- a/templates/app/travis_ci_http/template_app_travis_ci_http.yaml +++ b/templates/app/travis_ci_http/template_app_travis_ci_http.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-15T08:56:34Z' + date: '2022-01-26T10:46:52Z' groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 @@ -20,7 +20,7 @@ zabbix_export: You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/ - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Applications @@ -44,8 +44,8 @@ zabbix_export: key: travis.get_builds tags: - - tag: Application - value: Travis + tag: component + value: builds - uuid: e0d31827266f4d1599cb687d15d42747 name: 'Travis: Builds' @@ -63,8 +63,8 @@ zabbix_export: key: travis.get_builds tags: - - tag: Application - value: Travis + tag: component + value: builds - uuid: 08466cd6902441299856cba3ce601510 name: 'Travis: Get builds' @@ -88,8 +88,11 @@ zabbix_export: value: 'token {$TRAVIS.API.TOKEN}' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: builds + - + tag: component + value: raw - uuid: 997172d503c54798800d01c613aca92a name: 'Travis: Get health' @@ -120,8 +123,8 @@ zabbix_export: value: 'token {$TRAVIS.API.TOKEN}' tags: - - tag: Application - value: Travis + tag: component + value: health triggers: - uuid: 6baed695cac34d349a42ab6e8295910d @@ -130,6 +133,10 @@ zabbix_export: priority: WARNING description: 'Zabbix has not received data for items for the last 30 minutes.' manual_close: 'YES' + tags: + - + tag: scope + value: availability - uuid: e8398acab5a74505a85ade5d3ca5f590 expression: 'last(/Travis CI by HTTP/travis.get_health)=0' @@ -137,6 +144,10 @@ zabbix_export: priority: HIGH description: 'Travis API is unavailable. Please check if the correct macros are set.' manual_close: 'YES' + tags: + - + tag: scope + value: availability - uuid: 5a01061d1f3d48f8ad0beb4d32e2168d name: 'Travis: Get jobs' @@ -156,8 +167,11 @@ zabbix_export: value: 'token {$TRAVIS.API.TOKEN}' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: jobs + - + tag: component + value: raw - uuid: 5212bfa6de6c4a17b98a80012f617eea name: 'Travis: Get repos' @@ -181,8 +195,11 @@ zabbix_export: value: 'token {$TRAVIS.API.TOKEN}' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: raw + - + tag: component + value: repos - uuid: 81504a37965b402bad9b71507c4a8926 name: 'Travis: Jobs active' @@ -202,8 +219,8 @@ zabbix_export: key: travis.get_jobs tags: - - tag: Application - value: Travis + tag: component + value: jobs - uuid: a1045b05877941bfba97e086ef33234c name: 'Travis: Jobs in queue' @@ -223,8 +240,8 @@ zabbix_export: key: travis.get_jobs tags: - - tag: Application - value: Travis + tag: component + value: jobs - uuid: 421a1a1a886c46188047914d5149c075 name: 'Travis: Jobs passed' @@ -242,8 +259,8 @@ zabbix_export: key: travis.get_jobs tags: - - tag: Application - value: Travis + tag: component + value: jobs discovery_rules: - uuid: 0bd67f5bd26f4dbbbda7e2d36efac649 @@ -270,8 +287,11 @@ zabbix_export: key: 'travis.repo.get_builds[{#SLUG}]' tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: builds + - + tag: repo + value: '{#SLUG}' - uuid: 0d2f2c7b23284836ad52b4ddc98dcfc8 name: 'Travis: Repo [{#SLUG}]: Builds passed, %' @@ -283,8 +303,11 @@ zabbix_export: description: 'Percent of passed builds in {#SLUG} repo.' tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: builds + - + tag: repo + value: '{#SLUG}' trigger_prototypes: - uuid: 8279ce31c4fe4cb7a03baa8a0149a557 @@ -293,6 +316,10 @@ zabbix_export: priority: WARNING description: 'Low successful builds rate.' manual_close: 'YES' + tags: + - + tag: scope + value: performance - uuid: 1b2143c3e6934e0fae5589b4bb0063b5 name: 'Travis: Repo [{#SLUG}]: Builds passed' @@ -310,8 +337,11 @@ zabbix_export: key: 'travis.repo.get_builds[{#SLUG}]' tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: builds + - + tag: repo + value: '{#SLUG}' - uuid: d67070c3c7b44c5b8849a315f5f97c8b name: 'Travis: Repo [{#SLUG}]: Builds total' @@ -329,8 +359,11 @@ zabbix_export: key: 'travis.repo.get_builds[{#SLUG}]' tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: builds + - + tag: repo + value: '{#SLUG}' - uuid: 5fa0c9393f224efa8d6b42c3a0f12319 name: 'Travis: Repo [{#SLUG}]: Cache files' @@ -348,8 +381,11 @@ zabbix_export: key: 'travis.repo.get_caches[{#SLUG}]' tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: caches + - + tag: repo + value: '{#SLUG}' - uuid: 6fe5a61db38e4a2da25314a18cf10a8e name: 'Travis: Repo [{#SLUG}]: Cache size' @@ -370,8 +406,11 @@ zabbix_export: key: 'travis.repo.get_caches[{#SLUG}]' tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: caches + - + tag: repo + value: '{#SLUG}' - uuid: 2705ff3b0b51434ba0469362aa91c67d name: 'Travis: Repo [{#SLUG}]: Description' @@ -395,8 +434,11 @@ zabbix_export: key: travis.get_repos tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: repo + - + tag: repo + value: '{#SLUG}' - uuid: ed33292bc0924b9c85cb54443d5aa999 name: 'Travis: Repo [{#SLUG}]: Get builds' @@ -420,8 +462,14 @@ zabbix_export: value: 'token {$TRAVIS.API.TOKEN}' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: builds + - + tag: component + value: raw + - + tag: repo + value: '{#SLUG}' - uuid: 2e0c047997624373a50001b8399b3d7c name: 'Travis: Repo [{#SLUG}]: Get caches' @@ -445,8 +493,14 @@ zabbix_export: value: 'token {$TRAVIS.API.TOKEN}' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: caches + - + tag: component + value: raw + - + tag: repo + value: '{#SLUG}' - uuid: 7391c532acf649259be018cbf499b565 name: 'Travis: Repo [{#SLUG}]: Last build duration' @@ -470,8 +524,11 @@ zabbix_export: key: 'travis.repo.get_builds[{#SLUG}]' tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: last_build + - + tag: repo + value: '{#SLUG}' - uuid: fbcb7b4001b949889fc85f2499684aae name: 'Travis: Repo [{#SLUG}]: Last build id' @@ -493,8 +550,11 @@ zabbix_export: key: 'travis.repo.get_builds[{#SLUG}]' tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: last_build + - + tag: repo + value: '{#SLUG}' - uuid: d9dbe9ffeafa46569fce1ca5ba4897cf name: 'Travis: Repo [{#SLUG}]: Last build number' @@ -516,8 +576,11 @@ zabbix_export: key: 'travis.repo.get_builds[{#SLUG}]' tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: last_build + - + tag: repo + value: '{#SLUG}' - uuid: a081582913ca40ee93a6e5fb326c5c64 name: 'Travis: Repo [{#SLUG}]: Last build state' @@ -541,8 +604,11 @@ zabbix_export: key: 'travis.repo.get_builds[{#SLUG}]' tags: - - tag: Application - value: 'Travis: Repo [{#SLUG}]' + tag: component + value: last_build + - + tag: repo + value: '{#SLUG}' trigger_prototypes: - uuid: 9b26f06ae3854aad8d2c0f4623bb1533 @@ -551,6 +617,10 @@ zabbix_export: priority: WARNING description: 'Last build status is errored.' manual_close: 'YES' + tags: + - + tag: scope + value: performance graph_prototypes: - uuid: b13d986ae110458a80d74f32bb267ed7 @@ -591,6 +661,13 @@ zabbix_export: type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 1h + tags: + - + tag: class + value: service + - + tag: target + value: travis macros: - macro: '{$TRAVIS.API.TOKEN}' |