User tracking CLI usage question

Unanswered Question
Feb 7th, 2007

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
yjdabear Wed, 02/07/2007 - 12:18

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

Actions

This Discussion