Compare commits
4 commits
2d67a016b0
...
c3699bcbe9
Author | SHA1 | Date | |
---|---|---|---|
c3699bcbe9 | |||
3d47561c9d | |||
9a9f710651 | |||
479312ad5e |
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
object CheckCommand "iperf3" {
|
||||
import "plugin-check-command"
|
||||
|
||||
command = [ "/home/nagios/check_iperf3_check_iperf3.py" ]
|
||||
command = [ "/home/nagios/check_iperf3/check_iperf3.py" ]
|
||||
|
||||
arguments = {
|
||||
"--remote" = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apply Service "iperf3" {
|
||||
import "generic-service"
|
||||
|
||||
check_command = "check_iperf3"
|
||||
check_command = "iperf3"
|
||||
check_interval = 4h
|
||||
retry_interval = 15m
|
||||
vars.notification_interval = 1d
|
||||
|
@ -10,7 +10,7 @@ apply Service "iperf3" {
|
|||
if (match("_*", k)) {
|
||||
vars[k.substr(1)] = v
|
||||
} else {
|
||||
vars["check_iperf3+_" + k] = v
|
||||
vars["check_iperf3_" + k] = v
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue