未知检查多个指标

UNKNOWN Check Multiple Metrics

我的神经节-services.cfg

define command {
  command_name  check_ganglia_multiple_metrics
  command_line  /bin/sh /var/www/html/ganglia2/nagios/check_multiple_metrics.sh 
host=$HOSTADDRESS$ checks='$ARG1$'
}

define service {
  service_description   Check Multiple Metrics
  use                   generic-service
  check_command         check_ganglia_multiple_metrics!disk_free,less,10:cpu_numm
,less,8
  host_name             localhost
}

但是我遇到了一个错误

这在命令行中完全相同。 我的nagios.log没问题。

当我运行tail -f /var/log/httpd/error_log 我得到

  [Mon Oct 26 09:33:54 2015] [error] [client ::1] PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EET/2.0/no DST' instead in /usr/share/ganglia/host_view.php on line 117
  [Mon Oct 26 09:37:19 2015] [crit] [client 127.0.0.1] configuration error:  couldn't perform authentication. AuthType not set!: /
    [Mon Oct 26 09:38:01 2015] [notice] SIGHUP received.  Attempting to restart

任何帮助这里的错误是什么?

最终我找到了解决方案。当我更改时,在 /usr/local/nagios/etc/objects 中的 localhost.cfg 的主机定义中,地址从默认的 127.0.0.1 到我的节点的地址它开始 运行 正确。