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

Value should be a JSON! #3

Closed
lexcorp opened this issue Nov 24, 2021 · 6 comments
Closed

Value should be a JSON! #3

lexcorp opened this issue Nov 24, 2021 · 6 comments
Assignees

Comments

@lexcorp
Copy link

lexcorp commented Nov 24, 2021

In discovery rules I get this error:

Value should be a JSON object.

image

@cboyer
Copy link
Owner

cboyer commented Nov 27, 2021

Probably an unauthorized character in JSON from a connector/channel name.
Get your JSON with:

  • zabbix_get.exe -s YOUR_MIRTH_IP -p MIRTHIX_PORT -k mirth.discovery.channel
  • zabbix_get.exe -s YOUR_MIRTH_IP -p MIRTHIX_PORT -k mirth.discovery.connector

Don't forget to allow your IP to query Mirthix (cf. README).
You can parse it with online tools or paste it here so I can inspect data and publish a fix to escape or filter some characters.
You can get zabbix_get.exe at https://www.zabbix.com/download_agents (archive).

@lexcorp
Copy link
Author

lexcorp commented Nov 30, 2021

I get this message:

zabbix_get.exe [10980]: Check access restrictions in Zabbix agent configuration

@cboyer cboyer self-assigned this Dec 1, 2021
@cboyer
Copy link
Owner

cboyer commented Dec 1, 2021

Did you allowed your IP in Mirthix to be able to query the channel? (Source Filter > Rule Builder)
What's the Mirth and Zabbix version?

@lexcorp
Copy link
Author

lexcorp commented Feb 5, 2022

Mirth version: 3.7.1
Zabbix version: 4.0.22

@lexcorp
Copy link
Author

lexcorp commented Feb 5, 2022

image

@cboyer
Copy link
Owner

cboyer commented Nov 11, 2023

Change value 127.0.0.1 to your Zabbix server IP, save and redeploy channel.

@cboyer cboyer closed this as completed Nov 11, 2023
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

2 participants