Skip to content

Commit ada335d

Browse files
authored
Merge pull request #177 from bb-Ricardo/next-release
Version bump
2 parents a74e3d4 + 36a0842 commit ada335d

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 7 additions & 7 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/
@@ -70,7 +70,7 @@ It will also create a inventory of all components of a system.
7070
7171
R.I.P. IPMI
7272
73-
Version: 1.12.0 (2025-07-30)
73+
Version: 1.12.1 (2025-08-07)
7474
7575
mandatory arguments:
7676
-H HOST, --host HOST define the host to request. To change the port just
@@ -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": [],

check_redfish.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
R.I.P. IPMI
1717
"""
1818

19-
__version__ = "1.12.0"
20-
__version_date__ = "2025-07-30"
19+
__version__ = "1.12.1"
20+
__version_date__ = "2025-08-07"
2121
__author__ = "Ricardo Bartels <ricardo@bitchbrothers.com>"
2222
__description__ = "Check Redfish Plugin"
2323
__license__ = "MIT"

cr_module/system_chassi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def get_chassi_data(data_type):
4343

4444
chassi_id = chassi_url.rstrip("/").split("/")[-1]
4545

46-
chassi_data = plugin_object.rf.get_view(chassi_url)
46+
chassi_data = plugin_object.rf.get(chassi_url)
4747
discovered_url = grab(chassi_data, f"{data_point}/@odata.id", separator="/")
4848
fallback_url = f"{chassi_url}/{data_point}"
4949

0 commit comments

Comments
 (0)