Message11559
Did a dirty hack in pyzabbix\sender.py", line 128, in __repr__
result = json.dumps(self.__dict__)
change to
d = self.__dict__
jsond = {'hostname' : d['host'], 'value' : d['value'], 'key' : d['key']}
result = json.dumps(jsond)
---
But why self.__dict__ is not true dict object? |
|
Date |
User |
Action |
Args |
2017-08-31 14:57:24 | birkoff | set | messageid: <1504191444.13.0.573853826849.issue2622@psf.upfronthosting.co.za> |
2017-08-31 14:57:24 | birkoff | set | recipients:
+ birkoff |
2017-08-31 14:57:24 | birkoff | link | issue2622 messages |
2017-08-31 14:57:24 | birkoff | create | |
|