Thanks everyone,<br><br>My problem is solved. yeah...i'm read the nrpe.pdf.<br><br><br><div class="gmail_quote">On Wed, Nov 4, 2009 at 3:08 AM, Keith Keller <span dir="ltr"><<a href="mailto:kkeller@speakeasy.net">kkeller@speakeasy.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Tue, Nov 03, 2009 at 08:08:27PM +0700, kebo jantan wrote:<br>
> I just already. This on client<br>
><br>
> [root@xmen ~]# ps -ef | grep -i snmp<br>
> root     10505 10172  0 20:06 pts/0    00:00:00 grep -i snmp<br>
><br>
> [root@cyclop ~]# ps -ef | grep -i nrpe<br>
> root     10507 10172  0 20:06 pts/0    00:00:00 grep -i nrpe<br>
<br>
</div>This won't really help you, since the default is to run nrpe out of<br>
(x)inetd.<br>
<br>
On your nagios server, configure a service that uses check_nrpe to check<br>
a named check on the remote host.  Then, on the mysqld host, create a<br>
checkcommand in nrpe.cfg to do the (local) check that you want to do.<br>
NRPE will perform the check and send the result back to check_nrpe on<br>
the nagios server.<br>
<br>
I believe that on the remote host you need the nagios-plugins and<br>
nagios-nrpe packages, available from rpmforge.  (The nagios server needs<br>
the nagios-plugins-nrpe package in addition to the other nagios packages<br>
you probably already have.)<br>
<br>
The config files are fairly well documented, and the PDF you were<br>
referred to is very thorough.<br>
<br>
--keith<br>
<font color="#888888"><br>
<br>
--<br>
<a href="mailto:kkeller@speakeasy.net">kkeller@speakeasy.net</a><br>
<br>
</font><br>_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
<br></blockquote></div><br><input id="gwProxy" type="hidden"><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML"></div>