diff options
Diffstat (limited to 'plugins-scripts/check_file_age.pl')
-rwxr-xr-x | plugins-scripts/check_file_age.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl index 2ab1a28b..43038fae 100755 --- a/plugins-scripts/check_file_age.pl +++ b/plugins-scripts/check_file_age.pl | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/perl -w | 1 | #!/bin/perl -w |
2 | # $Id$ | 2 | # $Id$ |
3 | 3 | ||
4 | # check_file.pl Copyright (C) 2003 Steven Grimm <koreth-nagios@midwinter.com> | 4 | # check_file_age.pl Copyright (C) 2003 Steven Grimm <koreth-nagios@midwinter.com> |
5 | # | 5 | # |
6 | # Checks a file's size and modification time to make sure it's not empty | 6 | # Checks a file's size and modification time to make sure it's not empty |
7 | # and that it's sufficiently recent. | 7 | # and that it's sufficiently recent. |
@@ -36,7 +36,7 @@ sub print_usage (); | |||
36 | my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V); | 36 | my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V); |
37 | my ($result, $message, $age, $size, $st); | 37 | my ($result, $message, $age, $size, $st); |
38 | 38 | ||
39 | $PROGNAME="check_file"; | 39 | $PROGNAME="check_file_age"; |
40 | 40 | ||
41 | $opt_w = 240; | 41 | $opt_w = 240; |
42 | $opt_c = 600; | 42 | $opt_c = 600; |