QueueMetrics forum

QueueMetrics => MySQL storage and Qloaderd/Uniloader => Topic started by: adolfo on July 26, 2007, 14:55:08

Title: What mean partition in qloader
Post by: adolfo on July 26, 2007, 14:55:08
hello

I'm implement queuemetrics with asterisk on debian lenny. By the moment, all seems to work fine.

I have a question.
I read in qloader manual the sintaxis ".qloader.pl /var/log/asterisk/queue_log  P001 /var/log/asterisk/qloader.log" to execute the script. OK , data in logs appears in database. But I'm not sure if really I'm doing the instructions correctly. P001 is about partition.
My question is:

What partition is?
What is the meaning of "partition"?
Witch value should be in the partition fileld?

Thanks in advance

Adolfo

Title: Re: What mean partition in qloader
Post by: rjch on July 27, 2007, 00:51:47
What partition is?
What is the meaning of "partition"?
Witch value should be in the partition fileld?

A partition is nothing more than an arbitrary identifier for the server that the queue logging data has come from.  There's no specific format for the partition - P001 is simply an example.

On my Asterisk installation, I have two partitions - PBX1 and PBX2, representing the machines known as pbxbelgrave1 and pbxbelgrave2.  If you are only running one server, you don't need to worry too much about the partition value - it's of little relevance to you.  However, if you are (or will be) running more than one server, put a little thought into the naming convention for partitions.
Title: Re: What mean partition in qloader
Post by: adolfo on July 27, 2007, 08:43:59
OK, I understand.

Thank you  for your help.
Title: Re: What mean partition in qloader
Post by: QueueMetrics on July 28, 2007, 17:00:55
Congratulations rjch - you put it down more clearly than I thought of  ;D