Author Topic: How to install queuemetrics in another server  (Read 4072 times)

galeras

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
    • Email
How to install queuemetrics in another server
« on: September 03, 2007, 20:23:42 »
Dear Sirs,


Is possible to install queuemetrics in a different server than the asterisk server?.

If so, please give me some directions or links to do that.

Thanks in advance.


Martin Cabrera


QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: How to install queuemetrics in another server
« Reply #1 on: September 05, 2007, 12:52:51 »
Surely you can - you basically have to install a small program called qloaderd (you can find it in queuemetrics/WEB-INF/mysql-utils, look at its docs) on the Asterisk server; it will upload queue_log data to the MySQL database on another machine. Then you install QM on a remote machine and just tell QM to use the database as its data source.
It's really easy to do - if you look here on the forum you'll find a lot of examples on this issue.

zefrench

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: How to install queuemetrics in another server
« Reply #2 on: November 13, 2007, 16:49:29 »
In that instance, how does one have the realtime wallboard work? I cannot seem to get any stats in that instance.

Qloaderd is working fine, the data is on the MYSQL server, the string in configuration.properties points to that mysql server and the proper partition (I can pull reports and they look like they should)


EDIT:
Fixed it myself.

My problem was the fact that I edited the time offset in qloaderd.pl, when I should not as all my servers are in the same time zone

Code: [Select]
my $timezone_offset  = 0 * 3600;  # in seconds
« Last Edit: November 15, 2007, 19:21:42 by zefrench »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: How to install queuemetrics in another server
« Reply #3 on: November 14, 2007, 11:11:30 »
So it's fixed now, correct?