Dear all.... any one can help me??? I am aware of monitoring disk space using nagios (disk partitions with check_disk). Now, I have a situation that I would like to monitor size of an individual file through nagios. e.g /var/lib/mysql/somedatabase/vlog.myd, this file will grow very fast and i would like to monitor if the size of this file crosses 1.5 G. I'm already used 'check_file' but this can't solved my problem. The file in another machine, that 'check_file' can't do it. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091103/ad0693ce/attachment-0004.html>
On 11/03/2009 12:48 PM, kebo jantan wrote:> I'm already used 'check_file' but this can't solved my problem. The file > in another machine, that 'check_file' can't do it.Look into how nagios runs its tests over a ssh connection or snmp info or nrpe. -- Karanbir Singh London, UK | http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc
From: kebo jantan <jantan.kebo99 at gmail.com>>Now, I have a situation that I would like to monitor size of an >individual file through nagios. e.g >/var/lib/mysql/somedatabase/vlog.myd, this file will grow very fast and >i would like to monitor if the size of this file crosses 1.5 G. >I'm already used 'check_file' but this can't solved my problem. The file in another machine, that 'check_file' can't do it.http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf JD