]> granicus.if.org Git - icinga2/commitdiff
Fix the "running_kernel" check command.
authorGunnar Beutner <gunnar@beutner.name>
Mon, 2 Jun 2014 17:59:28 +0000 (19:59 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 2 Jun 2014 17:59:28 +0000 (19:59 +0200)
Refs #6369

itl/command-plugins.conf

index a700a6f976625c3bcb9eda7773a02258d8c0904f..c521c8ea5cc6dfe837652256b9f87cd9e4cbb29b 100644 (file)
@@ -456,6 +456,6 @@ object CheckCommand "nrpe" {
 /* Contrib plugins */
 object CheckCommand "running_kernel" {
        import "plugin-check-command"
-       command = PluginDir + "/check_running_kernel"
+       command = [ "sudo", PluginDir + "/check_running_kernel" ]
 }