Hard Disk Drives Temperature
This module gives you the temperature of hard disk drives by reading Self-Monitoring Analysis and Reporting Technology (SMART) information using the hddtemp command, which must be available and accessible to the user on the host being monitored.
In the temperature column, disks that do not support the corresponding SMART feature show a void value (displayed as a ? character).
- -C (only available for ssh on UNIX client)
Whether data compression is used on all data between client and server (useful on slow connections, see ssh manual for detailed information).
A comma separated list of names of disks being monitored, the actual device names minus the /dev header. For example, sda is the first SCSI disk, /dev/sda to the operating system (see examples below).
- -i file (only available for ssh on UNIX client)
Selects a file from which the identity (private key) for authentication is read (useful if an authentication agent is not running). It must not be protected by a passphrase.
- -p port (only available for ssh on UNIX client)
Port to connect to on the remote host.
- --path directory
The directory where the hddtemp command resides, /sbin by default. Note that an empty option value means that the hddtemp command must be in the path of the user running the command on the server side (also see remote monitoring below).
- -r (--remote) [[rsh|ssh]://][user@]host
Remote monitoring using user as logname on remote host host (rsh or ssh facilities must be properly setup). If user is not specified, current user is used as logname on remote host. The protocol is either ssh or rsh (used by default). The module title is set to hddtemp(host).
When there is a communication error with the remote host, all temperatures become void (displayed as a ? character). A descriptive error message is also generated in such a case.
Notes on remote monitoring:
- Using ssh is strongly recommended, as rsh, while being much less secure is also less efficient, as it requires creating a new session for each poll.
- On a Windows client, you must use the putty software package (see install.txt), which does not support rsh in non interactive sessions. Consequently, the -r (--remote) ssh://session syntax is required to remove any confusion (where session has been added to the running pageant application).
$ moodss hddtemp -r firstname.lastname@example.org --devices hda,hdb
$ moodss hddtemp -r ssh://email@example.com --devices sda,hdc
$ moodss hddtemp --remote foo.bar.com --devices sda