Skip to content

Commit

Permalink
bump version to 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bb-Ricardo committed Feb 24, 2023
1 parent 594fb94 commit 3b18d17
Show file tree
Hide file tree
Showing 20 changed files with 55 additions and 40 deletions.
53 changes: 34 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,16 @@ There is also an InfluxDB dashboard for some metrics included.

## HELP
```
usage: check_redfish.py [-H HOST] [-u USERNAME] [-p PASSWORD] [-f AUTHFILE] [--sessionfile SESSIONFILE]
[--sessionfiledir SESSIONFILEDIR] [--nosession] [-h] [-w WARNING] [-c CRITICAL] [-v] [-d]
[-m MAX] [-r RETRIES] [-t TIMEOUT] [--log_exclude LOG_EXCLUDE] [--ignore_missing_ps]
[--enable_bmc_security_warning] [--storage] [--proc] [--memory] [--power] [--temp] [--fan]
[--nic] [--bmc] [--info] [--firmware] [--sel] [--mel] [--all] [-i]
[--inventory_id INVENTORY_ID] [--inventory_name INVENTORY_NAME]
usage: check_redfish.py [-H HOST] [-u USERNAME] [-p PASSWORD] [-f AUTHFILE]
[--sessionfile SESSIONFILE]
[--sessionfiledir SESSIONFILEDIR] [--nosession] [-h]
[-w WARNING] [-c CRITICAL] [-v] [-d] [-m MAX]
[-r RETRIES] [-t TIMEOUT] [--log_exclude LOG_EXCLUDE]
[--ignore_missing_ps] [--enable_bmc_security_warning]
[--storage] [--proc] [--memory] [--power] [--temp]
[--fan] [--nic] [--bmc] [--info] [--firmware] [--sel]
[--mel] [--all] [-i] [--inventory_id INVENTORY_ID]
[--inventory_name INVENTORY_NAME]
[--inventory_file INVENTORY_FILE]
This is a monitoring/inventory plugin to check components and
Expand All @@ -49,10 +53,11 @@ It will also create a inventory of all components of a system.
R.I.P. IPMI
Version: 1.4.1 (2022-05-16)
Version: 1.5.0 (2023-02-24)
mandatory arguments:
-H HOST, --host HOST define the host to request. To change the port just add ':portnumber' to this parameter
-H HOST, --host HOST define the host to request. To change the port just
add ':portnumber' to this parameter
authentication arguments:
-u USERNAME, --username USERNAME
Expand All @@ -65,27 +70,33 @@ authentication arguments:
define name of session file
--sessionfiledir SESSIONFILEDIR
define directory where the plugin saves session files
--nosession Don't establish a persistent session and log out after check is finished
--nosession Don't establish a persistent session and log out after
check is finished
optional arguments:
-h, --help show this help message and exit
-w WARNING, --warning WARNING
set warning value
-c CRITICAL, --critical CRITICAL
set critical value
-v, --verbose this will add all https requests and responses to output, also adds inventory source data to
all inventory objects
-v, --verbose this will add all https requests and responses to
output, also adds inventory source data to all
inventory objects
-d, --detailed always print detailed result
-m MAX, --max MAX set maximum of returned items for --sel or --mel
-r RETRIES, --retries RETRIES
set number of maximum retries (default: 3)
-t TIMEOUT, --timeout TIMEOUT
set number of request timeout per try/retry (default: 7)
set number of request timeout per try/retry (default:
7)
--log_exclude LOG_EXCLUDE
a comma separated list of log lines (regex) to exclude from log status checks (--sel, --mel)
--ignore_missing_ps ignore the fact that no power supplies are present and report the status of the power subsystem
a comma separated list of log lines (regex) to exclude
from log status checks (--sel, --mel)
--ignore_missing_ps ignore the fact that no power supplies are present and
report the status of the power subsystem
--enable_bmc_security_warning
return status WARNING if BMC security issues are detected (HPE iLO only)
return status WARNING if BMC security issues are
detected (HPE iLO only)
query status/health information (at least one is required):
--storage request storage health
Expand All @@ -103,13 +114,17 @@ query status/health information (at least one is required):
--all request all of the above information at once
query inventory information (no health check):
-i, --inventory return inventory in json format instead of regular plugin output
-i, --inventory return inventory in json format instead of regular
plugin output
--inventory_id INVENTORY_ID
set an ID which can be used to identify this host in the destination inventory
set an ID which can be used to identify this host in
the destination inventory
--inventory_name INVENTORY_NAME
set a name which can be used to identify this host in the destination inventory
set a name which can be used to identify this host in
the destination inventory
--inventory_file INVENTORY_FILE
set file to write the inventory output to. Otherwise stdout will be used.
set file to write the inventory output to. Otherwise
stdout will be used.
```

Expand Down
6 changes: 3 additions & 3 deletions check_redfish.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand All @@ -16,8 +16,8 @@
R.I.P. IPMI
"""

__version__ = "1.4.1"
__version_date__ = "2022-05-16"
__version__ = "1.5.0"
__version_date__ = "2023-02-24"
__author__ = "Ricardo Bartels <[email protected]>"
__description__ = "Check Redfish Plugin"
__license__ = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion cr_module/bmc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/classes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/classes/inventory.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/classes/plugin.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/classes/redfish.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/classes/vendor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/common.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/event.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/fan.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/firmware.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/firmware_issues.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/mem.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/nic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/power.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/proc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/storage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/system_chassi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down
2 changes: 1 addition & 1 deletion cr_module/temp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved.
# Copyright (c) 2020 - 2023 Ricardo Bartels. All rights reserved.
#
# check_redfish.py
#
Expand Down

0 comments on commit 3b18d17

Please sign in to comment.