最近使用zabbix创建SchedulReport,完成相关配置进行测试时,总是提示创建失败:
Cannot connect to web service: couldn't connect to server Cannot connect to web service: couldn't connect to server
而且执行cat /var/log/zabbix/zabbix_web_service.log
查看zabbix_web_service日志时未看到相关的访问日志。
耗费时日,搜罗资料(trash!!!),都不见效……
后边在zabbix论坛看到了这么一个评论,觉得问题没准就出在SELinux身上(论坛页面见文末参考):
翻译:
我已证实那个导致连接问题的是SELinux。我关了它然后就好了。
代码:
grubby --update-kernel ALL --args selinux=0
reboot
试了一下,成了!
感谢jlmuniz!!!
参考:
[Scheduled reports - Cannot connect to web service: couldn't connect to server](Scheduled reports - Cannot connect to web service: couldn't connect to server - ZABBIX Forums)
标签:Scheduled,web,service,zabbix,Cannot,connect From: https://www.cnblogs.com/kihyou/p/18411546