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

Config Help? #1

Open
tmaniac opened this issue Feb 25, 2021 · 3 comments
Open

Config Help? #1

tmaniac opened this issue Feb 25, 2021 · 3 comments

Comments

@tmaniac
Copy link

tmaniac commented Feb 25, 2021

Hello,
i'd like to read sensor data from my PowerEdge R620 using IPMI.

I stumbled upon your docker-file.

Can you please give a little more explanation about the config in the docker-file?
Thank you!

@Tediore
Copy link

Tediore commented Feb 28, 2021

I'm not the author, but a Dockerfile generally doesn't require any changes by the end user. A Dockerfile is just used to create an image, which is then run by a container. https://docs.docker.com/engine/reference/builder/

@tmaniac
Copy link
Author

tmaniac commented Jul 29, 2021

Well, you're mostly right.

However, in the docker-compose you can specify multiple configuration options.
And since i'm not super schooled in IPMI i'm a bit stuck :(

@Bastilms
Copy link

Bastilms commented Dec 4, 2021

Hey, I don't know if it is relevant anymore for you, but I have a configuration example for you. If you want to use it in the way he explained, you can use it as following:

       - IPMIHOST=<IP\DNS of IPMI host>
        - IPMIUSER=<IPMI user>
        - IPMIPASS=<IPMI password>

These first options are for your iDRAC. First the IP, then your username and the last option is your password.

It took me a wile to figure out what options I need. I ended up like this.

        - IPMIVARIABLE1=lanplus
        - IPMIVARIABLE2=sensor
        - IPMIGREP=Pwr
        - IPMICUT=20-25

I also added a restart Option to the compose file.
restart: unless-stopped

The last thing I did to get it up and running, I added a line to the Dockerfile:
RUN touch /var/log/dell.log

After all this changes, you can start the container using the following commands:
enter directory: cd ipmi2mqtt

build image: docker build -t ipmi2mqtt -f Dockerfile .

docker-compose: docker-compose up -d

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

3 participants