Skip to content
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

Error access URL #15

Open
aboubobo opened this issue Mar 1, 2019 · 0 comments
Open

Error access URL #15

aboubobo opened this issue Mar 1, 2019 · 0 comments

Comments

@aboubobo
Copy link

aboubobo commented Mar 1, 2019

When I ran URL :
http://172.16.xxx.xxx/zabbix/zabbix-dynamic-pdf-report/index.php or http://172.16.xxx.xxx/zabbix/zabbix-dynamic-pdf-report

Same Results :
CURL URL: http://127.0.0.1/zabbix/api_jsonrpc.php
CURL Options: Array ( [19913] => 1 [13] => 30 [78] => 5 [81] => [64] => [52] => 1 [74] => 1 [10023] => Array ( [0] => Content-Type: application/json-rpc [1] => User-Agent: ZabbixAPI v1.0 - http://andrewfarley.com/zabbix_php_api ) [10036] => POST [10015] => {"auth":null,"method":"user.login","id":1,"params":{"password":"XXX!","user":"XXX"},"jsonrpc":"2.0"} [10102] => gzip ) Got response from API: ({"jsonrpc":"2.0","result":"1b4d5c50cc5ec4d7d93cc06f32a5dcf5","id":1}) Response decoded: (Array ( [jsonrpc] => 2.0 [result] => 1b4d5c50cc5ec4d7d93cc06f32a5dcf5 [id] => 1 ) __login() Got response from API: (1b4d5c50cc5ec4d7d93cc06f32a5dcf5) CURL URL: http://127.0.0.1/zabbix/api_jsonrpc.php
CURL Options: Array ( [19913] => 1 [13] => 30 [78] => 5 [81] => [64] => [52] => 1 [74] => 1 [10023] => Array ( [0] => Content-Type: application/json-rpc [1] => User-Agent: ZabbixAPI v1.0 - http://andrewfarley.com/zabbix_php_api ) [10036] => POST [10015] => {"auth":"1b4d5c50cc5ec4d7d93cc06f32a5dcf5","method":"host.get","id":1,"params":{"output":["hostid","name"],"sortfield":"name","with_graphs":"1"},"jsonrpc":"2.0"} [10102] => gzip ) Got response from API: ({"jsonrpc":"2.0","result":[{"hostid":"10291","name":"FW1 Stormshield"},{"hostid":"10084","name":"Zabbix server"},{"hostid":"10285","name":"[BRIDOR] vrh6-asi-dbBRIDOR"},{"hostid":"10273","name":"[SCALANDES] vrh6-asi-asSCMM"},{"hostid":"10272","name":"[SCALANDES] vrh6-asi-dbSCMM"},{"hostid":"10274","name":"[SOGESMA] vw2k12-asi-DBSO"}],"id":1}) Response decoded: (Array ( [jsonrpc] => 2.0 [result] => Array ( [0] => Array ( [hostid] => 10291 [name] => FW1 Stormshield ) [1] => Array ( [hostid] => 10084 [name] => Zabbix server ) [2] => Array ( [hostid] => 10285 [name] => [BRIDOR] vrh6-asi-dbBRIDOR ) [3] => Array ( [hostid] => 10273 [name] => [SCALANDES] vrh6-asi-asSCMM ) [4] => Array ( [hostid] => 10272 [name] => [SCALANDES] vrh6-asi-dbSCMM ) [5] => Array ( [hostid] => 10274 [name] => [SOGESMA] vw2k12-asi-DBSO ) ) [id] => 1 ) CURL URL: http://127.0.0.1/zabbix/api_jsonrpc.php

Config :
Zabbix 4
PHP 7.2 :
php72-php-json-7.2.15-1.el7.remi.x86_64
php-xml-7.2.15-1.el7.remi.x86_64
php-ldap-7.2.15-1.el7.remi.x86_64
php-bcmath-7.2.15-1.el7.remi.x86_64
php-7.2.15-1.el7.remi.x86_64
php-devel-7.2.15-1.el7.remi.x86_64
php72-runtime-2.0-1.el7.remi.x86_64
php72-php-common-7.2.15-1.el7.remi.x86_64
php-json-7.2.15-1.el7.remi.x86_64
php-cli-7.2.15-1.el7.remi.x86_64
php-process-7.2.15-1.el7.remi.x86_64
php-pdo-7.2.15-1.el7.remi.x86_64
php-pecl-mysql-1.0.0-0.17.20160812git230a828.el7.remi.7.2.x86_64
php-mbstring-7.2.15-1.el7.remi.x86_64
php-gd-7.2.15-1.el7.remi.x86_64
php-pear-1.10.8-1.el7.remi.noarch
php-pear-Net-Curl-1.2.5-10.el7.noarch
php-common-7.2.15-1.el7.remi.x86_64
php-fedora-autoloader-1.0.0-1.el7.noarch
php-mysqlnd-7.2.15-1.el7.remi.x86_64

Any ideas please ?
Thank's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant