From: Michael K. <li...@mk...> - 2018-04-24 07:16:26
|
> Am 24.04.2018 um 04:13 schrieb Michael Knill <mic...@ip...>: > > Hi All > > I am now currently testing QueueMetrics V17 with the uniloader application and it does appear to be working. > More testing is required but I was just wondering where I should be putting this file, how to start it on bootup and how to restart it if it crashes. > > The command to load is recommended as (and I used): > nohup nice ./uniloader -s /var/log/asterisk/queue_log upload --uri "mysql:tcp([qmserver ip address]:3306)/queuemetrics?allowOldPasswords=1" --login [loginname] --pass [password]e --token P001 >> /var/log/uniloader.log & > > Thanks. I will let you know how I go. I would put the above command into its own script (e.g. in /mnt/kd/bin/) and then start it from "/mnt/kd/rc.local", which runs at the end of the boot process. Maybe you can track it then from Monit. If you need to do something on reboot/shutdown, you could use "/mnt/kd/rc.local.stop" as well. > Regards > Michael Knill > From: Michael Keuter <li...@mk...> > Reply-To: AstLinux List <ast...@li...> > Date: Thursday, 5 October 2017 at 7:33 am > To: AstLinux List <ast...@li...> > Subject: Re: [Astlinux-users] QueueMetrics Live > > And, have you tried to run the uniloader binary from /mnt/kd/ and adjust the rc.local part? > > Sent from a mobile device. > > Michael Keuter > > Am 04.10.2017 um 20:44 schrieb Michael Knill <mic...@ip...>: > > Thanks Michael > > Unfortunately QueueMetrics Live, which is their hosted service does not support this script. Only the new uniloader binary described here. > > Regards > Michael Knill > > From: Michael Keuter <li...@mk...> > Reply-To: AstLinux List <ast...@li...> > Date: Thursday, 5 October 2017 at 12:08 am > To: AstLinux List <ast...@li...> > Subject: Re: [Astlinux-users] QueueMetrics Live > > Michael, > > you would need an external server/VM with a MySQL server to install Queuemetrics on. > > Years ago I had a conversation with Lenz about AstLinux and Queuemetrics. > At least on older versions a "qloaderd" Perl script was needed on the AstLinux side to periodically update the SQL database with the data from Asterisk (queue_log and CDR). Maybe additional Perl modules might be needed in AstLinux. > > http://manuals.loway.ch/QLoader-chunked/ar01s01.html > > Sent from a mobile device. > > Michael Keuter > > Am 04.10.2017 um 13:17 schrieb Michael Knill <mic...@ip...>: > > Should this work with Astlinux? > > https://www.queuemetrics-live.com/install.jsp > > Regards > Michael Knill Michael http://www.mksolutions.info |