【问题标题】:Nagios: Not able to write Performance data into fileNagios:无法将性能数据写入文件
【发布时间】:2014-01-16 13:18:41
【问题描述】:

我正在尝试在 Nagios 和 Graphite 之间进行通信,但无法将 Nagios 性能数据写入文件。

我指的是以下提到的网站: http://nagios.manubulon.com/traduction/docs25en/perfdata.html http://nagios.manubulon.com/traduction/docs14en/xpdfile.html

配置nagios.conf http://nagios.manubulon.com/traduction/docs25en/configmain.html#host_perfdata_file

【问题讨论】:

  • 您能否具体说明问题,还是您真的希望人们仔细阅读这些文件?

标签: nagios graphite


【解决方案1】:

请提供有关 perfdata 文件的一些详细信息。 确保文件可由运行 nagios 的用户写入。

例如:

如果您使用 /usr/local/nagios/var/host-perfdata.dat 来存储您的主机性能数据并且您的 nagios 以用户 nagios 运行,则权限如下所示:

-rw-rw-r-- nagios nagios host-perfdata

【讨论】:

    猜你喜欢
    • 2013-07-06
    • 2014-03-13
    • 2020-02-24
    • 1970-01-01
    • 1970-01-01
    • 2022-11-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多