diff options
author | mh <mh@immerda.ch> | 2012-12-15 20:29:41 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-12-15 20:29:41 +0100 |
commit | f34990e5a63bf3aeaaeafb7be2ed842c524a9926 (patch) | |
tree | d75e332ff4db33a999964277945c580bf39eeff7 /files/plugins/xen_vbd | |
parent | 864587e318adf0aa7d4a191b596f5b8337faf521 (diff) |
fix a few remaining things in xen plugins
Diffstat (limited to 'files/plugins/xen_vbd')
-rwxr-xr-x | files/plugins/xen_vbd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/plugins/xen_vbd b/files/plugins/xen_vbd index a684839..e34d41c 100755 --- a/files/plugins/xen_vbd +++ b/files/plugins/xen_vbd @@ -50,7 +50,7 @@ if ( defined($ARGV[0])) 'graph_info' => 'Display the I/O operations for each domain', ); - @domains = `cat /var/lib/munin/plugin-state/xm_list.state`; + @domains = `cat /var/lib/munin/plugin-state/xm_list.state | grep -v 'Domain-0'`; foreach $domain ( @domains ) { @@ -85,7 +85,7 @@ if ( defined($ARGV[0])) # No args, get rolling -my @stats = `cat /var/lib/munin/plugin-state/xm_top.state`; +my @stats = `cat /var/lib/munin/plugin-state/xm_top.state | grep -v 'Domain-0'`; # remove the first line shift(@stats); |