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

Reformat zabbix sender stdout - Enhancement #7

Open
HoracioDos opened this issue Dec 16, 2020 · 1 comment
Open

Reformat zabbix sender stdout - Enhancement #7

HoracioDos opened this issue Dec 16, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@HoracioDos
Copy link

Hello.
Would you consider to replace this line 91. I didn't learn how to make a pr yet.
loginf(self.zabbix_sender + " result: " +sender_stdout.decode())
with
loginf(' '.join(sender_stdout.decode().split()))
to get a better output format. you will get something like this
Response from "XXX.XXX.XXX.XXX:10051": "processed: 32; failed: 0; total: 32; seconds spent: 0.000852" sent: 32; skipped: 0; total: 32

Thanks

@RandomReaper RandomReaper added the enhancement New feature or request label Dec 17, 2020
@dmth
Copy link

dmth commented Jun 27, 2024

This issue is almost 4 years old. Somehow your proposed change has been included. At least my debug-output looks like your improved output.

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

No branches or pull requests

3 participants