AnsweredAssumed Answered

Upload logmon.cfg file to UIM robots

Question asked by AMartires on Sep 18, 2018
Latest reply on Sep 21, 2018 by AMartires

Hi,

I am trying to write a script that will create logmon.cfg files for specific robots based on ini files given by anoter monitoring software.

Basically it goes trough a folder of ini files, one per robot, and creates a logmon.cfg file. (I tested this cfg files by uploading manually and they seem to be working fine) 

The idea was to upload each file automatically after creation, and this is were I'm having trouble, finding a way to upload each file to it's specific host.


I thought about using PU and the Controller probe's file_put_* functions but I don't seem to be able to send the specified file. It only creates an empty file in the destination folder.

 

This is the command I'm gererating:

pu -u user -p pass /mydom/my_hub/robot_host_name/controller probes/system/logmon/ logmon.cfg ascii 777

How do I specify the source file?

Is there any better way of doing this?

Thanks!

Outcomes