How to monitor a linux file opened & closed status using Nagios

Selvakumar A selvakumar.a at europlex.in
Thu Oct 1 13:48:55 CEST 2009


Hi,
  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.
  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.

Regards

A.Selvakumar



 



-----Original Message-----
From: Anthony Montibello [mailto:amontibello at gmail.com]
Sent: Thu 10/1/2009 6:53 AM
To: Selvakumar A
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] How to monitor a windows file using Nagios
 
Hi,
It sounds like it is returning the Directory Age and not the Age of the
Files in the directory.

Check_nt requires a Plugin on the Windows Host,
So what plugin is on the Windows Host?

Nc_net should allow for testing Modified Date via Check_nc_net of both Files
or directorys.
Windows will report different values for these, and nc_net has options to
choose between these.

I do not know how this is implemented through the other Windows Plugins.

An alternative if you cannot find a plugin to do it, is to write a VB script

then send the results via NSCA, or Fetch usin NRPE.

Tony (Author of NC_NEt)

On Tue, Sep 29, 2009 at 12:42 AM, Selvakumar A <selvakumar.a at europlex.in>wrote:

>  Hi,
>     I would like to know  How to monitor a windows file using nagios. I
> would like to monitor whether the file is opened or closed,and its size
> etc.I checked with check_nt plugin but  I got the result what I did not
> expect.The output shows the files age as 478years for all files. So anybody
> know how to monitor a windows file? Thanks  a lot in advance!!
>
>
>
> Regards
>
> A.Selvakumar
>
>
>
> 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.
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> 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
>





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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091001/ef21409a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
-------------- next part --------------
_______________________________________________
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