Git Product home page Git Product logo

Comments (4)

jbfavre avatar jbfavre commented on July 23, 2024

Hello,
Thanks for the report.
Could you please give me the protobix version you're using ?

from python-protobix.

syphernl avatar syphernl commented on July 23, 2024

@jbfavre That would be 1.0.0

from python-protobix.

jbfavre avatar jbfavre commented on July 23, 2024

Thanks for the information, I will investigate it ASAP.
In the meantime, you can move UserParameter options in separate file in /etc/zabbix/zabbix_agentd.conf.d/my_user_param.conf and use Include options in zabbix_agentd.conf:

#	You may include individual files or all files in a directory in the configuration file.
#	Installing Zabbix will create include directory in /etc/zabbix, unless modified during the compile time.
#
# Mandatory: no
# Default:
Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf```

from python-protobix.

Atem18 avatar Atem18 commented on July 23, 2024

@jbfavre I have that problem:

Traceback (most recent call last):
  File "neolane.py", line 118, in <module>
    extract_and_send_metrics()
  File "neolane.py", line 111, in extract_and_send_metrics
    send_metrics('lld', metrics)
  File "neolane.py", line 40, in send_metrics
    config = protobix.ZabbixAgentConfig(config_file=zabbix_conf)
  File "/home/kevin/.virtualenvs/kevin/local/lib/python2.7/site-packages/protobix/zabbixagentconfig.py", line 56, in __init__
    tmp_config = configobj.ConfigObj(config_file, list_values=False)
  File "/home/kevin/.virtualenvs/kevin/local/lib/python2.7/site-packages/configobj.py", line 1229, in __init__
    self._load(infile, configspec)
  File "/home/kevin/.virtualenvs/kevin/local/lib/python2.7/site-packages/configobj.py", line 1318, in _load
    raise error
configobj.DuplicateError: Duplicate keyword name at line 309.

It is because I have two same directives in Zabbix my config file:
LoadModule=zabbix_module_docker.so
LoadModule=libzbxpgsql.so

But it is allowed in Zabbix. Can you fix it, please ? Thanks in advance.

from python-protobix.

Related Issues (13)

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.