There are a few plugins doing this at NagiosExchange, i.e. the Perl version is 
one example:

http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2205.html;d=1

Steffen

From: asa...@gmail.com [mailto:asa...@gmail.com]
Sent: 28. april 2009 08:33
To: Nagios Users Mailinglist
Subject: [Nagios-users] Monitor file size through nagios

Hi,

I am aware of monitoring disk space using nagios (disk partitions --> 
check_disk). Now, I have a situation that I would like to monitor size of an 
individual file through nagios. Ex,

/var/log/custom-snmpd.log -- > this file will grow very fast and i would like 
to monitor if the size of this file crosses 1.5 G

Is there anyway we can do this?

Thanks
--
Shankar
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to