Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The two tools are great with plugins and many available out of the box metrics.

I was wondering if there is a way to get output of munin into dstat or a similar tool (real time output vs munin's periodical graph).

share|improve this question
add comment

1 Answer

I'd rather use munin plugins for plotting rather than passing munin output to an external application. Set short period (ex. 60 sec.) by setting appropriate update_rate. Here is an example of trivial plugin

#!/bin/sh

case $1 in
   config)
        cat <<'EOM'
graph_title Load average
graph_vlabel load
load.label load
EOM
        exit 0;;
esac

echo -n "load.value "
cut -d' ' -f2  /proc/loadavg

which plots the load average. For more complicated ones, look here (http://munin-monitoring.org/wiki/HowToWritePlugins). If you want to plot multigraphs, read this(http://munin-monitoring.org/wiki/MultigraphSampleOutput).

share|improve this answer
    
I understand, but this approach is great if simply better average or more frequent update is required. However, in this case the need is to see real time changes –  Alex Apr 19 '13 at 8:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.