diff --git a/plugins/dxtv/hadoop-under_replicated-blocks b/plugins/dxtv/hadoop-under_replicated-blocks index 2e313423..5fc49783 100755 --- a/plugins/dxtv/hadoop-under_replicated-blocks +++ b/plugins/dxtv/hadoop-under_replicated-blocks @@ -1,19 +1,19 @@ -#!/bin/sh - -#Author Juned Memon www.tipsNtrapS.com (juned.memon@tipsntraps.com) - -#To Check how stable the Hadoop filesystem is, we generally check number of under-replicated nodes in hadoop. This plugin graphs the under-replicated nodes in hadoop. - -case $1 in - config) - cat <<'EOM' -graph_title Under Replicated Blocks Hadoop -graph_category hadoop -graph_vlabel block -block.label block -EOM - exit 0;; -esac - -echo -n "block.value " -hadoop dfsadmin -report | grep "Under replicated blocks" | awk '{print $4}' +#!/bin/sh + +#Author Juned Memon www.tipsNtrapS.com (juned.memon@tipsntraps.com) + +#To Check how stable the Hadoop filesystem is, we generally check number of under-replicated nodes in hadoop. This plugin graphs the under-replicated nodes in hadoop. + +case $1 in + config) + cat <<'EOM' +graph_title Under Replicated Blocks Hadoop +graph_category hadoop +graph_vlabel block +block.label block +EOM + exit 0;; +esac + +echo -n "block.value " +hadoop dfsadmin -report | grep "Under replicated blocks" | awk '{print $4}'