-
Notifications
You must be signed in to change notification settings - Fork 134
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
Question: Help with Local Configuration #87
Comments
I also have this problem on debian 10 buster. |
Hi, sorry for the delay, just getting back into things here. Since you are using the
Can you let me know if that helps? |
NO, This is no help for me |
can you slove it? |
@yunzhihui please provide more information. What does your exporter config look like? Are you also trying to use |
Hi, Is there already a solution? I have the same problem on Ubuntu 18.04.5 LTS. I tried the ipmi_exporter version 1.61.1 and 1.5.1. I get the same error on both version. If not, here is my configuration: sudo config:
the sudo config works fine. I can execute all commands successfully from the command line. For test purposes, the exporter config is very small:
Finally i turned on the debug level and start the service
I got the permission denied error. The curl command looks like: |
Hey all. Thank you @Heimspiel1 for providing the debug output, it finally gave me the right direction. As you can see in the debug output, the command is not actually being executed with |
Ok, I also see now where you all get the name |
@bitfehler thank you for the quick response. I changed the config file as you suggested and now it works. Here is the working config:
and sudo is in the debug log:
|
I am trying to set up ipmi_exporter locally (without running in Docker) on an Ubuntu Server machine to collect metrics by a Prometheus instance on the same host. However, I am struggling to to get ipmi_exporter to scrape the metrics I want. I have probably missed something, but I cannot seem to figure out what. I am hoping someone can look this over and maybe point out what I need to do differently.
I have installed FreeIPMI and can run the various tools using sudo.
I have set up ipmi_exporter to run as a service with its own system user/group "exporters" and the following config:
Since the FreeIPMI tool are run as sudo I have added the following to the sudoers file to allow the exporters user to run the tools without password.
I added it after this section in the sudoers file:
The ipmi_exporter configuration file looks like this:
After starting the node_exporter service and use curl to check the endpoint (
curl http://localhost:9200/metrics
) I get a response, but it does not seem to contain any actual scraped metrics.As you can see from the service status below I am getting a permissioned denied error for all the collectors.
The text was updated successfully, but these errors were encountered: