Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deal with Power Supply and Chassis Intru (Physical Security) #31

Open
wargebitebane opened this issue May 22, 2020 · 2 comments
Open
Labels
question Further information is requested

Comments

@wargebitebane
Copy link

Hello!
I was testing your code on my Supermicro card (Here is the output):

Sensors:
CPU1 Temp 30C
CPU2 Temp 44C
System Temp 20C
Peripheral Temp 26C
PCH Temp 43C
P1-DIMMA1 TEMP 19C
P1-DIMMA2 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P1-DIMMA3 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P1-DIMMB1 TEMP 20C
P1-DIMMB2 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P1-DIMMB3 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P1-DIMMC1 TEMP 22C
P1-DIMMC2 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P1-DIMMC3 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P1-DIMMD1 TEMP 21C
P1-DIMMD2 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P1-DIMMD3 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P2-DIMME1 TEMP 25C
P2-DIMME2 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P2-DIMME3 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P2-DIMMF1 TEMP 27C
P2-DIMMF2 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P2-DIMMF3 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P2-DIMMG1 TEMP 24C
P2-DIMMG2 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P2-DIMMG3 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P2-DIMMH1 TEMP 29C
P2-DIMMH2 TEMP no reading/missing (response must be at least 2 bytes, got 0)
P2-DIMMH3 TEMP no reading/missing (response must be at least 2 bytes, got 0)
FAN1 2025RPM
FAN2 2100RPM
FAN3 2025RPM
FAN4 no reading/missing (response must be at least 2 bytes, got 0)
FAN5 no reading/missing (response must be at least 2 bytes, got 0)
FANA 3975RPM
VTT 0.992V
CPU1 Vcore 0.848V
CPU2 Vcore 0.9440000000000001V
VDIMM AB 1.488V
VDIMM CD 1.488V
VDIMM EF 1.488V
VDIMM GH 1.488V
3.3V 3.168V
+3.3VSB 3.3120000000000003V
5V 4.992V
Chassis Intru not analog
DCMI Capabilities:
Major version: 1
Minor version: 1
Supports pwr mgmt: true
DCMI Mandatory Platform Attributes:
Max SEL entries: 512
Temp sampling freq: 0s
DCMI Power Average Time Periods:
5s
15s
30s
1m0s
3m0s
7m0s
15m0s
30m0s
1h0m0s

And i got some questions:

  1. "Chassis Intru not analog" - How to get the real Physical Security status (status from Table 42-)
  2. There is no output about PS1 and PS2 statuses. For example if i open supermicro's web tool then i can see next rows abous PS (in the main Sensors Reading table):

| PS1 Status |   | Presence detected. Power Supply Failure detected. Power Supply input lost (AC/DC).
| PS2 Status |   | Presence detected.

@wargebitebane
Copy link
Author

Btw i found that PS1 and PS2 Statuses was in the Compact Sensor Reader type (and you are reading Full Sensor Reader types ony).
Looks like i need to create new feature request?

@gebn
Copy link
Owner

gebn commented May 22, 2020

Hi @wargebitebane, congrats on your first issue! You should be able to find the intrusion status and presence of a power fault from the Get Chassis Status output (.Intrusion and .PowerFault respectively). For the latter, please let me know if that boolean is false - given your output, it should definitely be true.

Discrete sensors are not currently supported I'm afraid, which is why Compact Sensor Records aren't either (CSRs cannot be used to produce analogue readings). I'm not averse to adding them, however it's a bit of a rabbit hole. I think there's lower hanging fruit elsewhere.

@gebn gebn added the question Further information is requested label Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants