Build precise queries to find exactly what you need
Press ESC to close
As other users have posted here, there is a bug in this script when use drbd version 8.4.
The output field identifier for role of node has changed in drbd version 8.3. See: http://drbd.linbit.com/users-guide-8.3/ch-admin.html#id1369474
To use the script in version 8.3+, the role identifier needs to be changed from “st” to “ro”.
Apply this patch:
— check_drbd.orig 2014-12-29 18:03:37.000000000 +0100 +++ check_drbd 2014-12-29 18:03:59.000000000 +0100 @@ -217,7 +217,7 @@ if (/^s?(d+):.* cs:(w+)/) { $cs{$1} = $2; } – if (/^s?(d+):.* st:(w+)//) { + if (/^s?(d+):.* ro:(w+)//) { $st{$1} = $2; } if (/^s?(d+):.* ld:(w+)/) {
Can you fix it?
Regards mirQ
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!