Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] on Ports, ZeroMQ, Zabbix Agent #226

Open
rockaut opened this issue Jan 11, 2018 · 1 comment
Open

[question] on Ports, ZeroMQ, Zabbix Agent #226

rockaut opened this issue Jan 11, 2018 · 1 comment

Comments

@rockaut
Copy link
Contributor

rockaut commented Jan 11, 2018

Hello there,

before i proceed with further Docker Container implementations and usage with Zabbix i have some basic questions. I already had some looks in the docs and also the code as such but haven't come to an definitive conclusion.

  1. Ports
    There are 4 ports i see which need to be configured.
  • proxy frontend, backend and management
  • worker management

Is it correct to state that ...

  • a worker talks to proxy backend
  • a worker mgmt is only used by the worker itself
  • a proxy mgmt is only used by the proxy itself
  • a zabbix agent would talk to proxy frontend

Maybe the ports can be mentioned on http://vpoller.readthedocs.io/en/latest/terminology.html too.

  1. Zabbix Agent fetching vPoller Data
    How exactly is the zabbix agent getting the data from vPoller?
    In the zabbix vpoller-module (https://github.com/dnaeon/py-vpoller/blob/master/extra/zabbix/vpoller-module/vpoller.c) i found a mention for zmq in zbx_module_vpoller function. Does that mean that the zabbix agent needs a zmq connection to proxy zmq? Is it even possible to install an fetch the data with the Zabbix Module and Zabbix Agent from another Machine/VM/Container and not running on the vpoller host itself?

Thats it ... for now ;-)

best regards
Markus

@rockaut rockaut changed the title Questions on Ports, ZeroMQ, Zabbix Agent [questions] on Ports, ZeroMQ, Zabbix Agent Jan 11, 2018
@rockaut rockaut changed the title [questions] on Ports, ZeroMQ, Zabbix Agent [question] on Ports, ZeroMQ, Zabbix Agent Jan 11, 2018
@dnaeon
Copy link
Owner

dnaeon commented Jan 12, 2018

Hey Markus,

You are correct about the ports. Would be nice to have these documented as well. Do you mind submitting a PR to update the documentation?

On the second point - yes, the vpoller module for Zabbix is built with zeromq support, so generally the module sends a zeromq message to the vpoller proxy (front end) and waits for a response.

There is also a configuration file for the vpoller module itself, which allows you to configure where exactly the proxy is located, so you don’t have to run a proxy locally.

Let me know if you have other questions.

Thanks,
Marin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants