cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1055
Views
0
Helpful
4
Replies

CiscoWorks Usertracking

maraz
Level 4
Level 4

Hello,

I have a question about the ut command. The command:

ut -cli -query all -export d:\TEST.txt -u USER -p PASSWORD

works fine and produces a file with all the endhosts. But I would like to give the "query" "option" a "name" like this:

ut -cli -query CUSTOMERA -export d:\TEST.txt -u USER -p PASSWORD

This does not work. I have under the GUI already created a custom report named "CUSTOMERA".

What I am trying to do is to:

1) Generate a report, filtering out and matching certain VLAN-names

2) Exporting that file to a textfile

3) Mailing that textfile to a customer.

Somebody tried this one?

Best Regards

Robert

1 Accepted Solution

Accepted Solutions

wasthe query created with the same user you use for ut -cli?
when you run the command with your named query what output do you get, can you post a screenshot

View solution in original post

4 Replies 4

Martin Ermel
VIP Alumni
VIP Alumni

what is your LMS version - and - if it is not LMS 4.x - what is your campus manager version ?

alternatively you could try to get the data as a xml output with the cmexport utility:

http://www.cisco.com/en/US/partner/docs/net_mgmt/ciscoworks_campus_manager/5.2/user/guide_pb/dee.html#wp1068572

Hello,

We have version 3.2. I have also looked at the cmexport command and that is not working but I did not test it as much as the ut command.

Best Regards

Robert Maras

wasthe query created with the same user you use for ut -cli?
when you run the command with your named query what output do you get, can you post a screenshot

Hello, Mermel!

I think you nailed it. The layout and query was created with another account. I thought that was global. Thanks for your help.

It is now working.

Best regards

Robert Maras