cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
877
Views
0
Helpful
1
Replies

User tracking CLI usage question

yjdabear
VIP Alumni
VIP Alumni

Is it possible to export the User Tracking db contents based on certain criteria, similar to what the UT GUI offers? Specifically, I'm wondering what possibilities there are with the <name> option in "-query {all | dupMAC | dupIP | hub | <name>}". Can I query by one or more attributes such as MACAddress and PortSpeed? This is LMS 2.2. Is the UT CLI any better in LMS 2.5?

./ut -h

Usage 1: ut [options] userid [password]

-debug

-host <ANI Server hostname or IP Address>

-port <ANI Server web port number>

-prompt

-help

Usage 2: ut -cli [options] userid [password]

[options] can be a combination of the following:

-ping {enable | disable}

-discover

-query {all | dupMAC | dupIP | hub | <name>}

-layout layout_name

-queryPhone {all | <name>}

-layoutPhone layout_name

-import filename

-export filename

-stat

-debug

-host <ANI Server hostname or IP Address>

-port <ANI Server web port number>

-prompt

-help

As an experiment, I saved a specific set of search criteria in Advanced Query through the UT GUI, but the UT CLI seems unaware of this set:

./ut -cli -query MyQueryName -export ut-exported.txt admin password

MyQueryName: No such query is predefined.

1 Reply 1

yjdabear
VIP Alumni
VIP Alumni

Looks like it's just a matter of time. I can pull the info using my custom-defined query with UT CLI now.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: