update
This commit is contained in:
parent
059fe9a2fe
commit
13eeb6df86
11
Icinga DEV NG/Basic Status.bru
Normal file
11
Icinga DEV NG/Basic Status.bru
Normal file
@ -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
|
||||
}
|
||||
17
Icinga DEV NG/Dummy.bru
Normal file
17
Icinga DEV NG/Dummy.bru
Normal file
@ -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!"}
|
||||
}
|
||||
}
|
||||
16
Icinga DEV NG/Sat01-infra.bru
Normal file
16
Icinga DEV NG/Sat01-infra.bru
Normal file
@ -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
|
||||
}
|
||||
16
Icinga DEV NG/Sat01.bru
Normal file
16
Icinga DEV NG/Sat01.bru
Normal file
@ -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
|
||||
}
|
||||
9
Icinga DEV NG/bruno.json
Normal file
9
Icinga DEV NG/bruno.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "Icinga DEV NG",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
12
Icinga DEV NG/collection.bru
Normal file
12
Icinga DEV NG/collection.bru
Normal file
@ -0,0 +1,12 @@
|
||||
headers {
|
||||
Accept: application/json
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: basic
|
||||
}
|
||||
|
||||
auth:basic {
|
||||
username: icinga2_admin
|
||||
password: blubblub
|
||||
}
|
||||
11
Icinga PROD/Basic Status.bru
Normal file
11
Icinga PROD/Basic Status.bru
Normal file
@ -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
|
||||
}
|
||||
26
Icinga PROD/OAS WIN Test.bru
Normal file
26
Icinga PROD/OAS WIN Test.bru
Normal file
@ -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
|
||||
}
|
||||
19
Icinga PROD/Remove Downtime by Hostfilter.bru
Normal file
19
Icinga PROD/Remove Downtime by Hostfilter.bru
Normal file
@ -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)"
|
||||
}
|
||||
}
|
||||
25
Icinga PROD/Set Downtime by Hostfilter.bru
Normal file
25
Icinga PROD/Set Downtime by Hostfilter.bru
Normal file
@ -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
|
||||
}
|
||||
}
|
||||
11
Icinga PROD/Test.bru
Normal file
11
Icinga PROD/Test.bru
Normal file
@ -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
|
||||
}
|
||||
9
Icinga PROD/bruno.json
Normal file
9
Icinga PROD/bruno.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "Icinga PROD",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
12
Icinga PROD/collection.bru
Normal file
12
Icinga PROD/collection.bru
Normal file
@ -0,0 +1,12 @@
|
||||
headers {
|
||||
Accept: application/json
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: basic
|
||||
}
|
||||
|
||||
auth:basic {
|
||||
username: icinga2_admin
|
||||
password: 1Yl21Kcl23DDET8P9qhSFXXeLy9kiCTS7E3uQmIztwygQbnEPHvsBMJk3ZVhmJ72GuWOPPfLkrkBhnc12Kz7dYJyVlNbBxauGbmeCtntpdonjLW9tdAra9W5JmZVTPer
|
||||
}
|
||||
17
Icinga QSU NG/Dummy.bru
Normal file
17
Icinga QSU NG/Dummy.bru
Normal file
@ -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!"}
|
||||
}
|
||||
}
|
||||
16
Icinga QSU NG/Sat01-infra.bru
Normal file
16
Icinga QSU NG/Sat01-infra.bru
Normal file
@ -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
|
||||
}
|
||||
16
Icinga QSU NG/Sat01.bru
Normal file
16
Icinga QSU NG/Sat01.bru
Normal file
@ -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
|
||||
}
|
||||
11
Icinga QSU/Basic Status.bru
Normal file
11
Icinga QSU/Basic Status.bru
Normal file
@ -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
|
||||
}
|
||||
23
Icinga QSU/FIlter Test Post Native.bru
Normal file
23
Icinga QSU/FIlter Test Post Native.bru
Normal file
@ -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"]
|
||||
}
|
||||
}
|
||||
32
Icinga QSU/FIlter Test Post url params.bru
Normal file
32
Icinga QSU/FIlter Test Post url params.bru
Normal file
@ -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)"
|
||||
}
|
||||
}
|
||||
19
Icinga QSU/Remove Downtime by Hostfilter.bru
Normal file
19
Icinga QSU/Remove Downtime by Hostfilter.bru
Normal file
@ -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)"
|
||||
}
|
||||
}
|
||||
25
Icinga QSU/Set Downtime by Hostfilter.bru
Normal file
25
Icinga QSU/Set Downtime by Hostfilter.bru
Normal file
@ -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
|
||||
}
|
||||
}
|
||||
11
Icinga QSU/Test.bru
Normal file
11
Icinga QSU/Test.bru
Normal file
@ -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
|
||||
}
|
||||
9
Icinga QSU/bruno.json
Normal file
9
Icinga QSU/bruno.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "Icinga QSU",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
12
Icinga QSU/collection.bru
Normal file
12
Icinga QSU/collection.bru
Normal file
@ -0,0 +1,12 @@
|
||||
headers {
|
||||
Accept: application/json
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: basic
|
||||
}
|
||||
|
||||
auth:basic {
|
||||
username: icinga2_admin
|
||||
password: 1Yl21Kcl23DDET8P9qhSFXXeLy9kiCTS7E3uQmIztwygQbnEPHvsBMJk3ZVhmJ72GuWOPPfLkrkBhnc12Kz7dYJyVlNbBxauGbmeCtntpdonjLW9tdAra9W5JmZVTPer
|
||||
}
|
||||
16
SNOW Account/Test Account.bru
Normal file
16
SNOW Account/Test Account.bru
Normal file
@ -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
|
||||
}
|
||||
9
SNOW Account/bruno.json
Normal file
9
SNOW Account/bruno.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "SNOW Account",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
8
SNOW Account/collection.bru
Normal file
8
SNOW Account/collection.bru
Normal file
@ -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
|
||||
}
|
||||
9
Snow-Mon-QSU/bruno.json
Normal file
9
Snow-Mon-QSU/bruno.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "Snow-Mon-QSU",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
8
Snow-Mon-QSU/collection.bru
Normal file
8
Snow-Mon-QSU/collection.bru
Normal file
@ -0,0 +1,8 @@
|
||||
headers {
|
||||
~Accept: application/json
|
||||
~x-sn-apikey: now_xTzcEertIZK7TsXd4rTXLi27WO80HxZQkvA4WiqYqJJPrZdhkR8-xkbuCwv0ZhrVZ_WL-tYQ-K2kZ8WI4p3Xuw
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: none
|
||||
}
|
||||
33
Snow-Mon-QSU/server-by-zone-min.bru
Normal file
33
Snow-Mon-QSU/server-by-zone-min.bru
Normal file
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user