diff options
author | mh <mh@immerda.ch> | 2012-12-07 15:14:00 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-12-07 15:14:00 +0100 |
commit | 7bac1218e57c3092d52e4eb0734451e45cb78c94 (patch) | |
tree | 62fc8292a81ab01903c4617336af00bd0c2c0c10 /files/plugins/xen_traffic_all | |
parent | 61de53c6b99c18e309351c5e5cae5027ff2f4905 (diff) |
correct filtering
Diffstat (limited to 'files/plugins/xen_traffic_all')
-rw-r--r-- | files/plugins/xen_traffic_all | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/plugins/xen_traffic_all b/files/plugins/xen_traffic_all index b6f668d..492effc 100644 --- a/files/plugins/xen_traffic_all +++ b/files/plugins/xen_traffic_all @@ -14,7 +14,7 @@ # we cache xm list for 5 min for perfomance reasons ((find /var/lib/munin/plugin-state/xm_list.state -mmin -5 2>&1 | grep -qE '^\/var\/lib\/munin\/plugin-state\/xm_list\.state$') && \ [ `cat /var/lib/munin/plugin-state/xm_list.state | wc -l` -gt 1 ]) || \ - /usr/sbin/xm list | grep -v "^Name .* Console$" > /var/lib/munin/plugin-state/xm_list.state + /usr/sbin/xm list | grep -v "^Name .* ID" > /var/lib/munin/plugin-state/xm_list.state if [ "$1" = "autoconf" ]; then if which xm > /dev/null ; then |