zabbix-openstack icon indicating copy to clipboard operation
zabbix-openstack copied to clipboard

Discovery Script Params don't match Template {$Macros}

Open Krylon360 opened this issue 9 years ago • 3 comments

Looking at the Discovery Script; the params for auth_url, password, tenant, username; do not match the $Macro's listed in the template: $OS_AUTHURL, $OS_PASSWORD, $OS_TENANT, and $OS_USER

if using the Keystone AdminRC; both sets (script and Template Macros) should be $OS_AUTH_URL, $OS_USERNAME, $OS_TENANT_NAME, $OS_PASSWORD.

Also; is the script expecting the Identity Service Endpoint? or the KeystonAdmin Endpoint? Ours are done through FQDN; but looks like the script is wanting IP. Also looks like it expects https; our endpoints are http (though; this is an easy fix)

I'll test out the correct Params/Macros and submit a pull request once I get them working.

Krylon360 avatar Nov 24 '15 18:11 Krylon360

I was able to get the Hypervisor Discovery working; however the Endpoint Discovery fails. It can't auth to get a token. The zabbix error says the value should be a JSON object.

Krylon360 avatar Nov 24 '15 20:11 Krylon360

I met the same problem. It said the value should be a JSON object. I have no idea about how to fix the issue.

frankwangzc avatar Oct 28 '16 03:10 frankwangzc

Hi , any luck to get that fixed ?

sauloaugustosilva avatar May 15 '18 17:05 sauloaugustosilva