Skip to main content

Check HDD temperature Nagios plugin

Project description

nagios-check-hddtemp is a Nagios-plugin that uses hddtemp ( to check disk temperature over the network


  • Obtain your copy of source code from git repository: git clone Or download latest release from
  • Run python ./ install from repository source tree or unpacked archive under root user. Or use pip: pip install nagios-check-hddtemp.


  • Read and understand Nagios documentation.
  • Create Nagios command and service definitions like this:
# "check_hddtemp" command
    define command
        command_name check_hddtemp
        command_line $USER1$/check_hddtemp -s $ARG1$ -p $ARG2$ -d $ARG3$ -w $ARG4$ -c $ARG4$

# "check_hddtemp" service for /dev/sda
define service
    use                 local-service
    host_name           localhost
    service_description HDD Temperature /dev/sda
    check_command       check_hddtemp!!7634!/dev/sda!40!50

Without --devices option script check all devices from hddtemp response and return priority based global status:

  • critical
  • warning
  • unknown
  • ok

Also, --devices option can take comma separated list of devices to check.

If you want receive devices performance data, add -P argument to command_line.


nagios-check-hddtemp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For complete license text see COPYING file.


Project website:

Author: Alexei Andrushievich <>

For other authors list see AUTHORS file.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nagios-check-hddtemp, version 0.8.2
Filename, size File type Python version Upload date Hashes
Filename, size nagios_check_hddtemp-0.8.2-py2-none-any.whl (21.2 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size nagios-check-hddtemp-0.8.2.tar.gz (17.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page