Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 sensu 服务器日志充满了垃圾,它们达到同一日志行的 3GB 文件大小。
有谁知道如何调试这个或找到垃圾邮件日志文件的来源
这是日志的示例,它一遍又一遍地是同一行
{"timestamp":"2015-02-19T07:27:53.314313+0000","level":"error","message":"unknown handler","handler_name":"graphite"}
似乎您的处理程序未定义,但您在检查中引用它。您可以通过在 /etc/sensu/conf.d/ 目录(或安装 sensu 的位置)中创建 handlers.json 文件来定义它。例子:
{ "handlers":{ "graphite":{ "type": "pipe", "command": ... } } }