Skip to content

Commit

Permalink
Update Icinga2 check_smart CheckCommand definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Napsty committed Jan 31, 2025
1 parent 1465099 commit 886eee0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/icinga2-command.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/

object CheckCommand "check_smart" {
import "plugin-check-command"
command = [ PluginContribDir + "/check_smart.pl" ]

arguments = {
"-d" = {
value = "$smart_device$"
Expand Down Expand Up @@ -79,7 +79,6 @@ object CheckCommand "check_smart" {
description = "If set to true, skip check of SMART Error Log (not recommended)."
}
}

vars.smart_interface = "auto"
vars.smart_device_is_glob = false
vars.smart_selftest = false
Expand Down

0 comments on commit 886eee0

Please sign in to comment.