.TH "XNBD-WATCHDOG" "1" .SH "NAME" xnbd-watchdog \(em Watch a NBD device as started by \fBxnbd-client\fR(1) .SH "SYNOPSIS" .PP \fBxnbd-watchdog\fR [\-\-timeout \fISECONDS\fR] [\-\-interval \fISECONDS\fR] [\-\-recovery-command \fICOMMAND\fR] [\-\-recovery-command-reboot] [\fINBD_DEVICE\fR] .SH "DESCRIPTION" .PP With the \fBxnbd-watchdog\fR, you can monitor a running \fBnbd-client\fR and trigger actions on failure. .SH "OPTIONS" .PP The following options are supported: .IP "\fB\-\-timeout \fISECONDS\fR\fP" 10 Triggers the recovery command action if the watchdog process is unable to connect to the \fINBD_DEVICE\fR within the given timeout. If not given, this defaults to 10 seconds. .IP "\fB\-\-interval \fISECONDS\fR\fP" 10 Specifies the polling interval between probes. If not given, this defaults to 10 seconds. .IP "\fB\-\-recovery-command \fICOMMAND\fR\fP" 10 If given, the \fICOMMAND\fR is executed if the watchdog is unable to connect the NBD device after timeout exceeded. .IP "\fB\-\-recovery-command-reboot\fP" 10 This argument is a shortcut for \fI\-\-recovery-command 'reboot now'\fP. That is, it will reboot the server upon failure. .SH "POSITIONAL ARGUMENTS" .PP The following positional options are supported: .IP "\fBNBD_SERVER\fP" 10 The local nbd-device to be associated with the remote \fBxnbd-server\fR. .SH "SEE ALSO" .PP xnbd-server (8). .SH "AUTHOR" .PP The NBD kernel module and the NBD tools have been written by Pavel Macheck (pavel@ucw.cz) and is now maintained by Paul Clements. (Paul.Clements@steeleye.com). .PP The xNBD userland (client and server) have been written by Takahiro Hirofuchi (t.hirofuchi@aist.go.jp) .PP This manual page was written by Arno Toell (debian@toell.net) for the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. .\" created by instant / docbook-to-man, Thu 07 Feb 2013, 22:09