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!