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

Zabbix_sender reimplement #68

Open
ad-m opened this issue May 22, 2017 · 4 comments
Open

Zabbix_sender reimplement #68

ad-m opened this issue May 22, 2017 · 4 comments

Comments

@ad-m
Copy link

ad-m commented May 22, 2017

Hello,

I suggest reimplement command zabbix_sender by py-zabbix. This can be useful when monitoring a shared environment when you do not have the ability to install your own system packages, but can trigger the sender, for example, through cron.

Greetings,

@adubkov
Copy link
Owner

adubkov commented May 22, 2017

I do like the idea, but then it will interfere with current zabbix_sender from binary.

@ad-m
Copy link
Author

ad-m commented May 22, 2017

@blacked , how it will interfere? I would like installing python packages eg. by pip install --user py-zabbix, so it will available eg. by python ~/.local/bin/zabbix_sender_py.

@ad-m
Copy link
Author

ad-m commented May 22, 2017

My use case. I have shared hosting which I would like monitoring some use stats eg. file count (I have limited), disk usage (I have limited too). I am unable to install any system packages. I am unable to install any executables. I able to install python scripts. I would like execute zabbix_sender (reimplemented in python) from bash script to periodically eg. every hour sends to zabbix_server usage stats. A simple bash script will be responsible for calculating the metric value. It will be sufficient to send one value per call like zabbix_sender.

@mk2s
Copy link

mk2s commented Apr 13, 2022

@ad-m Maybe I misunderstand your use case, but the current implementation seems to not depend on zabbix_sender (the utility binary from the zabbix distribution) but instead writes the wire protocol directly to the socket. So this is a pure python implementation. Maybe we can then close this issue.

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

3 participants