Open joshuagordondba opened 6 years ago
I fixed this myself.
Under
private function logout() {
Change this line
$data = $this->callAPI('user.logout', array( 'user' => $this->username, 'auth' => self::$instance->auth_hash ));
to
$data = $this->__callAPI('user.logout', self::$instance->auth_hash);
I found this information that lead me to this solution.
https://www.zabbix.com/forum/zabbix-help/22100-zabbix-api-php-logout?t=21870
Unable to logout: Array ( [code] => -32602 [message] => Invalid params. [data] => Invalid parameter "/": unexpected parameter "user". ) I get this error after trying to setup the report generator. I had SELINUX issues but they have all been resolved.