mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 09:57:09 +00:00
durty plugin status fixed
This commit is contained in:
parent
eb9c0b1e3b
commit
3179fb1fb0
1 changed files with 6 additions and 2 deletions
|
@ -14,6 +14,10 @@ by default $lfs_bin = "/usr/bin/lfs", see below.
|
||||||
|
|
||||||
Monitoring node - lustre client with mounted lustre
|
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
|
=head1 AUTHOR
|
||||||
|
|
||||||
Ropchan Sergey <fenix.serega@gmail.com>
|
Ropchan Sergey <fenix.serega@gmail.com>
|
||||||
|
@ -41,8 +45,6 @@ if ($ARGV[0] and $ARGV[0] eq "autoconf") {
|
||||||
|
|
||||||
my @output = `$lfs_bin df`;
|
my @output = `$lfs_bin df`;
|
||||||
|
|
||||||
&print_values;
|
|
||||||
|
|
||||||
if ($ARGV[0] and $ARGV[0] eq "config") {
|
if ($ARGV[0] and $ARGV[0] eq "config") {
|
||||||
print "graph_title Lustre cluster storage objects usage in TB\n";
|
print "graph_title Lustre cluster storage objects usage in TB\n";
|
||||||
print "graph_args --base 1024 --lower-limit 0\n";
|
print "graph_args --base 1024 --lower-limit 0\n";
|
||||||
|
@ -54,6 +56,8 @@ if ($ARGV[0] and $ARGV[0] eq "config") {
|
||||||
exit 0;
|
exit 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&print_values;
|
||||||
|
|
||||||
sub print_labels {
|
sub print_labels {
|
||||||
for $_ (@output) {
|
for $_ (@output) {
|
||||||
#storage objects
|
#storage objects
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue