Update README.md

This commit is contained in:
cawamata 2019-10-10 11:04:18 +09:00 committed by GitHub
parent d0b97919ac
commit e2c299b38e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -46,9 +46,9 @@ Make sure you have the following tools from the
### How to run as non root ### How to run as non root
When running this exporter as non root, you should the followings. When running this exporter as non root, you should do the followings.
1. add sudoers files to permit the above commands 1. add sudoers files to permit the following commands
```bash ```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
``` ```
@ -65,9 +65,7 @@ When running this exporter as non root, you should the followings.
ln -s /home/ipmi-exporter/[script name] /home/ipmi-exporter/bmc-info ln -s /home/ipmi-exporter/[script name] /home/ipmi-exporter/bmc-info
```` ````
4. execute ipmi-exporter with the option 4. execute ipmi-exporter with the option
``` `--freeipmi.path=/home/ipmi-exporter`
--freeipmi.path=/home/ipmi-exporter
```
## Configuration ## Configuration