Install ZabiRepo on CentOS 7

yum install git -y
cd /usr/share/zabbix/
sudo git clone "https://github.com/usiusi360/zabirepo.git"
Now go to:
http://ip.address.goes.here/zabbix/zabirepo
Was ist das?:
Invalid parameter "/": unexpected parameter "extendoutput".
One workaround (not recommended) is to open:
vi /usr/share/zabbix/include/classes/validators/CApiInputValidator.php
and search for keyword:
unexpected
Replace:
                // unexpected parameter validation
                foreach ($data as $field_name => $value) {
                        if (!array_key_exists($field_name, $rule['fields'])) {
                                $error = _s('Invalid parameter "%1$s": %2$s.', $path, _s('unexpected parameter "%1$s"', $field_name));
                                return false;
                        }
                }
With:
                // unexpected parameter validation
                //foreach ($data as $field_name => $value) {
                //      if (!array_key_exists($field_name, $rule['fields'])) {
                //              $error = _s('Invalid parameter "%1$s": %2$s.', $path, _s('unexpected parameter "%1$s"', $field_name));
                //              return false;
                //      }
                //}
Related:
https://github.com/usiusi360/zabirepo
https://github.com/usiusi360/zabirepo/issues/11

2 comments:

  1. AnonymousJune 07, 2019

    I was able to login but after the screen populates once I have a please wait message and i can not get to the dashboard, it is greyed over

    ReplyDelete
  2. Cn we put this on another server??

    ReplyDelete