summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-10-21 15:56:35 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2003-10-21 15:56:35 +0000
commit7faea6d54af21d092e07aa499cd68052b7622892 (patch)
treec40371a67b0c7dc244385e0555edda660ffd5c72
parenta175e1b0ddafe74cdc425bab8cbd72617ddaacc4 (diff)
downloadmonitoring-plugins-7faea6d54af21d092e07aa499cd68052b7622892.tar.gz
- Fixed file name (Matt Garrett)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@749 f882894a-f735-0410-b71e-b25c423dba1c
-rwxr-xr-xplugins-scripts/check_file_age.pl4
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 ();
36my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V); 36my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V);
37my ($result, $message, $age, $size, $st); 37my ($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;