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

misc: make some plugin speak dirtyconfig, saving a few roundtrips.

This commit is contained in:
Diego Elio Pettenò 2012-11-11 16:56:21 -08:00
parent b7e6b69bd9
commit 060ddd51f2
3 changed files with 9 additions and 3 deletions

View file

@ -158,7 +158,9 @@ END
}
}
exit 0;
unless ( $ENV{MUNIN_CAP_DIRTYCONFIG} == 1 ) {
exit 0;
}
}
foreach my $type (keys %sensors) {

View file

@ -173,7 +173,9 @@ END
}
}
exit 0;
unless ( $ENV{MUNIN_CAP_DIRTYCONFIG} == 1 ) {
exit 0;
}
}
foreach my $type (keys %sensors) {

View file

@ -103,7 +103,9 @@ phase$phaseIndex.critical $phaseData->{$phaseIndex}->{'overloadThreshold'}
END
}
exit 0;
unless ( $ENV{MUNIN_CAP_DIRTYCONFIG} == 1 ) {
exit 0;
}
}
my $phasesLoad = $session->get_entries(-columns => [$oidPhaseLoad]);