From 3c015a347aa8292645f9fa1f42afc636f5eeec7c Mon Sep 17 00:00:00 2001 From: Marco Kohn Date: Fri, 18 Sep 2026 15:23:31 +0200 Subject: [PATCH] Full update from Mint --- Gitlab-Foo/Pipeline Status.yml | 26 ++++++++++++++++ Gitlab-Foo/opencollection.yml | 2 +- Icinga DEV/.gitignore | 9 ++++++ Icinga DEV/Basic Status.yml | 19 ++++++++++++ Icinga DEV/Untitled.yml | 27 ++++++++++++++++ Icinga DEV/opencollection.yml | 27 ++++++++++++++++ Icinga QSU NG/API Eventcommand.bru | 29 +++++++++++++++++ .../full rights/Service query WIN.bru | 31 +++++++++++++++++++ .../full rights/Service query match WIN.bru | 28 +++++++++++++++++ .../API Time Test/full rights/folder.bru | 2 +- .../rights with filter NBANK/Host query.bru | 2 +- .../Host query match.bru | 28 +++++++++++++++++ .../rights with filter WIN/Host query.bru | 31 +++++++++++++++++++ .../Service query match.bru | 28 +++++++++++++++++ .../rights with filter WIN/Service query.bru | 31 +++++++++++++++++++ .../rights with filter WIN/Status.bru | 17 ++++++++++ .../rights with filter WIN/folder.bru | 13 ++++++++ .../Host query match.bru | 28 +++++++++++++++++ .../rights with filter WINTest/Host query.bru | 31 +++++++++++++++++++ .../Service query match.bru | 28 +++++++++++++++++ .../Service query.bru | 31 +++++++++++++++++++ .../rights with filter WINTest/Status.bru | 17 ++++++++++ .../rights with filter WINTest/folder.bru | 13 ++++++++ Icinga QSU NG/all event commands.bru | 21 +++++++++++++ Icinga QSU NG/collection.bru | 2 +- README.md | 1 - Ulanzi/{Infos => }/Apps in loop.bru | 0 Ulanzi/{Infos => }/Available Effects.bru | 0 Ulanzi/{Infos => }/Available Transitions.bru | 0 Ulanzi/{Infos => }/Stats.bru | 0 .../Ulanzi.bru => collection.bru} | 2 +- 31 files changed, 518 insertions(+), 6 deletions(-) create mode 100644 Gitlab-Foo/Pipeline Status.yml create mode 100644 Icinga DEV/.gitignore create mode 100644 Icinga DEV/Basic Status.yml create mode 100644 Icinga DEV/Untitled.yml create mode 100644 Icinga DEV/opencollection.yml create mode 100644 Icinga QSU NG/API Eventcommand.bru create mode 100644 Icinga QSU NG/API Time Test/full rights/Service query WIN.bru create mode 100644 Icinga QSU NG/API Time Test/full rights/Service query match WIN.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WIN/Host query match.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WIN/Host query.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WIN/Service query match.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WIN/Service query.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WIN/Status.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WIN/folder.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WINTest/Host query match.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WINTest/Host query.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WINTest/Service query match.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WINTest/Service query.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WINTest/Status.bru create mode 100644 Icinga QSU NG/API Time Test/rights with filter WINTest/folder.bru create mode 100644 Icinga QSU NG/all event commands.bru delete mode 100644 README.md rename Ulanzi/{Infos => }/Apps in loop.bru (100%) rename Ulanzi/{Infos => }/Available Effects.bru (100%) rename Ulanzi/{Infos => }/Available Transitions.bru (100%) rename Ulanzi/{Infos => }/Stats.bru (100%) rename Ulanzi/{environments/Ulanzi.bru => collection.bru} (55%) diff --git a/Gitlab-Foo/Pipeline Status.yml b/Gitlab-Foo/Pipeline Status.yml new file mode 100644 index 0000000..92b391d --- /dev/null +++ b/Gitlab-Foo/Pipeline Status.yml @@ -0,0 +1,26 @@ +info: + name: Pipeline Status + type: http + seq: 2 + +http: + method: GET + url: https://gitlab.noris.net/api/v4/projects/8002/pipelines?per_page=1&order_by=id&sort=desc + params: + - name: per_page + value: "1" + type: query + - name: order_by + value: id + type: query + - name: sort + value: desc + type: query + auth: inherit + +settings: + encodeUrl: true + timeout: 0 + followRedirects: true + maxRedirects: 5 + forwardAuthorizationHeader: true diff --git a/Gitlab-Foo/opencollection.yml b/Gitlab-Foo/opencollection.yml index d8e8fdc..5e21347 100644 --- a/Gitlab-Foo/opencollection.yml +++ b/Gitlab-Foo/opencollection.yml @@ -17,7 +17,7 @@ config: request: headers: - name: PRIVATE-TOKEN - value: glpat-J_7ssD2sY7eLmhuqWJRR + value: glpat-oV7Vb42PM-Yvirp3Bvys bundled: false extensions: bruno: diff --git a/Icinga DEV/.gitignore b/Icinga DEV/.gitignore new file mode 100644 index 0000000..e19311f --- /dev/null +++ b/Icinga DEV/.gitignore @@ -0,0 +1,9 @@ +# Secrets +.env* + +# Dependencies +node_modules + +# OS files +.DS_Store +Thumbs.db \ No newline at end of file diff --git a/Icinga DEV/Basic Status.yml b/Icinga DEV/Basic Status.yml new file mode 100644 index 0000000..aa59f6c --- /dev/null +++ b/Icinga DEV/Basic Status.yml @@ -0,0 +1,19 @@ +info: + name: Basic Status + type: http + seq: 2 + +http: + method: GET + url: https://ic2-master01ve.monitoring.noris.de:5665/v1/status/ + headers: + - name: Accept + value: application/json + auth: inherit + +settings: + encodeUrl: true + timeout: 0 + followRedirects: true + maxRedirects: 5 + forwardAuthorizationHeader: true diff --git a/Icinga DEV/Untitled.yml b/Icinga DEV/Untitled.yml new file mode 100644 index 0000000..7dd669c --- /dev/null +++ b/Icinga DEV/Untitled.yml @@ -0,0 +1,27 @@ +info: + name: Untitled + type: http + seq: 1 + +http: + method: POST + url: https://ic2-master01ve.monitoring.noris.de:5665/v1/objects/eventcommands/apihealthz + headers: + - name: Accept + value: application/json + body: + type: json + data: |- + { + "attrs": { + "vars.test": "dummy" + } + } + auth: inherit + +settings: + encodeUrl: true + timeout: 0 + followRedirects: true + maxRedirects: 5 + forwardAuthorizationHeader: false diff --git a/Icinga DEV/opencollection.yml b/Icinga DEV/opencollection.yml new file mode 100644 index 0000000..0126324 --- /dev/null +++ b/Icinga DEV/opencollection.yml @@ -0,0 +1,27 @@ +opencollection: 1.0.0 + +info: + name: Icinga DEV +config: + proxy: + inherit: true + config: + protocol: http + hostname: "" + port: "" + auth: + username: "" + password: "" + bypassProxy: "" + +request: + auth: + type: basic + username: f5_api_healthcheck + password: AeZ3AhTot9am7XeBuYoh9gaiThae6moo +bundled: false +extensions: + bruno: + ignore: + - node_modules + - .git diff --git a/Icinga QSU NG/API Eventcommand.bru b/Icinga QSU NG/API Eventcommand.bru new file mode 100644 index 0000000..7c6c1ef --- /dev/null +++ b/Icinga QSU NG/API Eventcommand.bru @@ -0,0 +1,29 @@ +meta { + name: API Eventcommand + type: http + seq: 8 +} + +post { + url: https://ic2-master02vt.monitoring.noris.de:5665/v1/objects/eventcommands/apihealthz + body: json + auth: inherit +} + +headers { + ~Accept: application/json + ~X-HTTP-Method-Override: POST +} + +body:json { + { + "attrs": { + "vars.test": "dummy" + } + } +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/Icinga QSU NG/API Time Test/full rights/Service query WIN.bru b/Icinga QSU NG/API Time Test/full rights/Service query WIN.bru new file mode 100644 index 0000000..9d8f8b7 --- /dev/null +++ b/Icinga QSU NG/API Time Test/full rights/Service query WIN.bru @@ -0,0 +1,31 @@ +meta { + name: Service query WIN + type: http + seq: 10 +} + +post { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/services + body: json + auth: inherit +} + +headers { + Accept: application/json + X-HTTP-Method-Override: GET +} + +body:json { + { + "filter": "host.name == mysystem1", + "filter_vars": { + "mysystem1": "task01vp.winzone.noris.de" + } + } +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/full rights/Service query match WIN.bru b/Icinga QSU NG/API Time Test/full rights/Service query match WIN.bru new file mode 100644 index 0000000..cd1ada1 --- /dev/null +++ b/Icinga QSU NG/API Time Test/full rights/Service query match WIN.bru @@ -0,0 +1,28 @@ +meta { + name: Service query match WIN + type: http + seq: 11 +} + +post { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/services + body: json + auth: inherit +} + +headers { + Accept: application/json + X-HTTP-Method-Override: GET +} + +body:json { + { + "filter": "match(\"*task01vp.winzone.noris.de*\", host.name)" + } +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/full rights/folder.bru b/Icinga QSU NG/API Time Test/full rights/folder.bru index 6b32ab2..ae38c43 100644 --- a/Icinga QSU NG/API Time Test/full rights/folder.bru +++ b/Icinga QSU NG/API Time Test/full rights/folder.bru @@ -9,5 +9,5 @@ auth { auth:basic { username: icinga2_admin - password: blubblub + password: uteeyobepoSh2Daiheeb8iezufuab3Pag2gichaiphai9iexohZoh6ohhooFeixi } diff --git a/Icinga QSU NG/API Time Test/rights with filter NBANK/Host query.bru b/Icinga QSU NG/API Time Test/rights with filter NBANK/Host query.bru index 97fcd81..364eae8 100644 --- a/Icinga QSU NG/API Time Test/rights with filter NBANK/Host query.bru +++ b/Icinga QSU NG/API Time Test/rights with filter NBANK/Host query.bru @@ -19,7 +19,7 @@ body:json { { "filter": "host.name == mysystem1", "filter_vars": { - "mysystem1": "*app-rocket01vp.ad.nbank.de*" + "mysystem1": "app-rocket01vp.ad.nbank.de" } } } diff --git a/Icinga QSU NG/API Time Test/rights with filter WIN/Host query match.bru b/Icinga QSU NG/API Time Test/rights with filter WIN/Host query match.bru new file mode 100644 index 0000000..4e47671 --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WIN/Host query match.bru @@ -0,0 +1,28 @@ +meta { + name: Host query match + type: http + seq: 3 +} + +post { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/hosts + body: json + auth: inherit +} + +headers { + Accept: application/json + X-HTTP-Method-Override: GET +} + +body:json { + { + "filter": "match(\"*task01vp.winzone.noris.de\", host.name)" + } +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WIN/Host query.bru b/Icinga QSU NG/API Time Test/rights with filter WIN/Host query.bru new file mode 100644 index 0000000..f6121b4 --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WIN/Host query.bru @@ -0,0 +1,31 @@ +meta { + name: Host query + type: http + seq: 2 +} + +post { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/hosts + body: json + auth: inherit +} + +headers { + Accept: application/json + X-HTTP-Method-Override: GET +} + +body:json { + { + "filter": "host.name == mysystem1", + "filter_vars": { + "mysystem1": "task01vp.winzone.noris.de" + } + } +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WIN/Service query match.bru b/Icinga QSU NG/API Time Test/rights with filter WIN/Service query match.bru new file mode 100644 index 0000000..50d3dc3 --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WIN/Service query match.bru @@ -0,0 +1,28 @@ +meta { + name: Service query match + type: http + seq: 5 +} + +post { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/services + body: json + auth: inherit +} + +headers { + Accept: application/json + X-HTTP-Method-Override: GET +} + +body:json { + { + "filter": "match(\"*task01vp.winzone.noris.de*\", host.name)" + } +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WIN/Service query.bru b/Icinga QSU NG/API Time Test/rights with filter WIN/Service query.bru new file mode 100644 index 0000000..3bdec5a --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WIN/Service query.bru @@ -0,0 +1,31 @@ +meta { + name: Service query + type: http + seq: 4 +} + +post { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/services + body: json + auth: inherit +} + +headers { + Accept: application/json + X-HTTP-Method-Override: GET +} + +body:json { + { + "filter": "host.name == mysystem1", + "filter_vars": { + "mysystem1": "task01vp.winzone.noris.de" + } + } +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WIN/Status.bru b/Icinga QSU NG/API Time Test/rights with filter WIN/Status.bru new file mode 100644 index 0000000..650632b --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WIN/Status.bru @@ -0,0 +1,17 @@ +meta { + name: Status + type: http + seq: 1 +} + +get { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/status/ + body: none + auth: inherit +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WIN/folder.bru b/Icinga QSU NG/API Time Test/rights with filter WIN/folder.bru new file mode 100644 index 0000000..f68f23b --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WIN/folder.bru @@ -0,0 +1,13 @@ +meta { + name: rights with filter WIN + seq: 5 +} + +auth { + mode: basic +} + +auth:basic { + username: oas_win_ansible + password: 2ZCb8uhrirBTbAFGHEmEq43HNaI9SI54AbbyltSVGLfNSJOsMVthGJYP65EQePqR +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WINTest/Host query match.bru b/Icinga QSU NG/API Time Test/rights with filter WINTest/Host query match.bru new file mode 100644 index 0000000..4e47671 --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WINTest/Host query match.bru @@ -0,0 +1,28 @@ +meta { + name: Host query match + type: http + seq: 3 +} + +post { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/hosts + body: json + auth: inherit +} + +headers { + Accept: application/json + X-HTTP-Method-Override: GET +} + +body:json { + { + "filter": "match(\"*task01vp.winzone.noris.de\", host.name)" + } +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WINTest/Host query.bru b/Icinga QSU NG/API Time Test/rights with filter WINTest/Host query.bru new file mode 100644 index 0000000..f6121b4 --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WINTest/Host query.bru @@ -0,0 +1,31 @@ +meta { + name: Host query + type: http + seq: 2 +} + +post { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/hosts + body: json + auth: inherit +} + +headers { + Accept: application/json + X-HTTP-Method-Override: GET +} + +body:json { + { + "filter": "host.name == mysystem1", + "filter_vars": { + "mysystem1": "task01vp.winzone.noris.de" + } + } +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WINTest/Service query match.bru b/Icinga QSU NG/API Time Test/rights with filter WINTest/Service query match.bru new file mode 100644 index 0000000..50d3dc3 --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WINTest/Service query match.bru @@ -0,0 +1,28 @@ +meta { + name: Service query match + type: http + seq: 5 +} + +post { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/services + body: json + auth: inherit +} + +headers { + Accept: application/json + X-HTTP-Method-Override: GET +} + +body:json { + { + "filter": "match(\"*task01vp.winzone.noris.de*\", host.name)" + } +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WINTest/Service query.bru b/Icinga QSU NG/API Time Test/rights with filter WINTest/Service query.bru new file mode 100644 index 0000000..3bdec5a --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WINTest/Service query.bru @@ -0,0 +1,31 @@ +meta { + name: Service query + type: http + seq: 4 +} + +post { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/services + body: json + auth: inherit +} + +headers { + Accept: application/json + X-HTTP-Method-Override: GET +} + +body:json { + { + "filter": "host.name == mysystem1", + "filter_vars": { + "mysystem1": "task01vp.winzone.noris.de" + } + } +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WINTest/Status.bru b/Icinga QSU NG/API Time Test/rights with filter WINTest/Status.bru new file mode 100644 index 0000000..650632b --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WINTest/Status.bru @@ -0,0 +1,17 @@ +meta { + name: Status + type: http + seq: 1 +} + +get { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/status/ + body: none + auth: inherit +} + +settings { + encodeUrl: true + timeout: 0 + forwardAuthorizationHeader: false +} diff --git a/Icinga QSU NG/API Time Test/rights with filter WINTest/folder.bru b/Icinga QSU NG/API Time Test/rights with filter WINTest/folder.bru new file mode 100644 index 0000000..4455662 --- /dev/null +++ b/Icinga QSU NG/API Time Test/rights with filter WINTest/folder.bru @@ -0,0 +1,13 @@ +meta { + name: rights with filter WINTest + seq: 6 +} + +auth { + mode: basic +} + +auth:basic { + username: oas_win_ansible_2 + password: 2ZCb8uhrirBTbAFGHEmEq43HNaI9SI54AbbyltSVGLfNSJOsMVthGJYP65EQePqR +} diff --git a/Icinga QSU NG/all event commands.bru b/Icinga QSU NG/all event commands.bru new file mode 100644 index 0000000..e476f1b --- /dev/null +++ b/Icinga QSU NG/all event commands.bru @@ -0,0 +1,21 @@ +meta { + name: all event commands + type: http + seq: 9 +} + +get { + url: https://ic2-master01vt.monitoring.noris.de:5665/v1/objects/eventcommands + body: json + auth: inherit +} + +headers { + ~Accept: application/json + ~X-HTTP-Method-Override: GET +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/Icinga QSU NG/collection.bru b/Icinga QSU NG/collection.bru index 182620d..b691284 100644 --- a/Icinga QSU NG/collection.bru +++ b/Icinga QSU NG/collection.bru @@ -8,5 +8,5 @@ auth { auth:basic { username: icinga2_admin - password: blubblub + password: uteeyobepoSh2Daiheeb8iezufuab3Pag2gichaiphai9iexohZoh6ohhooFeixi } diff --git a/README.md b/README.md deleted file mode 100644 index ab1594e..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# bruno-collections diff --git a/Ulanzi/Infos/Apps in loop.bru b/Ulanzi/Apps in loop.bru similarity index 100% rename from Ulanzi/Infos/Apps in loop.bru rename to Ulanzi/Apps in loop.bru diff --git a/Ulanzi/Infos/Available Effects.bru b/Ulanzi/Available Effects.bru similarity index 100% rename from Ulanzi/Infos/Available Effects.bru rename to Ulanzi/Available Effects.bru diff --git a/Ulanzi/Infos/Available Transitions.bru b/Ulanzi/Available Transitions.bru similarity index 100% rename from Ulanzi/Infos/Available Transitions.bru rename to Ulanzi/Available Transitions.bru diff --git a/Ulanzi/Infos/Stats.bru b/Ulanzi/Stats.bru similarity index 100% rename from Ulanzi/Infos/Stats.bru rename to Ulanzi/Stats.bru diff --git a/Ulanzi/environments/Ulanzi.bru b/Ulanzi/collection.bru similarity index 55% rename from Ulanzi/environments/Ulanzi.bru rename to Ulanzi/collection.bru index 741950d..fb279a3 100644 --- a/Ulanzi/environments/Ulanzi.bru +++ b/Ulanzi/collection.bru @@ -1,3 +1,3 @@ -vars { +vars:pre-request { IP: 192.168.200.120 }