mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-18 18:19:13 -05:00
Use noop lambda in dummy NotificationCommand
The dummy command would sometimes fail with a "broken pipe" error on slow runners like the arm64 container image one, so this commit replaces them with executing a noop lambda. Using "/bin/echo" might also have been fine, but with this there isn't even a process spawned that can get a broken pipe.
This commit is contained in:
parent
f8c15b1b28
commit
e26b1041c7
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ object Host "h1" {
|
|||
enable_passive_checks = true
|
||||
}
|
||||
object NotificationCommand "send" {
|
||||
command = ["true"]
|
||||
execute = {{}}
|
||||
}
|
||||
apply Notification "n1" to Host {
|
||||
interval = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue