Unable to perform check_ide_smart on agent

Currently I’m running several local checks on my server successfully. But the check_ide_smart plugin returns:
CRITICAL - SMART_CMD_ENABLE

When I use su to become the nagios user I can run ./check_ide_smart -d /dev/sda on the server and obtain the expected result
OK - Operational (23/23 tests passed)

Therefore I rule out a problem with the plugin itself or user rights.

icinga2 --version returns:

icinga2 - The Icinga 2 network monitoring daemon (version: r2.11.0-1)

System information:
Platform: Debian GNU/Linux
Platform version: 9 (stretch)

Any help is appreciated!

Hey,
could you post the complete output of the check when it is run in icinga? I’m not familiar with this check, but there should be some clue as to why it is failing

Hey,
thanks for your support! Icingaweb2 only displays CRITICAL - SMART_CMD_ENABLE as plugin output. I searched /var/log/icinga2/icinga2.log for check_ide_smart but didn’t find any entries. Is there another source that I can check for the plugins output?