nagios通过nsclient++监控win主机状态为pending
如题,nagios通过nsclient++监控windows主机时,服务的监控是正常的,但是主机状态显示为pending,错误日志也没有看到相关的信息,帮忙看下是什么原因,linux主机的状态是正常的UP状态,windows主机的状态全部都是pending,在服务中加入了check-ping以后ping服务检测状态正常,但是主机状态依旧无法恢复到UP状态。谢谢~~~~备注:是通过nagiosql来维护的主机和服务的。
###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.1.1
# Date: 2016-11-10 08:40:36
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define host {
host_name XZNTFS03
alias XNE FILE SERVER
address 192.168.1.3
hostgroups windows_servers,xne servers
use windows-server,hosts-pnp
icon_image windows_server.png
statusmap_image windows_server.gd2
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
主要监控的服务有clientversion , diskspace,CPU load, memory used , UPTIME
补充下主机的状态图片
Can you post an image of one of your service's status details page's that is in a pending state? Can you type the following in your Nagios server's CLI and return the output?:
cat /etc/php.ini | grep date.timezone
hwclock
You could have a timezone issue. Following is the output:
# cat /etc/php.ini | grep date.timezone
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
;date.timezone =
# hwclock
Thu 10 Nov 2016 01:00:35 PM CST-0.390954 seconds admin 发表于 2016-11-10 11:16
Can you post an image of one of your service's status details page's that is in a pending state? Can ...
following is the output:
# cat /etc/php.ini | grep date.timezone
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
;date.timezone =
# hwclock
Thu 10 Nov 2016 01:00:35 PM CST-0.390954 seconds
admin 发表于 2016-11-10 11:16
Can you post an image of one of your service's status details page's that is in a pending state? Can ...
另外所有主机的服务都是正常的状态,没有pending的,只是主机的状态显示pending,谢谢~
页:
[1]