我遵循http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf上的教程。
但是我在CentOS 6上使用EPEL的软件包。
我添加了被动检查模板,使用被动检查模板的服务。 我可以在Web UI上看到TestMessage服务。 当我尝试发送结果时:
[root@g]# send_nsca -H localhost -p 5667 -c /etc/nagios/send_nsca.cfg < sample 0 data packet(s) sent to host successfully.
在系统日志中,我看到:
Feb 8 23:19:01 CentOS-60-64-minimal nsca[27730]: Handling the connection... Feb 8 23:19:01 CentOS-60-64-minimal nsca[27730]: End of connection...
我怎样才能使这个工作?
以下是您可以尝试的一些事情: