Skip to content

Conversation

@jweyrich
Copy link

@jweyrich jweyrich commented Apr 27, 2016

Hi,

First, I'd like to thank you because your project is quite handy for us (@teltec).
Second, I implemented a few extra things we needed, so I'd would like to contribute back ;-)

  • Support SSL connection to Zabbix server using client certificate - Requires Python>=2.7.9 (introduced SSLContext);
  • Make script compatible with Python 3;
  • Add support for arguments;
  • Add support to skip a data collector;

NOTE: I didn't update the README though :/ I'll try in my spare time.

Please, let me know if you find any problem(s) or have any concerns.

- Make script compatible with Python 3;
- Add support for arguments;
- Add support to skip a data collector;
from __future__ import unicode_literals

import sys
is_python_3 = sys.version_info > (3, 0)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it works only for 3.0?

Copy link
Author

@jweyrich jweyrich May 11, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works for >=2.7.9 and >=3 as far as I tested.

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

Successfully merging this pull request may close these issues.

2 participants