Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
pbr
bypbr, August 4, 2010
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
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