Zabbix connector test connction fails with error: Connection test failed: MID Server Script Include ZabbixJS does not existCredentials not found, id: Caused by error in JavaScript probe 'ZabbixJS' at line 1


Description

Test connector on the Zabbix connector instance fails with below error

 

Connection test failed: MID Server Script Include ZabbixJS doesn't exist Credentials not found, id: <SYS ID> by the error in JavaScript probe 'ZabbixJS' at line 1

Release or Environment

Any

Cause

Custom Zabbix Mid script include and a corrupted credential record.

Resolution

Issue 1: MID Server Script Include ZabbixJS does not exist

Make sure the ZabbixJS script include is not customized, sometimes it may be customized or else recreated with the same name. In that case, import the OOB script include and this should resolve the first part of the issue:

MID Server Script Include ZabbixJS does not exist


Issue 2:Credentials not found, id: <SYS ID> by error in JavaScript probe 'ZabbixJS' at line 1

It looks like the credential record is corrupted and so try recreating the credentials again.