mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Use UNIX line breaks
This commit is contained in:
parent
db1228b35d
commit
4658dd392c
1 changed files with 19 additions and 19 deletions
|
@ -1,19 +1,19 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
#Author Juned Memon www.tipsNtrapS.com (juned.memon@tipsntraps.com)
|
#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.
|
#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
|
case $1 in
|
||||||
config)
|
config)
|
||||||
cat <<'EOM'
|
cat <<'EOM'
|
||||||
graph_title Under Replicated Blocks Hadoop
|
graph_title Under Replicated Blocks Hadoop
|
||||||
graph_category hadoop
|
graph_category hadoop
|
||||||
graph_vlabel block
|
graph_vlabel block
|
||||||
block.label block
|
block.label block
|
||||||
EOM
|
EOM
|
||||||
exit 0;;
|
exit 0;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo -n "block.value "
|
echo -n "block.value "
|
||||||
hadoop dfsadmin -report | grep "Under replicated blocks" | awk '{print $4}'
|
hadoop dfsadmin -report | grep "Under replicated blocks" | awk '{print $4}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue