houspi / otrs-zabbix-stat

Integration Zabbix and Otrs to display statistics in Zabbix
2 stars 1 forks source link

How do I set it up? #4

Open Justify87 opened 5 years ago

Justify87 commented 5 years ago

I'm lost. How do I tell the template to login anywhere or pull anything. You really gave no explanation anywhere. And no, it is not self-explanatory.

dloxtermann commented 4 years ago

Hi, I've just set it up. It's a bit tricky.

1) Import zbx_otrs_templates.xml as Zabbix-Template 2) Put otrs.ZabbixStat.pl in the OTRS bin directory (should be /opt/otrs/bin, if not, edit the paths in the 3rd file) 3) Copy Contents from userparameter_otrs.conf to your zabbix-agent config. Edit the Path if neccessary.

There seems to be some issue with the error handling and certain requests made by zabbix regarding queues and states. I've edited the file to my needs, so maybe you want to edit it, too. Please see https://doc.otrs.com/doc/api/otrs/6.0/Perl/Kernel/System/Ticket/TicketSearch.pm.html for additional parameters.