Hi all,
I have created some python scripts to perform external checks (on our wi-fi controller) and display the data in zabbix. Everything was working perfectly fine (and for the old scripts it still is) but for my new script I receive this error msg(in /var/log/zabbix/zabbix_server.log):
Zabbix will retry 3 times after the network error and then disable the externel check (temporarily).
Does anyone have a clue what could be wrong or if there is more detailed logging info available somewhere? If I manually run the script from the command line (obviously on the same zabbix server/folder) the script returns the expected outcome(a decimal value).
I have some older python scripts that work perfectly fine. These script connect to the same host So the host is actually reachable from the zabbix appliance.
edit: (enabled higher debug level):
I have created some python scripts to perform external checks (on our wi-fi controller) and display the data in zabbix. Everything was working perfectly fine (and for the old scripts it still is) but for my new script I receive this error msg(in /var/log/zabbix/zabbix_server.log):
Code:
Zabbix agent item "vszAPI.py["--API_version v8_2 queryClientByWlanName --query uplink --zoneId", "{$ZONEID}"]" on host "XXX" failed: another network error, wait for 15 seconds
Does anyone have a clue what could be wrong or if there is more detailed logging info available somewhere? If I manually run the script from the command line (obviously on the same zabbix server/folder) the script returns the expected outcome(a decimal value).
I have some older python scripts that work perfectly fine. These script connect to the same host So the host is actually reachable from the zabbix appliance.
edit: (enabled higher debug level):
Code:
984:20200224:133138.864 End of get_value_agent():NETWORK_ERROR
984:20200224:133138.864 Item [test:vszAPI.py["--API_version v8_2 queryClientByWlanName --query uplink --zoneId", "{$ZONEID}"]] error: Get value from agent failed: cannot connect to [[127.0.0.1]:10050]: [4] Interrupted system call
984:20200224:133138.864 End of get_value():NETWORK_ERROR
984:20200224:133138.864 In zbx_deactivate_item_host() hostid:10272 itemid:28387 type:0
984:20200224:133138.864 query [txnlev:1] [begin;]
984:20200224:133138.865 query [txnlev:1] [update hosts set available=2,error='Get value from agent failed: cannot connect to [[127.0.0.1]:10050]: [4] Interrupted system call',disable_until=1582551158 where hostid=10272]
Comment