ZABBIX服务安装,如在RedHat、CentOS、Ubuntu等上安装
1 篇帖子 分页: 1 / 1
帖子penghuang » 2018年 7月 20日 14:36 星期五
更新模板中的触发器时,报错如下:
Undefined offset: 0 [triggers.php:346 → CFrontendApiWrapper->update() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CTrigger->update() → CTriggerGeneral->inherit() → CTriggerGeneral->inherit() → CTriggerGeneral->inheritOnHost() → CTriggerGeneral->checkIfExistsOnHost() in include/classes/api/services/CTriggerGeneral.php:307]
Undefined offset: 0 [triggers.php:346 → CFrontendApiWrapper->update() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CTrigger->update() → CTriggerGeneral->inherit() → CTriggerGeneral->inherit() → CTriggerGeneral->inheritOnHost() → CTriggerGeneral->checkIfExistsOnHost() in include/classes/api/services/CTriggerGeneral.php:307]
Undefined offset: 0 [triggers.php:346 → CFrontendApiWrapper->update() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CTrigger->update() → CTriggerGeneral->inherit() → CTriggerGeneral->inherit() → CTriggerGeneral->inheritOnHost() → CTriggerGeneral->checkIfExistsOnHost() in include/classes/api/services/CTriggerGeneral.php:307]
Undefined offset: 0 [triggers.php:346 → CFrontendApiWrapper->update() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CTrigger->update() → CTriggerGeneral->inherit() → CTriggerGeneral->inherit() → CTriggerGeneral->inheritOnHost() → CTriggerGeneral->checkIfExistsOnHost() in include/classes/api/services/CTriggerGeneral.php:307]
Undefined offset: 0 [triggers.php:346 → CFrontendApiWrapper->update() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CTrigger->update() → CTriggerGeneral->inherit() → CTriggerGeneral->inherit() → CTriggerGeneral->inheritOnHost() → CTriggerGeneral->checkIfExistsOnHost() in include/classes/api/services/CTriggerGeneral.php:328]
触发器"{HOST.NAME} 的CPU过载20%"已存在于"".


因主机名没有正常显示出来,不知道该从哪里入手排查。尝试过在数据库查询trigger表中所有templateid为空的触发器,查询结果只有模板本身的触发器,并没有存在主机单独配置了该触发器,从而导致触发器重名的情况。

请问各位大神有没有好的排查思路?
1 篇帖子 分页: 1 / 1

登录

在线用户

正在浏览此版面的用户:没有注册用户 和 25 位游客