Skip to content

Commit 3c22ee7

Browse files
committed
adds syntax highliting to some README parts
1 parent 1eb9a8f commit 3c22ee7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ using [netbox-sync](https://github.com/bb-Ricardo/netbox-sync).
1717
### RedHat based OS
1818
* on RedHat/CentOS you need to install python3.6 and pip from EPEL first
1919
* on RedHat/CentOS 8 systems the package name changed to `python3-pip`
20-
```
20+
```bash
2121
yum install python36-pip
2222
```
2323

2424
* download and install plugin
25-
```
25+
```bash
2626
cd /usr/lib64/nagios/plugins/
2727
git clone https://github.com/bb-Ricardo/check_redfish.git
2828
cd check_redfish
@@ -31,13 +31,13 @@ pip3 install -r requirements.txt || pip install -r requirements.txt
3131

3232
### Install on any OS with python3.6+ pip
3333
Install with pip from git
34-
```
34+
```bash
3535
pip install git+https://github.com/bb-Ricardo/check_redfish
3636

3737
```
3838

3939
Install with pip from git into virtual environment
40-
```
40+
```bash
4141
python3 -m venv /opt/check_redfish
4242
/opt/check_redfish/bin/pip install git+https://github.com/bb-Ricardo/check_redfish
4343
mkdir -p /usr/lib64/nagios/plugins/check_redfish/
@@ -182,7 +182,7 @@ password=readonlysecret
182182
these two environment vars will be checked
183183
* CHECK_REDFISH_USERNAME
184184
* CHECK_REDFISH_PASSWORD
185-
```
185+
```bash
186186
export CHECK_REDFISH_USERNAME=icinga
187187
export CHECK_REDFISH_PASSWORD=readonlysecret
188188
```
@@ -325,7 +325,7 @@ suggestions for changes/improvements then please create a GitHub issue.
325325

326326

327327
### Example of power supply inventory (```--power --inventory```)
328-
```
328+
```json
329329
{
330330
"inventory": {
331331
"chassi": [],

0 commit comments

Comments
 (0)