Skip to content

Instantly share code, notes, and snippets.

@NeoCat
Created May 7, 2013 22:17
Show Gist options
  • Save NeoCat/5536613 to your computer and use it in GitHub Desktop.
Save NeoCat/5536613 to your computer and use it in GitHub Desktop.
munin plugin for YUREX
#!/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