nagios 故障一则

在 nrpe 里面定义了几个新 command,然后在 master 里面添加相应的 service,重启 nagios,会发现大量的 Warning:
$ tail -f nagios.log | grep Warning
[1342846503] Warning: Check result queue contained results for service 'xxx' on host 'yyy', but the service could not be found!  Perhaps you forgot to define the service in your config files?
[1342846503] Warning: Check result queue contained results for service 'xxx' on host 'yyy', but the service could not be found!  Perhaps you forgot to define the service in your config files?

通过 web 查看新增的 service,会发现该 service 在交替着出现消失。根据这篇博客的记录,跟作者的情况一模一样,起了两个 nagios instance,全部杀掉,启动一个即可。