mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 18:38:30 +00:00
durty plugin status fixed
This commit is contained in:
parent
a4fcd759b3
commit
eb9c0b1e3b
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_inodes,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>
|
||||||
|
@ -40,8 +44,6 @@ if ($ARGV[0] and $ARGV[0] eq "autoconf") {
|
||||||
|
|
||||||
my @output = `$lfs_bin df -i`;
|
my @output = `$lfs_bin df -i`;
|
||||||
|
|
||||||
&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 inodes usage in percent\n";
|
print "graph_title Lustre cluster storage objects inodes usage in percent\n";
|
||||||
print "graph_args --base 1000\n";
|
print "graph_args --base 1000\n";
|
||||||
|
@ -69,6 +71,8 @@ sub print_labels {
|
||||||
print_thresholds("summary",undef,undef,95,98);
|
print_thresholds("summary",undef,undef,95,98);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&print_values;
|
||||||
|
|
||||||
sub print_values {
|
sub print_values {
|
||||||
for $_ (@output) {
|
for $_ (@output) {
|
||||||
#storage objects
|
#storage objects
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue