Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IDRAC redfish exporter

NotificationsYou must be signed in to change notification settings

42school/redfish-exporter

Repository files navigation

IDRAC redfish exporter

Requirements:

Server with IDRAC 8 / 9Redfish service enabled on IDRACIDRAC user configured with specific rightsPrometheus and Pushgateway service protected with nginx by basic authDebian 10Python 3.7

Followthoses steps for iDRAC user creation

Installation

Go into prometheus VMClone project in/var/lib/ directory:

cd /var/libgit clone https://github.com/42School/redfish_exporter

Create user for running exporter (or take existingnode-exp):

useradd my_new_user -s /sbin/nologin

Give new directory specific rights for particular user (node-exp or previous created)

chown node-exp:node-exp -R redfish-exporter

Copyconfig.yaml.sample and create a custom config file:

cp config.yaml.sample config.yaml

Add your iDRAC configuration (ip, protocol, https verification, version, username, password)

Install debian package for python virtualenv

sudo apt install python3-virtualenv

Create virtualenv and install dependencies:

python3.7 -m venv venvsource venv/bin/activatepython setup.py install

Run the exporter to make sure everything's good:

python -m redfish_exporter --config ./config.yaml \   --port 9091 \   --ip 127.0.0.1 \   --user pushgateway \   --password <pushgateway-basic-password>

Copy systemd file in right place:

sudo cp redfish_exporter.service /etc/system/systemd/

Enable and start service:

sudo systemct enable redfish_exportersudo systemct start redfish_exporter

Check status, ensure everything's good:

systemctl status redfish_exporter

You can import grafana dashboard fromthis one

Common problems:

  • Bad project ownership
  • Invalid project path

About

IDRAC redfish exporter

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp