mirror of https://github.com/jimsalterjrs/sanoid
codestyle fix and disable monitoring of weekly snapshots
This commit is contained in:
parent
00b9206829
commit
4649704046
2
sanoid
2
sanoid
|
|
@ -121,7 +121,7 @@ sub monitor_snapshots {
|
||||||
my $path = $config{$section}{'path'};
|
my $path = $config{$section}{'path'};
|
||||||
push @paths, $path;
|
push @paths, $path;
|
||||||
|
|
||||||
my @types = ('yearly','monthly', 'weekly', 'daily','hourly');
|
my @types = ('yearly','monthly','weekly','daily','hourly');
|
||||||
foreach my $type (@types) {
|
foreach my $type (@types) {
|
||||||
|
|
||||||
my $smallerperiod = 0;
|
my $smallerperiod = 0;
|
||||||
|
|
|
||||||
|
|
@ -71,8 +71,8 @@ hourly_warn = 90
|
||||||
hourly_crit = 360
|
hourly_crit = 360
|
||||||
daily_warn = 28
|
daily_warn = 28
|
||||||
daily_crit = 32
|
daily_crit = 32
|
||||||
weekly_warn = 7
|
weekly_warn = 0
|
||||||
weekly_crit = 10
|
weekly_crit = 0
|
||||||
monthly_warn = 5
|
monthly_warn = 5
|
||||||
monthly_crit = 6
|
monthly_crit = 6
|
||||||
yearly_warn = 0
|
yearly_warn = 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue