-
Notifications
You must be signed in to change notification settings - Fork 67
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
Invalid Octal Number #91
Comments
Hello @vanvonlj, sorry for the delay of my reply. Are you able to identify the line of my script printing these error messages please ? (I'll try to use it on my new Dell T630 and see if it print the same errors) |
The error is in 159, but I’m not sure which value is an invalid octal number. Looks like it’s the CPU1 reading (displays as 0 Celsius above) |
Hey, I just had the same error and after some debugging I noticed that my CPU1 temperature was reading 0*C because the data indexes were off. I have an R930, iDRAC 8, v2.86.86.86 Output of CPU_DATA for me is:
Here is the output of my ipmitool:
Perhaps we can filter only the 5th column using cut?
|
Hey @tigerblue77, |
So after doing some testing it looks like you should be fine to just use the below. Tested on an R530 and R930 (1 and 4 processors respectively). It should solve your trouble of indexing, and because you are matching the 3.x Sensors, you know they are CPU temp's.
If you had plans to add 4 processor support, you could even make it into a for loop:
Or instead of CPU_NUM, set the loop between 1 and 4, then you can eval an empty string and set the IS_CPU2_TEMPERATURE_SENSOR_PRESENT to false? EDIT:
|
When running the container, an invalid octal number error is thrown during execution of the shell script.
It appears that all the values are in the echo, so I'm unsure what's causing this.
username: root
iDRAC/IPMI password:
Server model: DELL PowerEdge R930
iDRAC/IPMI host:
Fan speed objective: 5%
CPU temperature threshold: 28°C
Check interval: 300s
------- Temperatures -------
Date & time Inlet CPU 1 CPU 2 Exhaust Active fan speed profile Third-party PCIe card Dell default cooling response Comment
26-05-2024 03:09:23 22°C 0°C 29°C 28°C Dell default dynamic fan control profile Enabled -
./Dell_iDRAC_fan_controller.sh: line 159: printf: 09: invalid octal number
The text was updated successfully, but these errors were encountered: