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.
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