1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 18:07:20 +00:00

durty plugin status fixed

This commit is contained in:
Ropchan Sergey 2011-03-01 11:41:32 +01:00 committed by Steve Schnepp
parent a4fcd759b3
commit eb9c0b1e3b

View file

@ -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_inodes,v 1.3 2011/03/01 10:39:58 fenix Exp $
=head1 AUTHOR
Ropchan Sergey <fenix.serega@gmail.com>
@ -40,8 +44,6 @@ if ($ARGV[0] and $ARGV[0] eq "autoconf") {
my @output = `$lfs_bin df -i`;
&print_values;
if ($ARGV[0] and $ARGV[0] eq "config") {
print "graph_title Lustre cluster storage objects inodes usage in percent\n";
print "graph_args --base 1000\n";
@ -69,6 +71,8 @@ sub print_labels {
print_thresholds("summary",undef,undef,95,98);
}
&print_values;
sub print_values {
for $_ (@output) {
#storage objects