Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Exchange server 针对Exchange高可用性的Nagios监控[故障切换]_Exchange Server_Nagios_High Availability - Fatal编程技术网

Exchange server 针对Exchange高可用性的Nagios监控[故障切换]

Exchange server 针对Exchange高可用性的Nagios监控[故障切换],exchange-server,nagios,high-availability,Exchange Server,Nagios,High Availability,如果要监视ID为306的Exchange高可用性日志,该怎么办。我创建了脚本,但它给出了OK状态的输出,没有任何事件计数,因为由于自动故障切换,服务器上生成了多个事件 剧本是: ./check_nrpe -t 30 -H IPAddress -p 5666 -c CheckEventLog -a file=Microsoft-Exchange-HighAvailability/Operational debug=true MaxWarn=1 MaxCrit=1 filter-generated=

如果要监视ID为306的Exchange高可用性日志,该怎么办。我创建了脚本,但它给出了OK状态的输出,没有任何事件计数,因为由于自动故障切换,服务器上生成了多个事件

剧本是:

./check_nrpe -t 30 -H IPAddress -p 5666 -c CheckEventLog -a file=Microsoft-Exchange-HighAvailability/Operational debug=true MaxWarn=1 MaxCrit=1 filter-generated=\<1d "filter=id = 306" truncate=1000 unique descriptions "syntax=%id%: (%count%)"

/check\u nrpe-t 30-H IPAddress-p 5666-c CheckEventLog-a file=Microsoft Exchange高可用性/operation debug=true MaxWarn=1 MaxCrit=1生成的筛选器=\@o11c。。。谢谢你编辑我的文章。但这不是我所期望的。我一直在期待解决方案。当有人在一个评论队列中看到你的帖子,但对这个主题一无所知时,这种情况就会经常发生。