I am not very good at this. Fixed proto implementation issue.

This commit is contained in:
Matthew Connelly 2015-02-20 01:42:02 +00:00
parent 486cee0bd5
commit e4fa714acf
1 changed files with 4 additions and 5 deletions

View File

@ -17,13 +17,12 @@ echo "# munin node at $host"
while read cmd mod;do
case $cmd in
list) echo $modules;;
config) is_registered $mod && config_$mod || echo "# Unknown plugin";;
fetch) is_registered $mod && fetch_$mod || echo "# Unknown plugin";;
nodes) echo $host;;
version) echo "munin node on $host version: $ver ($myname)";;
config) is_registered $mod && config_$mod || echo "# Unknown plugin";echo .;;
fetch) is_registered $mod && fetch_$mod || echo "# Unknown plugin";echo .;;
nodes) echo -e "$host\n.";;
version) echo -e "munin node on $host version: $ver ($myname)\n.";;
help) echo "# Commands: list, config, fetch, nodes, version, help, quit";;
quit) exit 0;;
*) echo "# Unknown command. Try help."
esac
echo '.'
done