Merge pull request #44 from cawamata/master

add ipmi-chassis info to README.md
This commit is contained in:
Conrad Hoffmann 2020-02-14 14:09:18 +01:00 committed by GitHub
commit 3b9965040c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,7 @@ FreeIPMI tools as root, you can do the following:
1. Add sudoers files to permit the following commands
```bash
ipmi-exporter ALL = NOPASSWD:/usr/sbin/ipmimonitoring, /usr/sbin/ipmi-sensors, /usr/sbin/ipmi-dcmi, /usr/sbin/bmc-info
ipmi-exporter ALL = NOPASSWD:/usr/sbin/ipmimonitoring, /usr/sbin/ipmi-sensors, /usr/sbin/ipmi-dcmi, /usr/sbin/bmc-info, /usr/sbin/ipmi-chassis
```
2. Create the script under user dir with execute permission
```bash
@ -86,6 +86,7 @@ FreeIPMI tools as root, you can do the following:
ln -s /home/ipmi-exporter/[script name] /home/ipmi-exporter/ipmi-sensors
ln -s /home/ipmi-exporter/[script name] /home/ipmi-exporter/ipmi-dcmi
ln -s /home/ipmi-exporter/[script name] /home/ipmi-exporter/bmc-info
ln -s /home/ipmi-exporter/[script name] /home/ipmi-exporter/ipmi-chassis
````
4. Execute ipmi-exporter with the option `--freeipmi.path=/home/ipmi-exporter`