Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@pbr
Favorites0
Views
Projects0
Hello, thanks for the nice script. I use it to monitor a primary/primary device in a XenServer Cluster. Here my solution to a bug I had using drbd82-8.2.6-1.el5.centos Package from the CentOS Repository: The state in /proc/drbd is defined as "ro:" and not as "st:" as the script expects. I added the following lines to subroutine "parse_proc" within the while loop: if (/^s?(d+):.* ro:(w+)//) { $st{$1} = $2; } Works perfect! Best regards, pbr
Reviewed 15 years ago