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

Update API calls to the CMS Monitoring AlertManager #12282

Open
nikodemas opened this issue Feb 26, 2025 · 2 comments
Open

Update API calls to the CMS Monitoring AlertManager #12282

nikodemas opened this issue Feb 26, 2025 · 2 comments

Comments

@nikodemas
Copy link
Member

Impact of the new feature
WMCore central services (MSOutput maybe?)

Is your feature request related to a problem? Please describe.
Current API calls to AlertManager at /api/v1 will stop working in the new AlertManager version. See this error message shared by @amaltaro before:

2024-07-17 00:05:37,516:ERROR:MSCore: Failed to send alert to http://cms-monitoring.cern.ch:30093/api/v1/alerts. Error: (28, 'Failed to connect to cms-monitoring.cern.ch port 30093: Connection timed out
')

Describe the solution you'd like
Switch API calls to api/v2

@vkuznet
Copy link
Contributor

vkuznet commented Feb 26, 2025

Here is list of PRs related to WM configuration:

Once they are reviewed and merged we still need to update all configuration files on dev/testbed/prod clusters to use them for running services.

@amaltaro
Copy link
Contributor

@vkuznet don't we have to change anything else? Is v1 and v2 API completely compatible and with the same signature?
Can you please test this out by creating an actual alert with the v2 API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ToDo
Development

No branches or pull requests

3 participants