Author Topic: What mean partition in qloader  (Read 5102 times)

adolfo

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
    • Email
What mean partition in qloader
« 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


rjch

  • Newbie
  • *
  • Posts: 20
  • Karma: 2
    • View Profile
Re: What mean partition in qloader
« Reply #1 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.

adolfo

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
    • Email
Re: What mean partition in qloader
« Reply #2 on: July 27, 2007, 08:43:59 »
OK, I understand.

Thank you  for your help.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: What mean partition in qloader
« Reply #3 on: July 28, 2007, 17:00:55 »
Congratulations rjch - you put it down more clearly than I thought of  ;D