Git Product home page Git Product logo

Comments (12)

VN1977 avatar VN1977 commented on September 27, 2024 1

default

from zabbix-agent-extension-elasticsearch.

VN1977 avatar VN1977 commented on September 27, 2024 1

Hi!
Everything works OK. But my question was about only error in discovery rule. What's wrong with it? Why do we have such an error?
As I can see this rule tries to create an item with key elasticsearch.node_stats.jvm.buffer_polls.count[{#JVMBUFFERSPOOLS}] but the item with the same key already exist.
I used zabbix_get to check the discovery rule.
zabbix_get -s IP -k elasticsearch.discovery[Elasticsearch_cluster_1]
The answer is
{"data":[{"{#GROUPNAME}":"Elasticsearch_cluster_1"},{"{#JVMGCCOLLECTORS}":"old"},{"{#JVMGCCOLLECTORS}":"young"},{"{#JVMBUFFERSPOOLS}":"direct"},{"{#JVMBUFFERSPOOLS}":"mapped"},.........
So this discovery rule works as expected but why Zabbix tries to create new items and only for prototype Template App Elasticsearch Service: JVM buffer pools {#JVMBUFFERSPOOLS} count again and again?
I don't like if something works with errors so I try to get rid of any of them.

from zabbix-agent-extension-elasticsearch.

akitsul avatar akitsul commented on September 27, 2024

Hi,

please check the items of this host, is there any discovery items found there?
2018-08-27_181900_1895x848

from zabbix-agent-extension-elasticsearch.

VN1977 avatar VN1977 commented on September 27, 2024

default
Yes, there are some items.
But my items have type Zabbix aggregate and yours are Zabbix trapper. Why?

from zabbix-agent-extension-elasticsearch.

akitsul avatar akitsul commented on September 27, 2024

Hello,
this is normal.

What does not work?

from zabbix-agent-extension-elasticsearch.

dmitry-sobol avatar dmitry-sobol commented on September 27, 2024

I have the same error:
image

from zabbix-agent-extension-elasticsearch.

akitsul avatar akitsul commented on September 27, 2024

@dmitry-sobol
Hello, this is normal.

What does not work?

from zabbix-agent-extension-elasticsearch.

breisig avatar breisig commented on September 27, 2024

It's not working me either.

from zabbix-agent-extension-elasticsearch.

aguzmans avatar aguzmans commented on September 27, 2024

I have the same problem with a customized mysql Discovery:

root@ubuntu-bionic:/home/zabbix# zabbix_agentd -t docker.container.service[con_nc_test_abel_mysql7,mysqld] -c /etc/zabbix/instances/con_nc_test_abel_mysql7/zabbix_agentd.conf docker.container.service[con_nc_test_abel_mysql7,mysqld] [t|{ "data":[ { "{#SERVICENAME}":"mysqld" } ] }] root@ubuntu-bionic:/home/zabbix#

That is the discovery working from the agent perspective. I have my agent in Active mode. The web interface of zabbix says on this discovery template item:
Cannot create item: item with the same key "docker.container.mysql_realtime[{HOST.HOST},innodb_buffer_pool_pages_dirty]" already exists. Cannot create item: item with the same key "docker.container.mysql_realtime[{HOST.HOST},innodb_buffer_pool_pages_total]" already exists. (...)
Then the items are not added to my discovery mysql. Where do those items already exist? I do not understand.

from zabbix-agent-extension-elasticsearch.

Pakbon avatar Pakbon commented on September 27, 2024

Same problem here with a custom LLD script. With the exception that it still adds those keys and successfully monitors the values of the keys .
Cannot create item: item with the same key "solr.online[{#SOLRPORT6}]" already exists.
Cannot create item: item with the same key "solr.online[{#SOLRPORT}]" already exists.

from zabbix-agent-extension-elasticsearch.

Olodain avatar Olodain commented on September 27, 2024

When I try to make , I have an error. Could you please help me for this? Im newbie.

cd /root/zabbix-agent-extension-elasticsearch/.gopath/src/zabbix-agent-extension-elasticsearch;
GOPATH=/root/zabbix-agent-extension-elasticsearch/.gopath
dep ensure -v
/bin/sh: 2: dep: not found
Makefile:40: recipe for target 'deps' failed
make: *** [deps] Error 127

from zabbix-agent-extension-elasticsearch.

geryjuhasz avatar geryjuhasz commented on September 27, 2024

When I try to make , I have an error. Could you please help me for this? Im newbie.

cd /root/zabbix-agent-extension-elasticsearch/.gopath/src/zabbix-agent-extension-elasticsearch;
GOPATH=/root/zabbix-agent-extension-elasticsearch/.gopath
dep ensure -v
/bin/sh: 2: dep: not found
Makefile:40: recipe for target 'deps' failed
make: *** [deps] Error 127

will be fixed with:

apt install go-dep

from zabbix-agent-extension-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.