Hi
Summary: my question is about the best approach to generate updated stats programmatically,
use Generic Interface vs GenerateStats.pl ?
details
We need to have a live, i.e updated or real time view
of 2 important KPIs:
1.Average Response time
2.Average Fix time
This is per queue and for all tickets (in all queues)
We can now generate those 2 KPIs manually via the statistics module,
and we can export the required data to .CSV files
where we do some work on them, to generate the final report.
What we want to do is to automate this manual process
and be able to get current/live response and fix time on a web page,
shown on some gauge/meter/chart.
we thought of 2 ways:
1.we can use otrs.GenerateStats.pl
a.to generate the csv file
b.parse the csv file & prepare the data on the server
c.fetch the data by web browser for formatting and display
2.use the generic interface "provider mode"
but I am not sure if it will be able to do this, as from the docs, I can see options
only to manage tickets (create, update, ..), but nothing mentioned on how to get statistics.
If generic interface works it will be ideal, so web browser can talk to it directly, via REST API,
fetch the data, format and display it.
Appreciate your recommendations on which approach to use.
Plus the answer on generic interface, is it capable of returning stats or not?
live stats,Generic Interface vs GenerateStats.pl
Moderator: crythias
-
- Znuny newbie
- Posts: 7
- Joined: 25 Apr 2014, 22:04
- Znuny Version: 6.0.12
- Real Name: Khaled Yousry
- Company: Next-Levels
live stats,Generic Interface vs GenerateStats.pl
OTRS 6.0.12, Ubuntu 18.04.1 LTS, Apache/2.4.29 , mysqld 5.7.24, Perl v5.26.1