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

sysctl: unknown oid 'dev.cpu.0.temperature' #23

Open
SuperMrBlob opened this issue Nov 29, 2020 · 1 comment
Open

sysctl: unknown oid 'dev.cpu.0.temperature' #23

SuperMrBlob opened this issue Nov 29, 2020 · 1 comment

Comments

@SuperMrBlob
Copy link

SuperMrBlob commented Nov 29, 2020

First, thanks so much for creating this project. Can't believe temperature monitoring isn't part of stock freenas.

However, I can't get the scripts working. They're running, but erroring out.

First run seems fine:

Creating rrdtool db file: /mnt/Pool/Internal/TEMPERATURE_MONITORING/temps-5min.rrd
Rrdtool arguments:   DS:cpu0:GAUGE:600:0:150 DS:cpu1:GAUGE:600:0:150 DS:ada0:GAUGE:600:0:100 DS:ada1:GAUGE:600:0:100 DS:ada2:GAUGE:600:0:100
/usr/local/bin/rrdtool create /mnt/Pool/Internal/TEMPERATURE_MONITORING/temps-5min.rrd --step 300 DS:cpu0:GAUGE:600:0:150 DS:cpu1:GAUGE:600:0:150 DS:ada0:GAUGE:600:0:100 DS:ada1:GAUGE:600:0:100 DS:ada2:GAUGE:600:0:100 RRA:MAX:0.5:1:3000

Second run

sysctl: unknown oid 'dev.cpu.0.temperature'
cat: /tmp/24781.temp.rrd.output: No such file or directory
rm: /tmp/24781.temp.rrd.output: No such file or directory
ERROR: /mnt/Pool/Internal/TEMPERATURE_MONITORING/temps-5min.rrd: expected 5 data source readings (got 1) from N
ERROR: Couldn't update /mnt/Pool/Internal/TEMPERATURE_MONITORING/temps-5min.rrd with the data provided. Running diagnostics...
rrd.sh version: 1.0
rrd-graph.sh version:
rrd-lib.sh version: 1.0
Testing file permissions...
Testing chmod...
Testing file field count...
Data variable is empty
Test failed (returned 1)

Third and every consecutive run

sysctl: unknown oid 'dev.cpu.0.temperature'
cat: /tmp/25819.temp.rrd.output: No such file or directory
rm: /tmp/25819.temp.rrd.output: No such file or directory

Both generated PNGs have no data points. Any ideas?

Build: FreeNAS-11.1-U5
Platform: AMD Opteron(tm) X3216 APU

@seren
Copy link
Owner

seren commented Dec 2, 2020

Hi, at a glance I'm not sure what the problem is. I don't think I'll have time to dig into this in the near future, however you might be interested to know that recent releases of FreeNAS (and now TrueNAS) have temperature monitoring built into the reports dashboard. I've actually stopped using this tool in favor of the built-in reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants