We believe that the best way to get a hold of what QueueMetrics is and how useful it is for you is to try it with your own production system. That’s why we give a 30-day free evalutation key that you can use freely.
You can get it from: http://queuemetrics.com/sendDemoLicence.jsp
If you still are having problems installing or running QueueMetrics on TrixBox, we suggest you check out the following resources:
We summarize here the main differences we can find installing AsteriskNOW instead of TrixBox.
With a standard TrixBox install, the queue_log file is rotated daily or weekly along with the other Asterisk logs found in /var/log/asterisk. The queue_log file contains essential information on how the call-center is going that is being used by QueueMetrics to report on the well-being and the actual work being performed by your call-center, and you surely want to keep that data in a safe place for cross-period analysis.
The queue_log file is not automatically rotated daily or weekly by the standard AsteriskNOW distribution. You should skip this step.
Disabling log rotation is actually quite easy: go to /etc/logrotate.d and look for a file named asterisk. If you run TrixBox, you’ll find something like:
/var/log/asterisk/*log {
missingok
rotate 5
weekly
create 0640 asterisk asterisk
postrotate
/usr/sbin/asterisk -rx ’logger reload’ > /dev/null 2> /dev/null
endscript
}There may as well be other sections where other files are rotated. You just delete the section above and the queue_log file will not be rotated anymore.
If your queue_log has already been rotated, you’ll want to join the remaining pieces together. That’s very easy:
cat queue_log.5 >> queue_log cat queue_log.4 >> queue_log cat queue_log.3 >> queue_log cat queue_log.2 >> queue_log cat queue_log.1 >> queue_log cat queue_log.now >> queue_log
This should be it. Now your QueueMetrics will work just fine.
You can stop and restart the QueueMetrics application by issuing the commands
/etc/init.d/queuemetrics stop /etc/init.d/queuemetrics start /etc/init.d/queuemetrics restart
You can also stop and start Qloaderd using the same syntax:
/etc/init.d/qloaderd stop /etc/init.d/qloaderd start /etc/init.d/qloaderd restart
QueueMetrics is a complex application and it is made to be used by multiple parallel users. This means that if you have a large data set and many users running queries on it, it is possible that you start getting "Out of memory" errors.
To fine-tune the amount of memory used by your system, you can edit the file /etc/init.d/queuemetrics and modify the option:
JAVA_OPTS="-Xms128M -Xmx128M"
The Xms parameter is the amount of memory that Java uses on startup for its object heap; and the Xmx is its maximum allowed size. For best speed, keep both to the same value unless you have experience in tuning Java memory requirements.
If you do not have a SSH client available, you can install one in TrixBox itself by following this procedure:
A terminal window will open (it may take a while waiting for the Java client to load).