<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [Nagios-users] How to monitor a linux  file opened & closed status  using Nagios</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
  Thanks for your guidance.I followed your instructions.I installed net_nc in windows-XP and  I could only get the file's modified time.<BR>
  I am also interested to know about how to monitor a linux file's status whether it is opened or closed and modified etc.I used chech_file_age plugin which gives only the age of the file.Is there any way please help me.<BR>
<BR>
Regards<BR>
<BR>
A.Selvakumar<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Anthony Montibello [<A HREF="mailto:amontibello@gmail.com">mailto:amontibello@gmail.com</A>]<BR>
Sent: Thu 10/1/2009 6:53 AM<BR>
To: Selvakumar A<BR>
Cc: nagios-users@lists.sourceforge.net<BR>
Subject: Re: [Nagios-users] How to monitor a windows file using Nagios<BR>
<BR>
Hi,<BR>
It sounds like it is returning the Directory Age and not the Age of the<BR>
Files in the directory.<BR>
<BR>
Check_nt requires a Plugin on the Windows Host,<BR>
So what plugin is on the Windows Host?<BR>
<BR>
Nc_net should allow for testing Modified Date via Check_nc_net of both Files<BR>
or directorys.<BR>
Windows will report different values for these, and nc_net has options to<BR>
choose between these.<BR>
<BR>
I do not know how this is implemented through the other Windows Plugins.<BR>
<BR>
An alternative if you cannot find a plugin to do it, is to write a VB script<BR>
<BR>
then send the results via NSCA, or Fetch usin NRPE.<BR>
<BR>
Tony (Author of NC_NEt)<BR>
<BR>
On Tue, Sep 29, 2009 at 12:42 AM, Selvakumar A <selvakumar.a@europlex.in>wrote:<BR>
<BR>
>  Hi,<BR>
>     I would like to know  How to monitor a windows file using nagios. I<BR>
> would like to monitor whether the file is opened or closed,and its size<BR>
> etc.I checked with check_nt plugin but  I got the result what I did not<BR>
> expect.The output shows the files age as 478years for all files. So anybody<BR>
> know how to monitor a windows file? Thanks  a lot in advance!!<BR>
><BR>
><BR>
><BR>
> Regards<BR>
><BR>
> A.Selvakumar<BR>
><BR>
><BR>
><BR>
> This message (including attachments) is confidential and may be privileged. If you have<BR>
> received it by mistake please notify the sender by return e-mail and delete this message<BR>
> from your system. You may not copy, disclose or use the contents in any way. SBTPL<BR>
> does not guarantee integrity of this communication nor is that this communication free of<BR>
> issues, interceptions or interference. This communication does not create or modify any<BR>
> contract, and unless otherwise stated, is not intended to be contractually binding. Views<BR>
> or opinions expressed in this e-mail message are those of the author only.<BR>
><BR>
><BR>
><BR>
> ------------------------------------------------------------------------------<BR>
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA<BR>
> is the only developer event you need to attend this year. Jumpstart your<BR>
> developing skills, take BlackBerry mobile applications to market and stay<BR>
> ahead of the curve. Join us from November 9-12, 2009. Register now!<BR>
> <A HREF="http://p.sf.net/sfu/devconf">http://p.sf.net/sfu/devconf</A><BR>
> _______________________________________________<BR>
> Nagios-users mailing list<BR>
> Nagios-users@lists.sourceforge.net<BR>
> <A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>
> ::: Please include Nagios version, plugin version (-v) and OS when<BR>
> reporting any issue.<BR>
> ::: Messages without supporting info will risk being sent to /dev/null<BR>
><BR>
<BR>
</FONT>
</P>

<pre>



This message (including attachments) is confidential and may be privileged. If you have 
received it by mistake please notify the sender by return e-mail and delete this message 
from your system. You may not copy, disclose or use the contents in any way. SBTPL 
does not guarantee integrity of this communication nor is that this communication free of 
issues, interceptions or interference. This communication does not create or modify any 
contract, and unless otherwise stated, is not intended to be contractually binding. Views 
or opinions expressed in this e-mail message are those of the author only.
</pre></BODY>
</HTML>