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

ASE Error - Getting exception instead of Json array #28

Open
ChrispyTea opened this issue Jan 14, 2019 · 0 comments
Open

ASE Error - Getting exception instead of Json array #28

ChrispyTea opened this issue Jan 14, 2019 · 0 comments

Comments

@ChrispyTea
Copy link

I am still getting the following error but the credentials don't seem to be the problem.

2018-12-11 14:29:43.915 INFO 8755 --- [TaskScheduler-4] o.o.a.core.detection.DetectionEngine : Get monitoring plugin with following parameters:
2018-12-11 14:29:43.923 ERROR 8755 --- [TaskScheduler-4] o.o.a.core.detection.task.DetectionTask : Exception occured while getting measurements -> Expected a com.google.gson.JsonArray but was com.google.gson.JsonObject, Trying again next time...

Inside Zabbix, my instances are automatically getting registered and are being monitored. Initially, I thought that the ASE uses the createThreshold method so I had configured the send_notification script and was trying to add an Action but I was informed that it doesn't use that. I later realised it uses the monitoringPluginCaller and the plugin SDK has already been imported.

Do I need to manually use the methods create PM Job and query PM Job in order to get metrics from the Zabbix plugin? I see examples of how to do this but I am not sure which file to do it in. Please let me know if there are configurations I need to do either on the Zabbix server or plugin to get data for the ASE.

Thank you in advance.
Tapiwa

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