Created
May 7, 2013 22:17
-
-
Save NeoCat/5536613 to your computer and use it in GitHub Desktop.
munin plugin for YUREX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# check the /dev/yurex0 is readable from user 'munin'! | |
if [ "$1" = "config" ]; then | |
cat << EOM | |
graph_title Yurex BBU | |
graph_vlabel BBU | |
yurex.label yurex | |
EOM | |
exit | |
fi | |
echo yurex.value $(cat /dev/yurex0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment