scripts icon indicating copy to clipboard operation
scripts copied to clipboard

Let distribute zabbix scripts which use zabbix_api, without passwords - Add configuration file

Open i5513 opened this issue 8 years ago • 0 comments

zabbix_api will search at /etc/zabbix/zabbix_api.conf and at ~/.zabbix_api.conf

The syntax is a ini file: [zabbixapi] user=xxx password=yyyy proto=https server=zzz

So you can: zapi = ZabbixAPI() zapi.login()

Maybe we could add another option to choose the configuration name location

i5513 avatar Dec 19 '17 16:12 i5513