Check_ide_smart no longer working

Hi Icinga community,

I have re-installed my Icinga setup on a new machine, moving from Ubunto to Debian in the process.

While I was able to use check_ide_smart before, I now only get CRITICAL - SMART_CMD_ENABLE as output. This is regardless of the actual disk being checked and happens with any disk. It also doesn’t matter if I run it in Icinga or on the command line.

I have checked smart capabilities, and smartctl happily reports SMART values on any of those drives, so SMART capability and querying aren’t the issue.

I wonder if there may be dependencies that check_ide_smart would rely on that may have not been installed. Obviously, it isn’t smartmontools.

If you have any idea what might be happening and how to fix it, I’m all ears (eyes?).

Cheers,
Steffen

Hey there Steffen,

maybe raise an issue on GitHub - monitoring-plugins/monitoring-plugins: Monitoring Plugins
I can also find other checks like this, who might do something similar:
GitHub - Napsty/check_smart: Monitoring Plugin to check hard drives, solid state drives and NVMe drives using SMART

Also, depending on your setup you might also be able to monitor hard drive/ssd health from the IPMI - check_redfish from bb-ricardo is a pretty neat solution for this:

Cheers!

Wild guess, does it work if you execute the plugin as the user root?

Thanks for the suggestion. I think I’d implement SMART monitoring in a different way for that particular machine rather than using a different check just for this particular use-case. I’ll give it a look anyway, maybe I’ll have it replaced on all machines, who knows :slight_smile:

As suggested, I have filed an issue in GitHub.