15 lines
340 B
Plaintext
15 lines
340 B
Plaintext
object CheckCommand "snmp-smart" {
|
|
import "plugin-check-command"
|
|
command = [ PluginDir + "/check_by_snmp.pl" ]
|
|
arguments = {
|
|
"-H" = "$drive_address$"
|
|
"-E" = "$drive_device$"
|
|
"-C" = "public"
|
|
"-t" = "$drive_timeout$"
|
|
}
|
|
vars.drive_address = "$address$"
|
|
vars.drive_device = "smart-sda"
|
|
vars.drive_timeout = "3"
|
|
}
|
|
|