QueueMetrics > General Asterisk configuration

Re: "Agent status cannot be determined" on agent screen

(1/2) > >>

yojarmye:
I am using Queuemetrics version 1.6.0.1 and I am having the same problem.

In my case I have two asterisk (asterisk1/partition1 and asterisk2/partition2) that send the information through qloader a different server than where it was installed queuemetrics.
When an agent from the screen do a login or logoff, if I select in srv: asterisk1, the change in the agent's screen at once.
But if I do the login or logoff in srv: asterisk2, change agent on the screen takes about 1 minute.

I have reviewed the insert login / logoff in the table queuemetrics queue_log of both srv. Asterisk1 In the insert is immediate, but in the asterisk2 takes about 1 minute.
In both "qloader.pl" parameters are the same, minus the "my $ partition ="

So, what can be the cause of the delay in updating the information of asterisk2 against asterisk1?

I copy of the content in qloader.pl:
my $log_every_num = 100;
my $log_queries   = 0;            # set to 1 to log all queries

my $timezone_offset  = 0 * 3600;  # in seconds
my $heartbeat_delay  = 15 * 60;   # in seconds
my $use_subqueue     = 0;         # 0 no; 1 yes
my $split_subq_name  = 0;         # 0 no; 1 yes - turn a subqueue name from 'xxx/yyy" to "xxx"
my $rewriteToAgent   = 1;         # 0 no; 1 yes
my @channelsToAgent  = ( 'Local', 'SIP' );
my $dbAgentRewrite   = 0;         # 0 no; 1 yes - rewrite according to rules in table qlog_rewrite

Thanks!!

QueueMetrics:
Are you sure the servers are time-aligned over NTP?

yojarmye:
I updated the date of all servers:
#Ntpdate es.pool.ntp.org
but the problem still occurs.

I would point out a detail not know if it matters. The server it takes to update the information, asterisk2, is with 1 hour less than the server where queuemetrics stay. This is so that it asterisk2 is in another time zone.
Queuemetrics server and Asterisk1 and server are in the same zone.

Regards

QueueMetrics:
You should have all Asterisk servers in the same time zone; if not data may be off.

yojarmye:
I fail to understand why, but now immediately updates the state of the agent in the agent's screen, when this status changes in asterisk2.

I suppose there will ntpdate solved the issue.

Thanks for the help!

Navigation

[0] Message Index

[#] Next page

Go to full version