zabbix的web界面添加监控项时报错,错误提示如下;百度上的方法不生效。

file_get_contents(http://localhost:9200/uint/values/_search): failed to open stream: ???? [charts.php:120 → CView->render() → include() → CScreenChart->get() → get_min_itemclock_by_graphid() → CHistoryManager->getMinClock() → CHistoryManager->getMinClockFromElasticsearch() → CElasticsearchHelper::query() → CElasticsearchHelper::request() → file_get_contents() in include/classes/helpers/CElasticsearchHelper.php:57]
Elasticsearch error: failed to parse JSON.

你是要添加什么监控项?
能说一下具体的吗?

最基本的 cpu jumps,mem usage,swap usage

错误提示写明白了是json传参错误。你看看是不是你在WEB端写的脚本有问题。搞不好就是最简单的语法错误。。。。。。