Author Topic: 3 node cluster each with a different timezone  (Read 3252 times)

goit

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
3 node cluster each with a different timezone
« on: December 15, 2008, 18:53:24 »
I am running queuemetrics 1.5 as a cluster to monitor 3 different asterisk servers. each server is located in a different time zone. i am having a problem with realtime page. it only works correclty with the server located in the same time zone as the queuemetrics servers. The other 2 servers do show call information, but it appears as negative!!!

any help is greatly appreicated.

Thanks

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: 3 node cluster each with a different timezone
« Reply #1 on: December 16, 2008, 10:14:54 »
At the moment, the clustering feature is expectiong all data to be in the same time-zone, or it will not understand things. What you can do is to use the offset parameter of qloaderd to make al lthe calls have the same timestamp.

Code: [Select]
my $timezone_offset  = 0 * 3600;  # in seconds
The timezone offset is ADDED to the current timestamp when sending data over to QM.


denzs

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: 3 node cluster each with a different timezone
« Reply #2 on: January 29, 2015, 15:57:55 »
As i'am going to run into the same situation, i wanted to ask if this workaround still is the best way to adress it.

Or is there any other way to support different timezones?

Best regards,
Sebastian