Changeset c1ff1c12aa13b7dcd7348d37f330d63126759343

Show
Ignore:
Timestamp:
11/11/09 01:02:51 (9 years ago)
Author:
Jason Dixon <jdixon@omniti.com>
git-committer:
Jason Dixon <jdixon@omniti.com> 1257901371 +0000
git-parent:

[1b48012a49307c87fc5e44ca7a63079ed918dc54]

git-author:
Jason Dixon <jdixon@omniti.com> 1257901371 +0000
Message:

pass in age as seconds, not days

git-svn-id: https://labs.omniti.com/resmon/trunk@228 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Resmon/Module/ZFSYNCHECK.pm

    r7a0ad41 rc1ff1c1  
    88  my $arg=shift; 
    99  my $zfs=$arg->{'object'}; 
    10   my $age=$arg->{'age'}*86400
     10  my $age=$arg->{'age'}
    1111  my $recentsnap = cache_command("zfs list -tsnapshot -H -Screation -oname| grep '^$zfs\@' | head -1", 300); 
    1212  return "BAD(no snapshot of $zfs)" if not $recentsnap;