QueueMetrics > MySQL storage and Qloaderd/Uniloader
Upgraded Trixbox and Lost Qloaderd?
savoy6:
Hello. I upgraded to a different version of Trixbox and Asterisk which fixed one problem but now my Queue data is not saved over night. I can see it realtime but the next day, there is nothing saved. I am completely new to Queuemetric but have done some reading on it. I notice that Qloaderd plays a role in the operation of Queuemetrics but cannot even find any instance of it in my Trixbox. Without reading thousands of pages of info on the topic, can someone point me in the right direction on this?
QueueMetrics:
Qloaderd is advised but optional - likely your QM is reading straight from the queue_log file, and that is rotated. See here: http://astrecipes.net/index.php?n=205
savoy6:
I found the file suggested.
/var/log/asterisk/messages /var/log/asterisk/*log /var/log/asterisk/debug /var/log/asterisk/console /var/log/asterisk/full {
create 0640 asterisk asterisk
daily
extension .txt
mail root@localhost
missingok
nocompress
# notifempty
rotate 32
sharedscripts
# size 10M
postrotate
/usr/sbin/asterisk -rx 'logger reload' >/dev/null 2>/dev/null || true
endscript
}
/var/log/asterisk/cdr-csv/*csv /var/log/asterisk/cdr-custom/*csv {
create 0640 asterisk asterisk
monthly
extension .txt
mail root@localhost
missingok
nocompress
# notifempty
rotate 2
sharedscripts
# size 10M
postrotate
/usr/sbin/asterisk -rx 'logger reload' >/dev/null 2>/dev/null || true
endscript
}
Should I just delete the part highlighted in red above? Thank you so much for helping out. I really appreciate it.
QueueMetrics:
Yes - consider that it will not rotate any of the _log files. You may add more rules manually if you need to.
savoy6:
That fixed the historical reporting issue but now the realtime data does not show up. I cannot see current activity now. Please advise. Thank you.
As an edit: If I am logged into admin mode, I can see the "live" data from the live tab. In supervisor mode I cannot see realtime data. All historical data is there...just realtime says all 0's. Thanks you again...
Navigation
[0] Message Index
[#] Next page
Go to full version