mirror of git://bitreich.org/reed-alert
ping parameters are different on openbsd,freebsd and linux
This commit is contained in:
parent
f9282edcbc
commit
0056be3ce4
|
@ -104,7 +104,13 @@
|
|||
|
||||
(create-probe
|
||||
ping
|
||||
(command-return-code (list "ping" "-w1" "-c2" (getf params :host))))
|
||||
(command-return-code
|
||||
#openbsd
|
||||
(list "ping" "-w1" "-c2" (getf params :host))
|
||||
#freebsd
|
||||
(list "ping" "-W1" "-c2" (getf params :host))
|
||||
#linux
|
||||
(list "ping" "-W1" "-c2" (getf params :host))))
|
||||
|
||||
(create-probe
|
||||
number-of-processes
|
||||
|
|
Loading…
Reference in New Issue