Comments (7)
Estou enfrentando o mesmo problema.
I got the same issue.
from zabbix-glpi.
Robertolw, try it with an Admin user, I'm using "glpi".
from zabbix-glpi.
I created a zabbix user with super-admin rights, tested with glpi user aswell and got the same error with both accounts, i can create tickets just fine with command lines and automaticaly, but i always get xmlrpc error(14): Bad parameter (ticket) when i try closing it.
from zabbix-glpi.
So your problem is only closing the ticket? if opening the ticket is working well it has to work well closing it. Check again the actions in Zabbix Server, there must be an error.
Find below the commands I'm using in each case.
Open
php /usr/lib/zabbix/externalscripts/zabbix/tickets_zabbix_glpi.php eventhost="{HOST.HOST}" event="DOWN" state="{TRIGGER.STATUS}" hostproblemid=0 lasthostproblemid=0 servico="{TRIGGER.NAME}" triggerid="{TRIGGER.ID}" eventzabbix="{EVENT.ID}"
Close
php /usr/lib/zabbix/externalscripts/zabbix/tickets_zabbix_glpi.php eventhost="{HOST.HOST}" event="UP" state="{TRIGGER.STATUS}" hostproblemid=1 lasthostproblemid=1 servico="{TRIGGER.NAME}" triggerid="{TRIGGER.ID}" eventzabbix="{EVENT.ID}"
Both actions are configured with this parameters
Operation Type: Remote Command
Target List: Host:ZabbixServer
Type: Custom Script
Excecute on: Zabbix Agent
Hope it helps.
from zabbix-glpi.
Hi i double checked my actions config, no luck...
root@Monitoramento:/home/cogeti# php /usr/lib/zabbix/externalscripts/zabbix-glpi/tickets_zabbix_glpi.php eventhost="E09 BR1 SW1" event="UP" state="OK" hostproblemid=1 lasthostproblemid=1 servico="Disponibilidade" triggerid="1512" eventzabbix="845906"
+ Calling 'glpi.test' on http://200.xxx.xxx.xxx/.../glpi/plugins/webservices/xmlrpc.php
+ Calling 'glpi.doLogin' on http://200.xxx.xxx.xxx/.../glpi/plugins/webservices/xmlrpc.php
+ Calling 'glpi.addTicketFollowup' on http://200.xxx.xxx.xxx/.../glpi/plugins/webservices/xmlrpc.php?session=96qsurhfq2oe648uuuivuh8rk1
xmlrpc error(14): Bad parameter (ticket)
+ Calling 'glpi.doLogout' on http://200.xxx.xxx.xxx/.../glpi/plugins/webservices/xmlrpc.php?session=96qsurhfq2oe648uuuivuh8rk1
I'm using exactly the same actions as you, the only big difference is I'm using 2 servers zabbix and glpi are running on different machines.
from zabbix-glpi.
I have the same problem, I'm using 2 servers.
from zabbix-glpi.
Consegui colocar pra executar o comando remoto, me retorna executado, porém o GLPI não recebe o chamado, já está com API REST habilitado, sabem me dizer se exite algum outro detalhe?
Abrir chamado - Comando:Zabbix server:php /opt/zabbix/externalscripts/tickets_zabbix_glpi.php eventhost="BEATRIZ" event="DOWN" state="PROBLEM" hostproblemid=0 lasthostproblemid=0 servico="WSUS" triggerid="23349" eventzabbix="1902421" - Executado
RESOLVIDO - Era o apontamento de diretório dentro de Tickets_zabbix_glpi.php estava para /opt/zabbix/externalscripts quando deveria ser /usr/lib/zabbix/externalscripts
Cenário:
GLPI 9.2.1 e Plugin Web Services 1.8.0 em Debian 8
Maria DB em Debian 8
Zabbix 3.4 em Debian 8
from zabbix-glpi.
Related Issues (20)
- Issue in Zabbix opening ticket in GLPI HOT 1
- Bad content
- Problema integração GLPI 0.85.5 + Zabbix 3.2.3 HOT 1
- Plugin webservices + PHP 7.0 error
- Não esta criando Ticket HOT 4
- Acentuação no chamado criado pelo Zabbix HOT 1
- PHP tickets_zabbix_glpi.php
- glpi zabbix
- r
- PHP Warning: file_get_contents...HTTP/1.0 500 Internal Server Error
- Issue in Zabbix-GLPI integration using API HOT 9
- Remover
- Acesso negado XMLRPC HOT 2
- Problema com fechamento de Ticket/Chamado no GLPI HOT 7
- Issue in Zabbix-GLPI priority mapping. HOT 4
- erro de acesso negado HOT 4
- Erro Fechamento do Chamado GLPI x Zabbix HOT 2
- Integration with GLPI 0.90.3 + WebServices 1.6.0 + Zabbix 2.4.8 HOT 1
- Script abre chamado somente na Entidade raiz HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zabbix-glpi.