Skip to content

Commit b09f4f2

Browse files
committed
Update Icinga2 check_smart CheckCommand definition
1 parent 886eee0 commit b09f4f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/icinga2-command.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
object CheckCommand "check_smart" {
77
import "plugin-check-command"
8-
command = [ PluginContribDir + "/check_smart.pl" ]
8+
command = [ "/usr/sbin/sudo", PluginContribDir + "/check_smart.pl" ]
99
arguments = {
1010
"-d" = {
1111
value = "$smart_device$"

0 commit comments

Comments
 (0)