Search for (Ctrl+w) (line 60): --all
It has this:
if ( trim($diskname != "") && (CommonFunctions::executeProgram('smartctl', '--all'.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '')$diskdev.' '.$diskdiskname, $buffer, PSI_DEBUG))) {
Change it to:
if ( trim($diskname != "") && (CommonFunctions::executeProgram('sudo', '/usr/sbin/smartctl --all '.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '')$diskdev.' '.$diskdiskname, $buffer, PSI_DEBUG))) {
Just a note that all we changed was: