- Notifications
You must be signed in to change notification settings - Fork8
42school/redfish-exporter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.