TimeStamp

Marc Powell marc at ena.com
Wed Jan 21 23:05:01 CET 2004


In the plugins contrib directory --

# $Id: check_file_age.pl,v 1.1 2003/02/09 14:20:30 sghosh Exp $

# check_file.pl Copyright (C) 2003 Steven Grimm
<koreth-nagios at midwinter.com>
#
# Checks a file's size and modification time to make sure it's not empty
# and that it's sufficiently recent.

It's looking at mtime as opposed to atime but it looks like an easy
modification to use atime.

--
Marc 

________________________________

From: John Hala [mailto:jhala at intellitrans.com] 
Sent: Wednesday, January 21, 2004 3:56 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] TimeStamp



Are there any plugins to incorporate with Nagios that will get the
timestamp of when a file was last accessed, on a server that is
monitored by Nagios and return that information back to Nagios?

Thanks




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list