Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

How to Monitor DRBD?

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


chrischan at knebb

Jun 11, 2012, 1:03 AM

Post #1 of 3 (387 views)
Permalink
How to Monitor DRBD?

Hey,

drbd seems to work mostly really fine.

But sometimes issues occur for whatever reason. So my device went on the
secondary last night to "diskless".

Well, it didn't do any harm as the primary still was fine.

My question now is how you monitor your drbd devices? I din't have a
snmptrap device running- email would be fine.

Have you created your own script running frequently monitoring the
/dev/drbd node?

Or any other ideas?

Greetings

Christian

_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


ff at mpexnet

Jun 11, 2012, 1:07 AM

Post #2 of 3 (367 views)
Permalink
Re: How to Monitor DRBD? [In reply to]

Hi,

On 06/11/2012 10:03 AM, Christian Völker wrote:
> Hey,
>
> drbd seems to work mostly really fine.
>
> But sometimes issues occur for whatever reason. So my device went on the
> secondary last night to "diskless".
>
> Well, it didn't do any harm as the primary still was fine.
>
> My question now is how you monitor your drbd devices? I din't have a
> snmptrap device running- email would be fine.
>
> Have you created your own script running frequently monitoring the
> /dev/drbd node?
>
> Or any other ideas?

monitoring is *essential* when running DRBD, else you will find yourself
in a bad place at some point.

I think most people cobble up a nagios plugin to fit their specific
fears ;-) You can easily leverage /proc/drbd or better yet,
drbd-overview.pl to get good monitoring input. Some distributions
(Debian for one I believe), present the information from the latter via
the status action of the init script.

HTH,
Felix
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


jschulz at bloonix

Jun 11, 2012, 1:10 AM

Post #3 of 3 (367 views)
Permalink
Re: How to Monitor DRBD? [In reply to]

Hi,

Am 06/11/2012 10:07 AM, schrieb Felix Frank:
> Hi,
>
> On 06/11/2012 10:03 AM, Christian Völker wrote:
>> Hey,
>>
>> drbd seems to work mostly really fine.
>>
>> But sometimes issues occur for whatever reason. So my device went on the
>> secondary last night to "diskless".
>>
>> Well, it didn't do any harm as the primary still was fine.
>>
>> My question now is how you monitor your drbd devices? I din't have a
>> snmptrap device running- email would be fine.
>>
>> Have you created your own script running frequently monitoring the
>> /dev/drbd node?
>>
>> Or any other ideas?
>
> monitoring is *essential* when running DRBD, else you will find yourself
> in a bad place at some point.
>
> I think most people cobble up a nagios plugin to fit their specific
> fears ;-) You can easily leverage /proc/drbd or better yet,
> drbd-overview.pl to get good monitoring input. Some distributions
> (Debian for one I believe), present the information from the latter via
> the status action of the init script.

I wrote a plugin to monitor DRBD.

It can be downloaded from here:

http://download.bloonix.net/sources/bloonix-plugins-drbd-0.1.tar.gz

Cheers,
Jonny

_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.