Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

pbr

Reviews(1)
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