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

Prometheus lua could not be compiled #132

Open
xenofree opened this issue Feb 7, 2023 · 4 comments
Open

Prometheus lua could not be compiled #132

xenofree opened this issue Feb 7, 2023 · 4 comments

Comments

@xenofree
Copy link
Contributor

xenofree commented Feb 7, 2023

I installed Lua-cURL abd prometheus-gateway-apiv1.lua in /usr/share/centreon-broker/lua/.
But when I enable Stream connector output I have this log.

error: lua: '/usr/share/centreon-broker/lua/prometheus-gateway-apiv1.lua' could not be compiled

Do you know how can I solve that ?

@tanguyvda
Copy link
Contributor

hello @xenofree I'm going to take a look at this. Since it is an apiv1 connector I may do a brand new one.

can you tell me which version of Centreon you're using ?

@xenofree
Copy link
Contributor Author

xenofree commented Feb 7, 2023

Thanks for your answer.
I'm using Centreon 20.04

@tanguyvda
Copy link
Contributor

Hello, @xenofree

just to let you know, on my side it worked well (or at least without, compilation issue).

can you send me the result of the following commands on your central server

rpm -qa | grep -i lua

ls -lah /usr/share/lua/5.1/

@xenofree
Copy link
Contributor Author

xenofree commented Feb 8, 2023

Hi,

It was a permission issue on my lua library.
My bad.

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

No branches or pull requests

2 participants