From 3179fb1fb06b44a57fbbdf5d5d2f30f61024c80c Mon Sep 17 00:00:00 2001 From: Ropchan Sergey Date: Tue, 1 Mar 2011 11:41:53 +0100 Subject: [PATCH] durty plugin status fixed --- plugins/other/lustre_abs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/other/lustre_abs b/plugins/other/lustre_abs index 7fc477de..a9395944 100755 --- a/plugins/other/lustre_abs +++ b/plugins/other/lustre_abs @@ -14,6 +14,10 @@ by default $lfs_bin = "/usr/bin/lfs", see below. Monitoring node - lustre client with mounted lustre +=head1 VERSION + + $Id: lustre_df_abs,v 1.3 2011/03/01 10:39:58 fenix Exp $ + =head1 AUTHOR Ropchan Sergey @@ -41,8 +45,6 @@ if ($ARGV[0] and $ARGV[0] eq "autoconf") { my @output = `$lfs_bin df`; -&print_values; - if ($ARGV[0] and $ARGV[0] eq "config") { print "graph_title Lustre cluster storage objects usage in TB\n"; print "graph_args --base 1024 --lower-limit 0\n"; @@ -54,6 +56,8 @@ if ($ARGV[0] and $ARGV[0] eq "config") { exit 0; } +&print_values; + sub print_labels { for $_ (@output) { #storage objects