summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a175e1b)
raw | patch | inline | side by side (parent: a175e1b)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 21 Oct 2003 15:56:35 +0000 (15:56 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 21 Oct 2003 15:56:35 +0000 (15:56 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@749 f882894a-f735-0410-b71e-b25c423dba1c
plugins-scripts/check_file_age.pl | patch | blob | history |
index 2ab1a28b761ad74f20bf29121bd2ccc528b71213..43038fae6151d47c0828d725bb2260902db0cc62 100755 (executable)
#!/bin/perl -w
# $Id$
-# check_file.pl Copyright (C) 2003 Steven Grimm <koreth-nagios@midwinter.com>
+# check_file_age.pl Copyright (C) 2003 Steven Grimm <koreth-nagios@midwinter.com>
#
# Checks a file's size and modification time to make sure it's not empty
# and that it's sufficiently recent.
my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V);
my ($result, $message, $age, $size, $st);
-$PROGNAME="check_file";
+$PROGNAME="check_file_age";
$opt_w = 240;
$opt_c = 600;