Icinga2和pnp4nagios

我正尝试用pnp4nagios安装icinga2和icingaweb。 正如在icinga2 文件中指出的,我在npcd.conf中添加了以下参数:

perfdata_spool_dir = /var/spool/icinga2/perfdata 

访问localhost/pnp4nagios时出现以下错误:

 Please check the documentation for information about the following error. perfdata directory "/var/lib/pnp4nagios/" is empty. Please check your Nagios config. <a href="http://docs.pnp4nagios.org/faq/3">Read FAQ online</a> file [line]: application/models/data.php [109]: back 

我已经启用性能插件perfdata。

我脑海中浮现的是什么

  • npcd没有运行(正确)
  • npcd和icinga2在不同的用户下运行? 所以npcd不能读取/删除假脱机文件
  • / var / spool / icinga2 / perfdata中是否有文件? (启用了Icingafunction?)

如需更多帮助,日志可能会有帮助。