jenningsloy318/redfish_exporter

Unable to create Docker image

Closed this issue · 7 comments

Hi can you please help me to create docker image.
Please share proper steps.

getting below error...

Complete!
fatal: not a git repository (or any parent up to mount point /go/src/github.com/jenningsloy318)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /go/src/github.com/jenningsloy318)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

hello,

you can simply create the bindary on localhost, then create a Dockerfile to copy the binary into container.

and the dockerfiles in the repo are used to create the bindary builder not the binary itself

Thanks for your prompt response. Actually i am not that much familiar to GO and Docker images.
really grateful to you can you please create docker image using below settings and share image.

hosts:
10.237.220.237:
username: admin
password: root123
default:
username: admin
password: root123

Thanks for your prompt response. Actually i am not that much familiar to GO and Docker images.
really grateful to you can you please create docker image using below settings and share image.

hosts:
10.237.220.237:
username: admin
password: root123
default:
username: admin
password: root123

I have created Go build and using it as systemd services and getting below attached metricrs.
I am using it to extract H/W metrics on PowerEdge R730 and Firmware Version: 2.50.50.50. Also enabled redfish interface from Dell iDRAC but in metrics it shows:

HELP redfish_up redfish up

TYPE redfish_up gauge

redfish_up 0

No H/W related Informatio
redfish-exporter.txt
n exported.

curl http://localhost:9610/redfish?target=172.17.40.250

  • if 172.17.40.250 is you ip address of the PowerEdge R730 server ?
  • check your configuration for 172.17.40.250, did you add the config as the readme examples ? if possible, paste your config here, please.
  • please make sure to create a proper user/password for redfish-exporter to extract info from you server

Hi,
I also add a Dockerfile, you can build a docker image and running it via container now.

@jenningsloy318 Thank you so much for helping me out here, its working as i want. will surely bother you if need your help again.