【问题标题】:how to combine filters in nsclient check_files?如何在 nsclient check_files 中组合过滤器?
【发布时间】:2022-01-04 15:37:59
【问题描述】:

我尝试的只是第一个条件

这似乎应该有效,但它没有

"filter=written > -2d and type!=dir"

文件夹包含在结果中

【问题讨论】:

    标签: nagios


    【解决方案1】:

    没关系,看来我需要 type='file'。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-10-09
      • 1970-01-01
      • 1970-01-01
      • 2012-01-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多