Changeset d1eb3d57a0581e71840a43aee67dade537fa3221

Show
Ignore:
Timestamp:
01/26/09 18:09:22 (5 years ago)
Author:
Sergey Ivanov <seriv@omniti.com>
git-committer:
Sergey Ivanov <seriv@omniti.com> 1232993362 +0000
git-parent:

[dd1cad39a8a83bf061c8ae38c6b9a3288aece202]

git-author:
Sergey Ivanov <seriv@omniti.com> 1232993362 +0000
Message:

output changed to be more understandable

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

Files:

Legend:

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

    rdd1cad3 rd1eb3d5  
    1515    my $yesterday=time-$age; 
    1616    if($yesterday < $snaptime) { 
    17       return "OK(snapshot $sm/$sd $sy)"; 
     17      return "OK(snapshot is fresh $sm/$sd $sy)"; 
    1818    }else{ 
    19       return "BAD(snapshot $sm/$sd $sy)"; 
     19      return "BAD(no fresh snapshot, recent is $sm/$sd $sy)"; 
    2020    } 
    2121  } 
    22   return "BAD(output $output)"; 
     22  return "BAD(unexpected output $output)"; 
    2323}; 
    24241;