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 helper - quotes in string results #246

Open
rockaut opened this issue Apr 24, 2018 · 2 comments
Open

Zabbix helper - quotes in string results #246

rockaut opened this issue Apr 24, 2018 · 2 comments

Comments

@rockaut
Copy link
Contributor

rockaut commented Apr 24, 2018

The zabbix helper returns string results with surrounding quotes.

@rockaut
Copy link
Contributor Author

rockaut commented Apr 24, 2018

Quick workaround at least in Zabbix > 3.x : use preprocessing and trim the quote "

@rockaut
Copy link
Contributor Author

rockaut commented Apr 24, 2018

As i see it, vsphere api is returning it quoted and in vpoller-client json output its correctly displayed with quotes. So i think that should be handled in the zabbix vpoller module?

I found the line 326 in py-vpoller/extra/zabbix/vpoller-module/vpoller.c
SET_STR_RESULT(result, strdup(zmq_msg_data(&msg_in)));

I don't know C at all.

rockaut added a commit to rockaut/py-vpoller that referenced this issue Sep 1, 2018
This should fix dnaeon#246 as zabbix already recognizes the string.
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

1 participant