Automation on importing .inv files from off site computers
Posted 08 June 2015 - 11:59 PM
Posted 09 June 2015 - 01:00 AM
Thanks for your message.
Unfortunately, there is no preinstallable agent that would automatically report to the central server. However, you can set the standalone agent to scan a computer weekly using Windows Tasks, and to save the scan results to a Dropbox folder (or any other folder that allows the files saved in it to be available to you). More information on the scan agent here:
We are planning to add a preintallable agent with such possibilities in the future versions.
If these computers log on to a domain, you can scan them using the domain logon script scan:
In addition, you can use the automatic import feature to let TNI automatically pull asset files from a certain folder on program startup or on timer:
Please let us know if you have any questions.
Posted 09 June 2015 - 01:37 AM
Can you provide a link that can guide me to do this?
* standalone agent to scan a computer weekly using Windows Tasks, and to save the scan results to a Dropbox folder
Posted 09 June 2015 - 06:21 AM
You can find some useful information on how to schedule a task with Windows Task Scheduler here:
And here you can find information on what commandline parameters you can use for tniwinagent.exe:
Posted 17 June 2015 - 01:23 AM
Thanks for the previous help. I was able to setup the tniwinagent using Windows Task Scheduler.
Now, I'm trying to do the same with tnimacagent. I'm hoping this is easier with the use of Automator. But I had difficulties because when I click on the agent it would open using Terminal and it would ask a y/n question. Automator would stop running at that.
Is there a possibility to remove that? I want to run it then it would not ask for anything just generate the .inv file.
Thanks in advance.
Posted 17 June 2015 - 03:47 AM
You can use the “-silent” command-line switch to avoid the scan confirmation question.
Posted 17 June 2015 - 05:33 PM
I'm not familiar with that, can you cite an example how?
And this is for mac right?
Posted 18 June 2015 - 04:26 AM
Yes, you asked about Mac agent and we replied about it.
If you run it from the console, generally you would need to type:
chmod 755 tnimacagent ./tnimacagent -silent
First command assigns an executable mask to the file. Second command runs the scan itself omitting the confirmation.
Posted 18 June 2015 - 07:48 PM
Can you help out.
Basically what I want is to run the agent (double click it) then the .inv file will be generated. No need to type in anything on the console.
This is how my agent on windows works. I want it to be the same with mac.
Is that possible?
Posted 19 June 2015 - 12:15 AM
It is only possible to avoid the scan confirmation question by running the agent in a way that sends the "-silent" command-line switch to the agent.
You can find information on how to run a console command in Automator here:
You will need to specify a path to the agent file. Therefore the command should look like:
In any way, you need to run the command "chmod 755 tnimacagent" once on the file that you've copied from a Windows PC to set the executable access permissions for the agent.
Hope this helps.
Posted 23 June 2015 - 07:25 PM
Still no luck, the -silent command has to be done everytime the agent scans. I want to automate the whole process using Automator or Applescript.
From running the agent, answering confirmation question, attaching the .inv file then mail it.
I've done 'watch me do' but when it's time to run the workflow it would stop at keyboard inputs then error can't execute.
If you know how to do this, it would really help a lot. Thanks.
Posted 25 June 2015 - 01:40 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users