From 13eeb6df86e958a3ee06b289c04aa4adf4a81b41 Mon Sep 17 00:00:00 2001 From: Marco Kohn Date: Fri, 13 Mar 2026 17:54:59 +0100 Subject: [PATCH] update --- Icinga DEV NG/Basic Status.bru | 11 +++++++ Icinga DEV NG/Dummy.bru | 17 ++++++++++ Icinga DEV NG/Sat01-infra.bru | 16 +++++++++ Icinga DEV NG/Sat01.bru | 16 +++++++++ Icinga DEV NG/bruno.json | 9 +++++ Icinga DEV NG/collection.bru | 12 +++++++ Icinga PROD/Basic Status.bru | 11 +++++++ Icinga PROD/OAS WIN Test.bru | 26 +++++++++++++++ .../Remove Downtime by Hostfilter.bru | 19 +++++++++++ Icinga PROD/Set Downtime by Hostfilter.bru | 25 ++++++++++++++ Icinga PROD/Test.bru | 11 +++++++ Icinga PROD/bruno.json | 9 +++++ Icinga PROD/collection.bru | 12 +++++++ Icinga QSU NG/Dummy.bru | 17 ++++++++++ Icinga QSU NG/Sat01-infra.bru | 16 +++++++++ Icinga QSU NG/Sat01.bru | 16 +++++++++ Icinga QSU/Basic Status.bru | 11 +++++++ Icinga QSU/FIlter Test Post Native.bru | 23 +++++++++++++ Icinga QSU/FIlter Test Post url params.bru | 32 ++++++++++++++++++ Icinga QSU/Remove Downtime by Hostfilter.bru | 19 +++++++++++ Icinga QSU/Set Downtime by Hostfilter.bru | 25 ++++++++++++++ Icinga QSU/Test.bru | 11 +++++++ Icinga QSU/bruno.json | 9 +++++ Icinga QSU/collection.bru | 12 +++++++ SNOW Account/Test Account.bru | 16 +++++++++ SNOW Account/bruno.json | 9 +++++ SNOW Account/collection.bru | 8 +++++ Snow-Mon-QSU/bruno.json | 9 +++++ Snow-Mon-QSU/collection.bru | 8 +++++ Snow-Mon-QSU/server-by-zone-min.bru | 33 +++++++++++++++++++ 30 files changed, 468 insertions(+) create mode 100644 Icinga DEV NG/Basic Status.bru create mode 100644 Icinga DEV NG/Dummy.bru create mode 100644 Icinga DEV NG/Sat01-infra.bru create mode 100644 Icinga DEV NG/Sat01.bru create mode 100644 Icinga DEV NG/bruno.json create mode 100644 Icinga DEV NG/collection.bru create mode 100644 Icinga PROD/Basic Status.bru create mode 100644 Icinga PROD/OAS WIN Test.bru create mode 100644 Icinga PROD/Remove Downtime by Hostfilter.bru create mode 100644 Icinga PROD/Set Downtime by Hostfilter.bru create mode 100644 Icinga PROD/Test.bru create mode 100644 Icinga PROD/bruno.json create mode 100644 Icinga PROD/collection.bru create mode 100644 Icinga QSU NG/Dummy.bru create mode 100644 Icinga QSU NG/Sat01-infra.bru create mode 100644 Icinga QSU NG/Sat01.bru create mode 100644 Icinga QSU/Basic Status.bru create mode 100644 Icinga QSU/FIlter Test Post Native.bru create mode 100644 Icinga QSU/FIlter Test Post url params.bru create mode 100644 Icinga QSU/Remove Downtime by Hostfilter.bru create mode 100644 Icinga QSU/Set Downtime by Hostfilter.bru create mode 100644 Icinga QSU/Test.bru create mode 100644 Icinga QSU/bruno.json create mode 100644 Icinga QSU/collection.bru create mode 100644 SNOW Account/Test Account.bru create mode 100644 SNOW Account/bruno.json create mode 100644 SNOW Account/collection.bru create mode 100644 Snow-Mon-QSU/bruno.json create mode 100644 Snow-Mon-QSU/collection.bru create mode 100644 Snow-Mon-QSU/server-by-zone-min.bru diff --git a/Icinga DEV NG/Basic Status.bru b/Icinga DEV NG/Basic Status.bru new file mode 100644 index 0000000..a88fc02 --- /dev/null +++ b/Icinga DEV NG/Basic Status.bru @@ -0,0 +1,11 @@ +meta { + name: Basic Status + type: http + seq: 2 +} + +get { + url: https://monitoring-api-dev.noris.net:5665/v1/status/ + body: none + auth: inherit +} diff --git a/Icinga DEV NG/Dummy.bru b/Icinga DEV NG/Dummy.bru new file mode 100644 index 0000000..cdac5d8 --- /dev/null +++ b/Icinga DEV NG/Dummy.bru @@ -0,0 +1,17 @@ +meta { + name: Dummy + type: http + seq: 5 +} + +post { + url: http://192.168.200.11/data.php + body: json + auth: inherit +} + +body:json { + {"data": + {"content": "Hello, Discord!"} + } +} diff --git a/Icinga DEV NG/Sat01-infra.bru b/Icinga DEV NG/Sat01-infra.bru new file mode 100644 index 0000000..349abc9 --- /dev/null +++ b/Icinga DEV NG/Sat01-infra.bru @@ -0,0 +1,16 @@ +meta { + name: Sat01-infra + type: http + seq: 4 +} + +get { + url: https://ic2-sat01vt.infra00.monitoring.noris.de:5665/v1/status/ + body: none + auth: basic +} + +auth:basic { + username: icinga2_admin + password: blubblub +} diff --git a/Icinga DEV NG/Sat01.bru b/Icinga DEV NG/Sat01.bru new file mode 100644 index 0000000..2150e29 --- /dev/null +++ b/Icinga DEV NG/Sat01.bru @@ -0,0 +1,16 @@ +meta { + name: Sat01 + type: http + seq: 3 +} + +get { + url: https://ic2-sat01vt.shared00.monitoring.noris.de:5665/v1/status/ + body: none + auth: basic +} + +auth:basic { + username: icinga2_admin + password: blubblub +} diff --git a/Icinga DEV NG/bruno.json b/Icinga DEV NG/bruno.json new file mode 100644 index 0000000..825c292 --- /dev/null +++ b/Icinga DEV NG/bruno.json @@ -0,0 +1,9 @@ +{ + "version": "1", + "name": "Icinga DEV NG", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ] +} \ No newline at end of file diff --git a/Icinga DEV NG/collection.bru b/Icinga DEV NG/collection.bru new file mode 100644 index 0000000..182620d --- /dev/null +++ b/Icinga DEV NG/collection.bru @@ -0,0 +1,12 @@ +headers { + Accept: application/json +} + +auth { + mode: basic +} + +auth:basic { + username: icinga2_admin + password: blubblub +} diff --git a/Icinga PROD/Basic Status.bru b/Icinga PROD/Basic Status.bru new file mode 100644 index 0000000..bf6a3d4 --- /dev/null +++ b/Icinga PROD/Basic Status.bru @@ -0,0 +1,11 @@ +meta { + name: Basic Status + type: http + seq: 1 +} + +get { + url: https://monitoring-api-qsu.noris.net:5665/v1/status/ + body: none + auth: inherit +} diff --git a/Icinga PROD/OAS WIN Test.bru b/Icinga PROD/OAS WIN Test.bru new file mode 100644 index 0000000..e822f39 --- /dev/null +++ b/Icinga PROD/OAS WIN Test.bru @@ -0,0 +1,26 @@ +meta { + name: OAS WIN Test + type: http + seq: 6 +} + +get { + url: https://monitoring-api.noris.net:5665/v1/objects/services?attrs=vars&attrs=state&attrs=paused&attrs=name&attrs=enable_notifications&attrs=display_name&attrs=last_check_result + body: none + auth: basic +} + +params:query { + attrs: vars + attrs: state + attrs: paused + attrs: name + attrs: enable_notifications + attrs: display_name + attrs: last_check_result +} + +auth:basic { + username: oas_win_ansible + password: 2ZCb8uhrirBTbAFGHEmEq43HNaI9SI54AbbyltSVGLfNSJOsMVthGJYP65EQePqR +} diff --git a/Icinga PROD/Remove Downtime by Hostfilter.bru b/Icinga PROD/Remove Downtime by Hostfilter.bru new file mode 100644 index 0000000..9e0ba15 --- /dev/null +++ b/Icinga PROD/Remove Downtime by Hostfilter.bru @@ -0,0 +1,19 @@ +meta { + name: Remove Downtime by Hostfilter + type: http + seq: 2 +} + +post { + url: https://monitoring-api-qsu.noris.net:5665/v1/actions/remove-downtime + body: json + auth: inherit +} + +body:json { + { + "pretty": true, + "type": "Downtime", + "filter": "match(\"*.monitoring.noris.de\", host.name)" + } +} diff --git a/Icinga PROD/Set Downtime by Hostfilter.bru b/Icinga PROD/Set Downtime by Hostfilter.bru new file mode 100644 index 0000000..084c578 --- /dev/null +++ b/Icinga PROD/Set Downtime by Hostfilter.bru @@ -0,0 +1,25 @@ +meta { + name: Set Downtime by Hostfilter + type: http + seq: 4 +} + +post { + url: https://monitoring-api-qsu.noris.net:5665/v1/actions/schedule-downtime + body: json + auth: inherit +} + +body:json { + { + "pretty": true, + "type": "Host", + "filter": "match(\"*.monitoring.noris.de\", host.name)", + "all_services": true, + "author": "Icinga Admin", + "comment": "Test for API", + "fixed": true, + "start_time": 1752241200, + "end_time": 1752244800 + } +} diff --git a/Icinga PROD/Test.bru b/Icinga PROD/Test.bru new file mode 100644 index 0000000..d8065dc --- /dev/null +++ b/Icinga PROD/Test.bru @@ -0,0 +1,11 @@ +meta { + name: Test + type: http + seq: 5 +} + +get { + url: https://monitoring-api-qsu.noris.net:5665/v1/status/ + body: none + auth: inherit +} diff --git a/Icinga PROD/bruno.json b/Icinga PROD/bruno.json new file mode 100644 index 0000000..5b4a19c --- /dev/null +++ b/Icinga PROD/bruno.json @@ -0,0 +1,9 @@ +{ + "version": "1", + "name": "Icinga PROD", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ] +} \ No newline at end of file diff --git a/Icinga PROD/collection.bru b/Icinga PROD/collection.bru new file mode 100644 index 0000000..9ffe729 --- /dev/null +++ b/Icinga PROD/collection.bru @@ -0,0 +1,12 @@ +headers { + Accept: application/json +} + +auth { + mode: basic +} + +auth:basic { + username: icinga2_admin + password: 1Yl21Kcl23DDET8P9qhSFXXeLy9kiCTS7E3uQmIztwygQbnEPHvsBMJk3ZVhmJ72GuWOPPfLkrkBhnc12Kz7dYJyVlNbBxauGbmeCtntpdonjLW9tdAra9W5JmZVTPer +} diff --git a/Icinga QSU NG/Dummy.bru b/Icinga QSU NG/Dummy.bru new file mode 100644 index 0000000..cdac5d8 --- /dev/null +++ b/Icinga QSU NG/Dummy.bru @@ -0,0 +1,17 @@ +meta { + name: Dummy + type: http + seq: 5 +} + +post { + url: http://192.168.200.11/data.php + body: json + auth: inherit +} + +body:json { + {"data": + {"content": "Hello, Discord!"} + } +} diff --git a/Icinga QSU NG/Sat01-infra.bru b/Icinga QSU NG/Sat01-infra.bru new file mode 100644 index 0000000..349abc9 --- /dev/null +++ b/Icinga QSU NG/Sat01-infra.bru @@ -0,0 +1,16 @@ +meta { + name: Sat01-infra + type: http + seq: 4 +} + +get { + url: https://ic2-sat01vt.infra00.monitoring.noris.de:5665/v1/status/ + body: none + auth: basic +} + +auth:basic { + username: icinga2_admin + password: blubblub +} diff --git a/Icinga QSU NG/Sat01.bru b/Icinga QSU NG/Sat01.bru new file mode 100644 index 0000000..2150e29 --- /dev/null +++ b/Icinga QSU NG/Sat01.bru @@ -0,0 +1,16 @@ +meta { + name: Sat01 + type: http + seq: 3 +} + +get { + url: https://ic2-sat01vt.shared00.monitoring.noris.de:5665/v1/status/ + body: none + auth: basic +} + +auth:basic { + username: icinga2_admin + password: blubblub +} diff --git a/Icinga QSU/Basic Status.bru b/Icinga QSU/Basic Status.bru new file mode 100644 index 0000000..bf6a3d4 --- /dev/null +++ b/Icinga QSU/Basic Status.bru @@ -0,0 +1,11 @@ +meta { + name: Basic Status + type: http + seq: 1 +} + +get { + url: https://monitoring-api-qsu.noris.net:5665/v1/status/ + body: none + auth: inherit +} diff --git a/Icinga QSU/FIlter Test Post Native.bru b/Icinga QSU/FIlter Test Post Native.bru new file mode 100644 index 0000000..913b7d6 --- /dev/null +++ b/Icinga QSU/FIlter Test Post Native.bru @@ -0,0 +1,23 @@ +meta { + name: FIlter Test Post Native + type: http + seq: 6 +} + +post { + url: https://monitoring-api-qsu.noris.net:5665/v1/objects/services + body: json + auth: inherit +} + +headers { + X-HTTP-Method-Override: GET +} + +body:json { + { + "pretty": true, + "filter": "match(\"*.monitoring.noris.de\", host.name)", + "attrs": ["vars","state","paused","name","enable_notifications","display_name","last_check_result"] + } +} diff --git a/Icinga QSU/FIlter Test Post url params.bru b/Icinga QSU/FIlter Test Post url params.bru new file mode 100644 index 0000000..0585857 --- /dev/null +++ b/Icinga QSU/FIlter Test Post url params.bru @@ -0,0 +1,32 @@ +meta { + name: FIlter Test Post url params + type: http + seq: 7 +} + +post { + url: https://monitoring-api-qsu.noris.net:5665/v1/objects/services?attrs=vars&attrs=state&attrs=paused&attrs=name&attrs=enable_notifications&attrs=display_name&attrs=last_check_result + body: json + auth: inherit +} + +params:query { + attrs: vars + attrs: state + attrs: paused + attrs: name + attrs: enable_notifications + attrs: display_name + attrs: last_check_result +} + +headers { + X-HTTP-Method-Override: GET +} + +body:json { + { + "pretty": true, + "filter": "match(\"*.monitoring.noris.de\", host.name)" + } +} diff --git a/Icinga QSU/Remove Downtime by Hostfilter.bru b/Icinga QSU/Remove Downtime by Hostfilter.bru new file mode 100644 index 0000000..9e0ba15 --- /dev/null +++ b/Icinga QSU/Remove Downtime by Hostfilter.bru @@ -0,0 +1,19 @@ +meta { + name: Remove Downtime by Hostfilter + type: http + seq: 2 +} + +post { + url: https://monitoring-api-qsu.noris.net:5665/v1/actions/remove-downtime + body: json + auth: inherit +} + +body:json { + { + "pretty": true, + "type": "Downtime", + "filter": "match(\"*.monitoring.noris.de\", host.name)" + } +} diff --git a/Icinga QSU/Set Downtime by Hostfilter.bru b/Icinga QSU/Set Downtime by Hostfilter.bru new file mode 100644 index 0000000..084c578 --- /dev/null +++ b/Icinga QSU/Set Downtime by Hostfilter.bru @@ -0,0 +1,25 @@ +meta { + name: Set Downtime by Hostfilter + type: http + seq: 4 +} + +post { + url: https://monitoring-api-qsu.noris.net:5665/v1/actions/schedule-downtime + body: json + auth: inherit +} + +body:json { + { + "pretty": true, + "type": "Host", + "filter": "match(\"*.monitoring.noris.de\", host.name)", + "all_services": true, + "author": "Icinga Admin", + "comment": "Test for API", + "fixed": true, + "start_time": 1752241200, + "end_time": 1752244800 + } +} diff --git a/Icinga QSU/Test.bru b/Icinga QSU/Test.bru new file mode 100644 index 0000000..d8065dc --- /dev/null +++ b/Icinga QSU/Test.bru @@ -0,0 +1,11 @@ +meta { + name: Test + type: http + seq: 5 +} + +get { + url: https://monitoring-api-qsu.noris.net:5665/v1/status/ + body: none + auth: inherit +} diff --git a/Icinga QSU/bruno.json b/Icinga QSU/bruno.json new file mode 100644 index 0000000..9aa3fb3 --- /dev/null +++ b/Icinga QSU/bruno.json @@ -0,0 +1,9 @@ +{ + "version": "1", + "name": "Icinga QSU", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ] +} \ No newline at end of file diff --git a/Icinga QSU/collection.bru b/Icinga QSU/collection.bru new file mode 100644 index 0000000..9ffe729 --- /dev/null +++ b/Icinga QSU/collection.bru @@ -0,0 +1,12 @@ +headers { + Accept: application/json +} + +auth { + mode: basic +} + +auth:basic { + username: icinga2_admin + password: 1Yl21Kcl23DDET8P9qhSFXXeLy9kiCTS7E3uQmIztwygQbnEPHvsBMJk3ZVhmJ72GuWOPPfLkrkBhnc12Kz7dYJyVlNbBxauGbmeCtntpdonjLW9tdAra9W5JmZVTPer +} diff --git a/SNOW Account/Test Account.bru b/SNOW Account/Test Account.bru new file mode 100644 index 0000000..0018d57 --- /dev/null +++ b/SNOW Account/Test Account.bru @@ -0,0 +1,16 @@ +meta { + name: Test Account + type: http + seq: 2 +} + +get { + url: https://api.qa.snow.noris.de/api/now/account + body: none + auth: inherit +} + +headers { + Content-Type: application/javascript + Accept: application/json +} diff --git a/SNOW Account/bruno.json b/SNOW Account/bruno.json new file mode 100644 index 0000000..3f45cc7 --- /dev/null +++ b/SNOW Account/bruno.json @@ -0,0 +1,9 @@ +{ + "version": "1", + "name": "SNOW Account", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ] +} \ No newline at end of file diff --git a/SNOW Account/collection.bru b/SNOW Account/collection.bru new file mode 100644 index 0000000..277da77 --- /dev/null +++ b/SNOW Account/collection.bru @@ -0,0 +1,8 @@ +auth { + mode: basic +} + +auth:basic { + username: ta_ctebase_icinga2 + password: On}_QAJL5zpTG9;8-bE17o0;3a2HNA_rG%)+9(a4;3{ZyBP3bKoHnIQ5^4LbH?7=AI-7XZW=JAm1K9^f%KTE_1f:)@1:@WOv +} diff --git a/Snow-Mon-QSU/bruno.json b/Snow-Mon-QSU/bruno.json new file mode 100644 index 0000000..2aaf35e --- /dev/null +++ b/Snow-Mon-QSU/bruno.json @@ -0,0 +1,9 @@ +{ + "version": "1", + "name": "Snow-Mon-QSU", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ] +} \ No newline at end of file diff --git a/Snow-Mon-QSU/collection.bru b/Snow-Mon-QSU/collection.bru new file mode 100644 index 0000000..41590d3 --- /dev/null +++ b/Snow-Mon-QSU/collection.bru @@ -0,0 +1,8 @@ +headers { + ~Accept: application/json + ~x-sn-apikey: now_xTzcEertIZK7TsXd4rTXLi27WO80HxZQkvA4WiqYqJJPrZdhkR8-xkbuCwv0ZhrVZ_WL-tYQ-K2kZ8WI4p3Xuw +} + +auth { + mode: none +} diff --git a/Snow-Mon-QSU/server-by-zone-min.bru b/Snow-Mon-QSU/server-by-zone-min.bru new file mode 100644 index 0000000..94a0a81 --- /dev/null +++ b/Snow-Mon-QSU/server-by-zone-min.bru @@ -0,0 +1,33 @@ +meta { + name: server-by-zone-min + type: http + seq: 1 +} + +get { + url: https://qa.snow.noris.de/api/noris_int/monitoring_objects/icinga2?server=monitoring.noris.net&object_type=host&zone=infra00 + body: none + auth: apikey +} + +params:query { + server: monitoring.noris.net + object_type: host + zone: infra00 +} + +headers { + x-sn-apikey: now_xTzcEertIZK7TsXd4rTXLi27WO80HxZQkvA4WiqYqJJPrZdhkR8-xkbuCwv0ZhrVZ_WL-tYQ-K2kZ8WI4p3Xuw + ~Accept: application/json + ~Content-Type: application/json +} + +auth:apikey { + key: + value: + placement: header +} + +settings { + encodeUrl: true +}