# Collectd DRBD Plugin

I have ran into a scenario where my manager wanted to monitor drbd resource. So we are using graphite over here and pushing data from collectd to graphite. I did a quick search on google.com, but didn’t find any collectd drbd plugin. Actually I found one which is in python, This is the link

Only problem which I remember, when I was testing this, it looks for only one resource. Since I haven’t learned python. I thought of writing my own. I wrote a bash script and got the job done.

Create a file under /etc/collect.d/drbd and enter this