codestyle fix and disable monitoring of weekly snapshots

This commit is contained in:
Christoph Klaffl 2017-11-09 17:41:52 +01:00
parent 00b9206829
commit 4649704046
No known key found for this signature in database
GPG Key ID: FC1C525C2A47CC28
2 changed files with 3 additions and 3 deletions

2
sanoid
View File

@ -121,7 +121,7 @@ sub monitor_snapshots {
my $path = $config{$section}{'path'};
push @paths, $path;
my @types = ('yearly','monthly', 'weekly', 'daily','hourly');
my @types = ('yearly','monthly','weekly','daily','hourly');
foreach my $type (@types) {
my $smallerperiod = 0;

View File

@ -71,8 +71,8 @@ hourly_warn = 90
hourly_crit = 360
daily_warn = 28
daily_crit = 32
weekly_warn = 7
weekly_crit = 10
weekly_warn = 0
weekly_crit = 0
monthly_warn = 5
monthly_crit = 6
yearly_warn = 0