Re: Nagios check_file size in another machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

This won't really help you, since the default is to run nrpe out of
(x)inetd.

On your nagios server, configure a service that uses check_nrpe to check
a named check on the remote host.  Then, on the mysqld host, create a
checkcommand in nrpe.cfg to do the (local) check that you want to do.
NRPE will perform the check and send the result back to check_nrpe on
the nagios server.

I believe that on the remote host you need the nagios-plugins and
nagios-nrpe packages, available from rpmforge.  (The nagios server needs
the nagios-plugins-nrpe package in addition to the other nagios packages
you probably already have.)

The config files are fairly well documented, and the PDF you were
referred to is very thorough.

--keith


-- 
kkeller@xxxxxxxxxxxxx

Attachment: pgpvJ6EZPe81l.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux