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

Feature request - CPU temperature #27

Open
quammy opened this issue Jun 8, 2023 · 1 comment
Open

Feature request - CPU temperature #27

quammy opened this issue Jun 8, 2023 · 1 comment
Labels

Comments

@quammy
Copy link
Contributor

quammy commented Jun 8, 2023

thanks again for a nice service. can you please add CPU temperature?
on ubuntu, if the sensors package is installed - sudo apt-get install lm-sensors, the command sensors returns, among other data, this CPU temp: Package id 0: +47.0°C (high = +100.0°C, crit = +100.0°C)

you can grep it using this sensors 2>/dev/null | grep 'Package id 0' | awk '{print $4}' to return only +47.0°C

for more advanced usage, you can use the high threshold to decide if to alert.

@Rashe Rashe added the feature label Jun 10, 2023
@Rashe
Copy link
Member

Rashe commented Jun 10, 2023

Cool idea, can be added as optional features.

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

No branches or pull requests

2 participants