Displaying 4 results from an estimated 4 matches for "check_file".
2009 Nov 03
2
Nagios check_file size in another machine
...os (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>
2009 Nov 05
0
Nagios check_file size in another machine [solved]
Thanks everyone,
My problem is solved. yeah...i'm read the nrpe.pdf.
On Wed, Nov 4, 2009 at 3:08 AM, Keith Keller <kkeller at speakeasy.net> wrote:
> On Tue, Nov 03, 2009 at 08:08:27PM +0700, kebo jantan wrote:
> > I just already. This on client
> >
> > [root at xmen ~]# ps -ef | grep -i snmp
> > root 10505 10172 0 20:06 pts/0 00:00:00 grep -i snmp
2010 Feb 18
0
improved create dovecot certificate script
...n}" = "public certificate" && \
show_certificate "${certificate}"
exit 6
fi
#.............................................................................#
return 0
}
#*---------------------------------------------------------------------------*#
check_file ()
{
file="${1}"
description="${2}"
#.............................................................................#
if [ \( ! \( -e "${file}" \) \) ]
then
${echo} "${error} ${description} file ${file} does not exist!" >&2
exit 3
f...
2010 Apr 23
3
rails-3.0.0.beta3 install error on ri 'lib' ENOENT
...`Errno::ENOENT'' at /usr/lib/ruby/1.9.1/rdoc/options.rb:632 -
No such file or directory - lib
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - lib
/usr/lib/ruby/1.9.1/rdoc/options.rb:632:in `stat''
/usr/lib/ruby/1.9.1/rdoc/options.rb:632:in `block in check_files''
/usr/lib/ruby/1.9.1/rdoc/options.rb:631:in `each''
/usr/lib/ruby/1.9.1/rdoc/options.rb:631:in `check_files''
/usr/lib/ruby/1.9.1/rdoc/options.rb:539:in `parse''
/usr/lib/ruby/1.9.1/rdoc/rdoc.rb:247:in `document''
/usr/local/lib/site_ruby/1.9.1/rubygem...