QueueMetrics > MySQL storage and Qloaderd/Uniloader
Qmetrics don't load data from SQL???
QueueMetrics:
Yes, this might be a good reason why 8)
Nice to know the issue is solved.
adolfo:
one more issue.
after rotate queue_log asterisk log file, is necessary to make a 'logger reload' in the asterisk console and restart qloaderd.
If I dont do this, I experiment the same situation I expose in the beginning of post, Qloaderd no load new entries in database.
QueueMetrics:
Yes this is correct. My suggestion is to add the logger rotate and qloaderd restart to the logrotate file, something like:
--- Code: ---/var/log/asterisk/*log {
missingok
rotate 5
weekly
create 0640 asterisk asterisk
postrotate
/usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
/etc/init.d/qloaderd restart > /dev/null 2> /dev/null
endscript
}
--- End code ---
in your /etc/logrotate.d/asterisk.logrotate file.
Navigation
[0] Message Index
[*] Previous page
Go to full version