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:
parent
b7e6b69bd9
commit
060ddd51f2
3 changed files with 9 additions and 3 deletions
|
@ -158,7 +158,9 @@ END
|
|||
}
|
||||
}
|
||||
|
||||
exit 0;
|
||||
unless ( $ENV{MUNIN_CAP_DIRTYCONFIG} == 1 ) {
|
||||
exit 0;
|
||||
}
|
||||
}
|
||||
|
||||
foreach my $type (keys %sensors) {
|
||||
|
|
|
@ -173,7 +173,9 @@ END
|
|||
}
|
||||
}
|
||||
|
||||
exit 0;
|
||||
unless ( $ENV{MUNIN_CAP_DIRTYCONFIG} == 1 ) {
|
||||
exit 0;
|
||||
}
|
||||
}
|
||||
|
||||
foreach my $type (keys %sensors) {
|
||||
|
|
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue