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

CheckHorizonNrpeAlert http://<site>/horizon url prefix #191

Open
mcfly722 opened this issue Dec 12, 2024 · 1 comment
Open

CheckHorizonNrpeAlert http://<site>/horizon url prefix #191

mcfly722 opened this issue Dec 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mcfly722
Copy link

Hello,
we faced with problem with CheckHorizonNrpeAlert.
It is /usr/local/lib/nagios/plugins/check_horizon.py script that fires from /etc/nagios/nrpe.d/check_horizon.cfg (used in COS)

In this file in strings #67 and #107 hardcoded "/horizon" prefix

Our openstack installation has no '/horizon' url prefix, so this check for us every time returns:

Horizon login failed: missing csrftoken

You can check this horizon prefix using command:

juju config openstack-dashboard os-public-hostname
openstack.company.com

We changed /usr/local/lib/nagios/plugins/check_horizon.py manually (we removed this /horizon prefix from this two strings) and this check becomes green, but possibly you have to fix this for your charm and set this prefix from os-public-hostname parameter using juju relations.

Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/SOLENG-988.

This message was autogenerated

@aieri aieri added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants