nrpe 提示Connection refused by host
2012-08-23 17:49
113 查看
今天在centos5.4 x64上安装nagios的nrpe服务,当nrpe顺利安装完成之后,执行/usr/local/nagios/libexec/check_nrpe -H localhost,提示Connection refused by host,后来查百度之后,发现是没有启动nrpe,我郁闷了,当即执行
/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d,果断启动。
然后执行,netstat -an | grep 5666
显示:tcp 0 0 127.0.0.1:5666 0.0.0.0:* LISTEN
则启动成功。
然后再执行:/usr/local/nagios/libexec/check_nrpe -H localhost
返回:NRPE v2.12
本文出自 “放飞自己..放飞心情” 博客,请务必保留此出处http://netkailong.blog.51cto.com/1387007/971344
/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d,果断启动。
然后执行,netstat -an | grep 5666
显示:tcp 0 0 127.0.0.1:5666 0.0.0.0:* LISTEN
则启动成功。
然后再执行:/usr/local/nagios/libexec/check_nrpe -H localhost
返回:NRPE v2.12
本文出自 “放飞自己..放飞心情” 博客,请务必保留此出处http://netkailong.blog.51cto.com/1387007/971344
相关文章推荐
- Linux用sendmail发信失败,提示Connection refused by [127.0.0.1]
- 【排障】nagios出现问题connection refused by host
- XShell提示Connection closed by foreign host的问题 和 路由器分配IP的规则
- 解决Windows用vnc连接Ubuntu时出现The connection was refused by the host computer问题
- xshell连接虚拟机上CentOS7提示Connection closed by foreign host
- Unencrypted connection refused. Goodbye. Connection closed by foreign host.
- XShell提示Connection closed by foreign host的问题 和 路由器分配IP的规则
- Linux服务器之间拷贝文件(提示connect to host localhost port 22: Connection refused lost )
- ssh连接提示 "Connection closed by remote host"
- VNC Viewer:The connection was refused by host computer
- 连接linux ssh连接提示:Connection closed by remote host
- nagios Connection refused by host
- ssh连接提示 "Connection closed by remote host"
- git clone时失败提示:Connection to bitbucket.org closed by remote host..00 KiB/s
- ssh连接提示 "Connection closed by remote host"
- Ubuntu 连接错误 Connection closed by foreign host
- SSH 报错 connection closed by foreign host
- Connection closed by foreign host
- org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.100:8080 refused
- ‘127.0.0.1’ is not allowed to connect to this MySQL serverConnection closed by foreign host