Skip to content

Using python-zabbix-utils to send JSON data #40

@deajan

Description

@deajan

Hello,

First of all, sorry if this question is off-topic, I'm kind of a newcommer to Zabbix.
I've been tasked to use python-zabbix-utils in order to send data to a Zabbix server.
So far, I understood that I have to create a ItemValue object list which I can then use with Sender.

A more seasoned Zabbix user told me that Zabbix supports JSON input, which would obviously make things quite easier for me since the JSON data already exists in the software I'm working on.

Yet, I'm pretty sure that Zabbix needs a communication protocol which I could not just emulate with POST requests, especially when using PSK.

Is there some codepath in python-zabbix-utils which allows sending JSON data to a Zabbix server ?

Thanks for any insight.

[EDIT] When I refer to JSON input, I mean not Zabbix protocol formatted JSON[/EDIT]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions