Cool yes I forgot Monit can do that. Thanks for that.
Regards
Michael Knill
On 24/4/18, 5:16 pm, "Michael Keuter" <[email protected]> wrote:
> Am 24.04.2018 um 04:13 schrieb Michael Knill
<[email protected]>:
>
> 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 <[email protected]>
> Reply-To: AstLinux List <[email protected]>
> Date: Thursday, 5 October 2017 at 7:33 am
> To: AstLinux List <[email protected]>
> 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
<[email protected]>:
>
> 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 <[email protected]>
> Reply-To: AstLinux List <[email protected]>
> Date: Thursday, 5 October 2017 at 12:08 am
> To: AstLinux List <[email protected]>
> 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
<[email protected]>:
>
> Should this work with Astlinux?
>
> https://www.queuemetrics-live.com/install.jsp
>
> Regards
> Michael Knill
Michael
http://www.mksolutions.info
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].