[cisco-voip] Windows AXL Query Tool

Ben Amick bamick at HumanArc.com
Wed Mar 28 12:22:47 EDT 2018


Yeah it's windows smartscreen. It'll flag any app if it's not signed with a certificate.

Ben Amick
Unified Communications Analyst

From: cisco-voip <cisco-voip-bounces at puck.nether.net> On Behalf Of Pete Brown
Sent: Wednesday, March 28, 2018 12:14 PM
To: Anthony Holloway <avholloway+cisco-voip at gmail.com>; Lelio Fulgenzi <lelio at uoguelph.ca>
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Windows AXL Query Tool


Security Notice: This is an EXTERNAL email. Please exercise caution and DO NOT open attachments or click links from unknown or unexpected senders.

Yeah, for some reason Windows 10 keeps flagging my apps as viruses.  Have to figure that one out someday.



Thanks for the feedback; those are all great suggestions.  Will knock out the easiest ones first: listing columns under the tables in the tree, copy/paste in Excel and executing on keystroke.



________________________________
From: Anthony Holloway <avholloway+cisco-voip at gmail.com<mailto:avholloway+cisco-voip at gmail.com>>
Sent: Wednesday, March 28, 2018 10:56 AM
To: Lelio Fulgenzi
Cc: Brian Meade; Pete Brown; cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
Subject: Re: [cisco-voip] Windows AXL Query Tool

Ok, now that I've downloaded it, and installed your virus...err...app....it's actually really nice!  ;)

A few quick notes:

The copy paste of the data doesn't work too well in Excel.  Specifically, it adds a column to the left of the first column.

It would be nice to have a feature to let me find data in the tables like CUDLI does.  E.g., I need to find a table and column where this specific phone number is used.

It would be nice to have a feature to let me see the columns for a table, which I see that you're doing by automatically returning the first 10 rows, but a vertical list like the tables would be better for me.

It would be nice to be able to query CAR as well, but I know that' not apart of the same AXL API, rather its CDROnDemand, no?

It would be nice to be able to run multiple commands at once with a line delimiter.

It would be nice to be able to hit a keystroke to execute the command.

On Wed, Mar 28, 2018 at 10:46 AM Anthony Holloway <avholloway+cisco-voip at gmail.com<mailto:avholloway%2Bcisco-voip at gmail.com>> wrote:
No not really.

The work flow is like this:

1. Download the ZIP file from CUCM plugins page and extract to your PC.  It's simply called Cisco AXL Toolkit, but the file is axlsqltoolkit.zip
2. Open a command prompt to the working folder you extracted the files to, such that you're in the same folder as the README.txt
3. Open the README.txt and make a copy of the command example for your platform: windows or linux, and for me it's windows, so line 22 I will copy to the line below the example (CTRL+d in Notepad++)
4. Correct the username and password, host for your environment
5. Add the input/output file switches: -input=test.xml -output=test.txt (we'll create the test.xml in the next step, and it will create the test.txt file for you)
6. Make a copy of the sample.xml file and we'll name it test.xml for this exercise
7. Edit the test.xml so it only contains 1 query; we'll use this one for testing: <sql query="select name from processnode"/>
8. Copy your command line from the README.txt and paste it into your command prompt
9. Watch the activity scroll up the screen, and check your test.txt file for the output

Be prepared: it's SOAP and it's ugly.  So, don't be expecting CSV style data formatting here.  I typically only use this tool when I need to run UPDATE commands, like lots of them, to make changes to the DB, which is few and far between.

More commonly, I'm using UPDATE commands right on the CLI....with careful WHERE clauses....or even more commonly, I'm just looking at data with SELECT commands.

YMMV

On Wed, Mar 28, 2018 at 9:22 AM Lelio Fulgenzi <lelio at uoguelph.ca<mailto:lelio at uoguelph.ca>> wrote:

Is it "wizardish" in any way? Like CUDDLI?



---

Lelio Fulgenzi, B.A. | Senior Analyst

Computing and Communications Services | University of Guelph

Room 037 Animal Science & Nutrition Bldg | 50 Stone Rd E | Guelph, ON | N1G 2W1<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmaps.google.com%2F%3Fq%3D50%2BStone%2BRd%2BE%2B%257C%2BGuelph%2C%2BON%2B%257C%2BN1G%2B2W1%26entry%3Dgmail%26source%3Dg&data=02%7C01%7C%7C8de499903f864681d3e208d594c4737b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636578493819200177&sdata=4FzepRmFa4VVXPbW3nB2h0oaEfhGY1FILIwUSroH0b4%3D&reserved=0>

519-824-4120 Ext. 56354<tel:(519)%20824-4120> | lelio at uoguelph.ca<mailto:lelio at uoguelph.ca>



www.uoguelph.ca/ccs<https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.uoguelph.ca%2Fccs&data=02%7C01%7C%7C8de499903f864681d3e208d594c4737b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636578493819200177&sdata=ZkjsfAUXWCpgBFURK94yccanpo1L6JXMecdJ%2FdzCBDw%3D&reserved=0> | @UofGCCS on Instagram, Twitter and Facebook


[image001.png]



From: Anthony Holloway [mailto:avholloway+cisco-voip at gmail.com<mailto:avholloway%2Bcisco-voip at gmail.com>]
Sent: Wednesday, March 28, 2018 10:19 AM
To: Brian Meade <bmeade90 at vt.edu<mailto:bmeade90 at vt.edu>>
Cc: Lelio Fulgenzi <lelio at uoguelph.ca<mailto:lelio at uoguelph.ca>>; Pete Brown <jpb at chykn.com<mailto:jpb at chykn.com>>; cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>

Subject: Re: [cisco-voip] Windows AXL Query Tool



Yeah, it's really just for batch SQL commands, otherwise, just SSHing to the Publisher is easiest.



On Wed, Mar 28, 2018 at 9:16 AM Brian Meade <bmeade90 at vt.edu<mailto:bmeade90 at vt.edu>> wrote:

Check under Application->Plugins



On Wed, Mar 28, 2018 at 10:03 AM, Lelio Fulgenzi <lelio at uoguelph.ca<mailto:lelio at uoguelph.ca>> wrote:

Wait. What? There's an AXL SQL tool kit?



---

Lelio Fulgenzi, B.A. | Senior Analyst

Computing and Communications Services | University of Guelph

Room 037 Animal Science & Nutrition Bldg | 50 Stone Rd E | Guelph, ON | N1G 2W1<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmaps.google.com%2F%3Fq%3D50%2BStone%2BRd%2BE%2B%257C%2BGuelph%2C%2BON%2B%257C%2BN1G%2B2W1%26entry%3Dgmail%26source%3Dg&data=02%7C01%7C%7C8de499903f864681d3e208d594c4737b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636578493819200177&sdata=4FzepRmFa4VVXPbW3nB2h0oaEfhGY1FILIwUSroH0b4%3D&reserved=0>

519-824-4120 Ext. 56354<tel:(519)%20824-4120> | lelio at uoguelph.ca<mailto:lelio at uoguelph.ca>



www.uoguelph.ca/ccs<https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.uoguelph.ca%2Fccs&data=02%7C01%7C%7C8de499903f864681d3e208d594c4737b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636578493819200177&sdata=ZkjsfAUXWCpgBFURK94yccanpo1L6JXMecdJ%2FdzCBDw%3D&reserved=0> | @UofGCCS on Instagram, Twitter and Facebook





From: cisco-voip [mailto:cisco-voip-bounces at puck.nether.net<mailto:cisco-voip-bounces at puck.nether.net>] On Behalf Of Anthony Holloway
Sent: Tuesday, March 27, 2018 9:58 PM
To: Pete Brown <jpb at chykn.com<mailto:jpb at chykn.com>>
Cc: cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
Subject: Re: [cisco-voip] Windows AXL Query Tool



So it only does AXL SQL Queries right now?  How's this different from the AXL SQL Toolkit that's right in CUCM?



On Tue, Mar 27, 2018 at 4:39 PM Pete Brown <jpb at chykn.com<mailto:jpb at chykn.com>> wrote:

For anyone who is interested, I wrote a quick and dirty Windows app for ad-hoc AXL queries.  I couldn't find anything readily available that didn't involve scripting.  It only supports SELECT statements at the moment.



It's been tested with 10.5 so far and probably has bugs which will trigger the next apocalypse.  Use at your own risk.



Usage Notes:



Adding a Profile - Right click under "Hosts" and Add Server.  Validate then Submit and it will automatically save a config file in the working directory.



Listing Tables - When you select a host, it will automatically grab a list of tables.



Queries - Type in the query and execute.  It will either display results or an error code on the bottom.





https://www.adhdtech.com/CUCM%20AXL%20Query.exe<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.adhdtech.com%2FCUCM%2520AXL%2520Query.exe&data=02%7C01%7C%7C8de499903f864681d3e208d594c4737b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636578493819200177&sdata=13vNs%2BbaiJ4qqfQkPeheMY8M51URJO85uq84isHdYJg%3D&reserved=0>



_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpuck.nether.net%2Fmailman%2Flistinfo%2Fcisco-voip&data=02%7C01%7C%7C8de499903f864681d3e208d594c4737b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636578493819200177&sdata=T7n0XbJVApTIUjPNZahyQVo9s5iz84GcHQZryt5bt6I%3D&reserved=0>

_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpuck.nether.net%2Fmailman%2Flistinfo%2Fcisco-voip&data=02%7C01%7C%7C8de499903f864681d3e208d594c4737b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636578493819200177&sdata=T7n0XbJVApTIUjPNZahyQVo9s5iz84GcHQZryt5bt6I%3D&reserved=0>

Disclaimer: The information contained in this transmission and any attachments may contain privileged and confidential information including patient information protected by federal and state privacy laws. This transmission is sent for the sole use of the intended recipient. If you are not the intended recipient, please immediately (1) notify the sender via reply email; (2) do not open or read the message or any attachments; and (3) delete this message and any attachments. The review, dissemination, distribution, or duplication of this transmission by anyone other than the intended recipient is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20180328/9071e6a9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1297 bytes
Desc: image001.png
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20180328/9071e6a9/attachment.png>


More information about the cisco-voip mailing list