resource "nagiosr1" { protocol C; incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f"; startup { wfc-timeout 240; ## 4 minutes degr-wfc-timeout 120; ## 2 minutes. } disk { #on-io-error detach; on-io-error panic; } net { timeout 80; connect-int 10; ping-int 10; ko-count 37; # max-buffers 2048; # max-epoch-size 2048; } syncer { rate 100M; group 1; } on nagios1 { device /dev/drbd0; disk /dev/hda9; address 192.168.1.1:7788; meta-disk internal; } on nagios2 { device /dev/drbd0; disk /dev/hda9; address 192.168.1.2:7788; meta-disk internal; } }