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

Add hddtemp2 script as modern replacement for hddtemp #563

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jasoncheng7115
Copy link
Contributor

This commit introduces a new script 'hddtemp2' as an alternative solution for LibreNMS disk temperature monitoring on systems where the hddtemp package is no longer available in the default repositories.

Key features:

  • Uses smartctl for SATA/SAS disk temperature monitoring
  • Adds native NVMe disk temperature support
  • Works on modern Ubuntu/Debian systems without requiring hddtemp
  • Maintains original LibreNMS agent output format
  • Supports both traditional hard drives and NVMe devices
  • Includes robust error handling and device validation

The script is designed to be a drop-in replacement for hddtemp functionality in LibreNMS agent, ensuring seamless integration with existing monitoring setups while providing broader hardware support.

Testing:

  • Verified on Ubuntu/Debian systems where hddtemp is unavailable
  • Tested with various SATA, SAS, and NVMe drives
  • Confirmed compatibility with LibreNMS agent format

This commit introduces a new script 'hddtemp2' as an alternative solution for 
LibreNMS disk temperature monitoring on systems where the hddtemp package is no 
longer available in the default repositories.

Key features:
- Uses smartctl for SATA/SAS disk temperature monitoring
- Adds native NVMe disk temperature support 
- Works on modern Ubuntu/Debian systems without requiring hddtemp
- Maintains original LibreNMS agent output format
- Supports both traditional hard drives and NVMe devices
- Includes robust error handling and device validation

The script is designed to be a drop-in replacement for hddtemp functionality 
in LibreNMS agent, ensuring seamless integration with existing monitoring 
setups while providing broader hardware support.

Testing:
- Verified on Ubuntu/Debian systems where hddtemp is unavailable
- Tested with various SATA, SAS, and NVMe drives
- Confirmed compatibility with LibreNMS agent format
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

Successfully merging this pull request may close these issues.

1 participant