Update Icinga2 check_smart CheckCommand definition

This commit is contained in:
Napsty
2025-01-31 14:15:10 +01:00
parent 886eee04d4
commit b09f4f280d

View File

@@ -5,7 +5,7 @@
object CheckCommand "check_smart" {
import "plugin-check-command"
command = [ PluginContribDir + "/check_smart.pl" ]
command = [ "/usr/sbin/sudo", PluginContribDir + "/check_smart.pl" ]
arguments = {
"-d" = {
value = "$smart_device$"