This appears to be a kernel problem. The command works in Precise and Quantal but not Raring. I tested this on Precise using the HWE stack [1].
$ sudo /usr/lib/nagios/plugins/check_ide_smart -n -d /dev/sda
OK - Operational (7/7 tests passed)
Output after changing to the Raring kernel:
CRITICAL - SMART_ENABLE: Input/output error CRITICAL - SMART_CMD_ENABLE
[1]: sudo apt-get install linux-image-generic-lts-quantal sudo apt-get install linux-image-generic-lts-raring
This appears to be a kernel problem. The command works in Precise and Quantal but not Raring. I tested this on Precise using the HWE stack [1].
$ sudo /usr/lib/ nagios/ plugins/ check_ide_ smart -n -d /dev/sda
OK - Operational (7/7 tests passed)
Output after changing to the Raring kernel:
CRITICAL - SMART_ENABLE: Input/output error
CRITICAL - SMART_CMD_ENABLE
[1]: generic- lts-quantal generic- lts-raring
sudo apt-get install linux-image-
sudo apt-get install linux-image-