Comments (5)
I generated the mockup and checked. On our nodes there are no ctrl installed. Just a simple disk, so the disk is not available under:
/redfish/v1/Systems/Self/Storage
But we can find it under:
/redfish/v1/Systems/Self/SimpleStorage
instead.
from check_redfish.
Hi,
The script checks both path Storage
and SimpleStorage
. All I get from the SimpleStorage
path is this:
{
"@odata.context": "/redfish/v1/$metadata#SimpleStorage.SimpleStorage",
"@odata.etag": "W/\"1620375527\"",
"@odata.id": "/redfish/v1/Systems/Self/SimpleStorage/1",
"@odata.type": "#SimpleStorage.v1_2_2.SimpleStorage",
"Description": "This resource shall be used to represent a storage controller and its directly-attached devices.",
"Devices": [
{
"CapacityBytes": 503424483328,
"Model": "INTEL SSDSC2KB480G8",
"Name": "INTEL SSDSC2KB480G8"
}
],
"Id": "1",
"Links": {
"Chassis": {
"@odata.id": "/redfish/v1/Chassis/Self"
}
},
"Name": "Simple Storage"
}
But since there is no id
or status
the script ignores it. I don't think this is helpful in any way.
Cheers
Ricardo
from check_redfish.
Hi,
Ok. That is to bad. Hm, so we can only check if there is a device attached or not ...
If there would have been a "status" to check for each member in SimpleStorage, would the script work then? Even though there is no controller card installed?
I will also check with Gigabyte about this.
Regards,
Pierre
from check_redfish.
If the output would look like this:
{
"@odata.context": "/redfish/v1/$metadata#SimpleStorage.SimpleStorage",
"@odata.etag": "W/\"1620375527\"",
"@odata.id": "/redfish/v1/Systems/Self/SimpleStorage/1",
"@odata.type": "#SimpleStorage.v1_2_2.SimpleStorage",
"Description": "This resource shall be used to represent a storage controller and its directly-attached devices.",
"Devices": [
{
"CapacityBytes": 503424483328,
"Model": "INTEL SSDSC2KB480G8",
"Name": "INTEL SSDSC2KB480G8",
"Status": {
"State": "Enabled",
"Health": "OK"
}
}
],
"Id": "1",
"Links": {
"Chassis": {
"@odata.id": "/redfish/v1/Chassis/Self"
}
},
"Status": {
"State": "Enabled",
"Health": "OK"
},
"Name": "Simple Storage"
}
The plugin would pick up the storage controller and the output would change to this:
-[UNKNOWN]: No storage controller and disk drive data found in system
+[OK]: All storage controllers (1) are in good condition (No system drives found)
+[OK]: Simple Storage status: OK
+[OK]: None INTEL SSDSC2KB480G8 INTEL SSDSC2KB480G8 (size: 503.42 GiB) status: OK
This means:
- The simple storage needs a status and
State
must beEnbaled
- Each drive needs a status and
State
must beEnabled
Maybe you can have a chat with the Gigabyte engineers. It would not be the prettiest output but at least something.
Cheers
Ricardo
from check_redfish.
can I close this issue?
from check_redfish.
Related Issues (20)
- Virtual Machine did not assigned to devices HOT 3
- plugin event : somme event are filtered by default : Power supply redundancy is lost HOT 10
- ALREADY IN INVENTORY message in --nic HOT 10
- Incorrect status when server is powered off (Dell poweredge R740) HOT 24
- unclear why some servers are WARNING/CRITICAL when using "--info" HOT 4
- Mode --firmware also checks --storage -> Request error: No array controller data returned for API URL '/redfish/v1/Systems/1//SmartStorage/ArrayControllers?$expand=.' HOT 9
- HP DL360g10: NVMe monitoring when Smart Array controller is present HOT 4
- Duplicate Power supplies reported with HPE Apollo 4510 Gen10 HOT 1
- First output line order is random HOT 9
- No network adapter result in "Unable to connect to Host '0.0.0.0', max retries exhausted" HOT 15
- "TypeError: 'NoneType' object is not iterable" while reading Network Ports HOT 9
- Traceback Error on plugin.do_exit() HOT 10
- check_redfish.py does not resolve hostname HOT 4
- HP ProLiant DL360 Gen10 storage cache handling HOT 4
- Syntax errors
- Two entries "UNKNOWN" (storage controllers and Network Adapters) HOT 5
- add IP address prefix length to interface data and inventory output
- Feature Request: New parameter to escalate severity of 'Failure Predicted' status HOT 5
- Storage check critical on ThinkSystem SR645 V3 HOT 5
- Wrong number of drives returned for nmve backplane HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check_redfish.