Comments (4)
Hello,
Thanks for the report.
Could you please give me the protobix version you're using ?
from python-protobix.
@jbfavre That would be 1.0.0
from python-protobix.
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.
@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)
- self.items_list clear after succesful send HOT 2
- Error installing protobix HOT 1
- Reading ServerActive from zabbix_agentd.conf is broken
- Examples out of date HOT 1
- Read zabbix configuration from local zabbix_agentd.conf, if any
- Add logging capacity
- AttributeError: 'dict' object has no attribute 'data_type' HOT 1
- Add support for Zabbix 4.0
- ZBX_RESP_REGEX for Zabbix 2.0 HOT 2
- Add tests HOT 1
- Implement Zabbix Sender items number per sent limitation
- Unnecessary division / multiplication in senderprotocol.py ' clock' method HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-protobix.