Monitor file size through nagios

Steffen Poulsen sp at tdchosting.dk
Tue Apr 28 10:12:19 CEST 2009


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: asam30 at gmail.com [mailto:asam30 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090428/b263ff06/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- 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