-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zabbix 2.4 HTTP Auth #13
Comments
Hi Thanks for the report! Cheers |
Hi Should be fixed now in the branch'd version, can you try it again with the new files and give me some feedback? You can find them here: https://github.com/confirm-it-solutions/PhpZabbixApi/tree/2.4 Cheers |
Hi Domi, The new branch version worked with HTTP authentication. Thanks! |
Thanks for your reply. I'll create a new tag. |
Hello,
Trying this API with Zabbix 2.4. Works great with "Internal" authentication. When I try to use HTTP authentication, it is giving me issues.
Below are a couple tests, let me know if you have any suggestions or need me to run additional tests. Thanks!
TEST1
$api = new ZabbixApi('https://managedhpc.x-iss.com/zabbix/api_jsonrpc.php','','','ncarl','PASSWORDHERE');
RESULT1
API error -32602: Not authorised.
TEST2
$api = new ZabbixApi('https://managedhpc.x-iss.com/zabbix/api_jsonrpc.php','ncarl','PASSWORDHERE','ncarl','PASSWORDHERE');
RESULT2
Could not connect to "https://managedhpc.x-iss.com/zabbix/api_jsonrpc.php"
The text was updated successfully, but these errors were encountered: