[CentOS] Nagios check_file size in another machine

2009-11-03 Thread kebo jantan
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

Re: [CentOS] Nagios check_file size in another machine

2009-11-03 Thread Karanbir Singh
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|

Re: [CentOS] Nagios check_file size in another machine

2009-11-03 Thread kebo jantan
I just already. This on client [r...@xmen ~]# ps -ef | grep -i snmp root 10505 10172 0 20:06 pts/000:00:00 grep -i snmp [r...@cyclop ~]# ps -ef | grep -i nrpe root 10507 10172 0 20:06 pts/000:00:00 grep -i nrpe [r...@xmen ~]# ps -ef | grep -i ssh root 8899 1 0 Oct26 ?

Re: [CentOS] Nagios check_file size in another machine

2009-11-03 Thread John Doe
From: kebo jantan jantan.keb...@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

Re: [CentOS] Nagios check_file size in another machine

2009-11-03 Thread Keith Keller
On Tue, Nov 03, 2009 at 08:08:27PM +0700, kebo jantan wrote: I just already. This on client [r...@xmen ~]# ps -ef | grep -i snmp root 10505 10172 0 20:06 pts/000:00:00 grep -i snmp [r...@cyclop ~]# ps -ef | grep -i nrpe root 10507 10172 0 20:06 pts/000:00:00 grep -i nrpe