Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AOM to EPMon #151

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

petererdosi
Copy link
Contributor

First I would like to check if it's working properly or not. If yes, then I will do the dashboard/metric part.

Aloento
Aloento previously approved these changes Jul 13, 2024
@@ -16,6 +16,16 @@ elements:
antiddos_skip_bad_type:
service_type: AntiDDoS
urls: []
aomv1:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add these elements also in

https://github.com/opentelekomcloud-infra/stackmon-config/blob/sd-fix/config.yaml
in each env you want to see them available

service_type: aomv1
sdk_proxy: aomv1
urls:
- /inv/servicediscoveryrules
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still this api is broken

>>> conn.aomv1.get('/inv/servicediscoveryrules')
REQ: curl -g -i --insecure -X GET https://aom.eu-de.otc.t-systems.com/v1/31f1045e2a2a440c8db154707e7f9e32/inv/servicediscoveryrules -H "User-Agent: openstacksdk/4.1.0 keystoneauth1/5.8.0 python-requests/2.32.3 CPython/3.10.12" -H "X-Auth-Token: {SHA256}a8930284e3de803c61c36bcae4536222a7fdf1d49c223fb4fb18fc917bdc0390"
RESP: [500] Connection: keep-alive Content-Type: application/json Date: Mon, 02 Dec 2024 07:40:34 GMT Server: api-gateway Set-Cookie: ingress-apm-apm-inventory-8150=78a4c4f7c1617c0bdba44190e46036d0; Path=/; Secure; HttpOnly Strict-Transport-Security: max-age=31536000; includeSubdomains; Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-Download-Options: noopen X-Frame-Options: SAMEORIGIN X-Request-Id: cda9fed331bf7da46de1fa1a24686edd X-XSS-Protection: 1; mode=block;
RESP BODY: {"error_code":"APM.00000500","error_msg":"Internal Server Error","trace_id":""}
<Response [500]>

service_type: aomv2
sdk_proxy: aomv2
urls:
- /alarm-rules
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this api has wrong header required

>>> conn.aomv2.get('/alarm-rules')
REQ: curl -g -i --insecure -X GET https://aom.eu-de.otc.t-systems.com/v2/31f1045e2a2a440c8db154707e7f9e32/alarm-rules -H "User-Agent: openstacksdk/4.1.0 keystoneauth1/5.8.0 python-requests/2.32.3 CPython/3.10.12" -H "X-Auth-Token: {SHA256}a8930284e3de803c61c36bcae4536222a7fdf1d49c223fb4fb18fc917bdc0390"
RESP: [400] Connection: keep-alive Content-Type: application/json Date: Mon, 02 Dec 2024 07:41:21 GMT Server: api-gateway Strict-Transport-Security: max-age=31536000; includeSubdomains; Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-Download-Options: noopen X-Frame-Options: SAMEORIGIN X-Request-Id: 8636f961a6b49e8c938676a6058dd429 X-XSS-Protection: 1; mode=block;
RESP BODY: {"error_msg":"Orchestration error: Invalid header parameter: Content-Type, required","error_code":"APIGW.0106","request_id":"8636f961a6b49e8c938676a6058dd429"}

<Response [400]>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants