Bom dia,
Estou tentando a integração entre zabbix e GLPI para abertura de chamados de alguns grupos de Hosts
estou utilizando o Script do Vitor Mazuco :
https://github.com/…/za…/blob/master/tickets_zabbix_glpi.php
Versoes:
Glpi 9.2.2
Webservices 1.8.0
Porém estou travado no seguinte erro
Comando:
[root@zabbixserver ~]# php /etc/zabbix/scripts/tickets_zabbix_glpi.php eventhost="Impressora_152" event="DOWN" state="PROBLEM" hostproblemid=0 lasthostproblemid=0 servico="Toner yellow low on printer Impressora_152" triggerid="15152" eventzabbix="1418239"
+ Calling 'glpi.test' on http://192.168.0.150/glpi_ho…/plugins/webservices/xmlrpc.php
+ Calling 'glpi.doLogin' on http://192.168.0.150/glpi_ho…/plugins/webservices/xmlrpc.php
PHP Warning: file_get_contents(http://192.168.0.150/glpi_ho…/plugins/webservices/xmlrpc.php): failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error
in /etc/zabbix/scripts/tickets_zabbix_glpi.php on line 68
+ No response
Linha 68: $file = file_get_contents("http://$host/$url", false, $context);
Estou tentando a integração entre zabbix e GLPI para abertura de chamados de alguns grupos de Hosts
estou utilizando o Script do Vitor Mazuco :
https://github.com/…/za…/blob/master/tickets_zabbix_glpi.php
Versoes:
Glpi 9.2.2
Webservices 1.8.0
Porém estou travado no seguinte erro
Comando:
[root@zabbixserver ~]# php /etc/zabbix/scripts/tickets_zabbix_glpi.php eventhost="Impressora_152" event="DOWN" state="PROBLEM" hostproblemid=0 lasthostproblemid=0 servico="Toner yellow low on printer Impressora_152" triggerid="15152" eventzabbix="1418239"
+ Calling 'glpi.test' on http://192.168.0.150/glpi_ho…/plugins/webservices/xmlrpc.php
+ Calling 'glpi.doLogin' on http://192.168.0.150/glpi_ho…/plugins/webservices/xmlrpc.php
PHP Warning: file_get_contents(http://192.168.0.150/glpi_ho…/plugins/webservices/xmlrpc.php): failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error
in /etc/zabbix/scripts/tickets_zabbix_glpi.php on line 68
+ No response
Linha 68: $file = file_get_contents("http://$host/$url", false, $context);
Comment