[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Permission Denied when get info about jobs via SOAP API



You can look at the RemoteHost attribute on the job. To get the IP, you may have to cross reference with the machine ad in the Collector.

e.g.: via the CLI, condor_q == getJobAds on Schedd and condor_status == queryStartdAds on Collector

 $ condor_q -l 1 | grep RemoteHost
 slot16@xxxxxxxxxxxxxxxxxxxxxxxxx
$ condor_status -const 'Name=?="slot16@xxxxxxxxxxxxxxxxxxxxxxxxx"' -l | grep PublicNetworkIpAddr
 123.234.213.777



Best,


matt

Nguyen Chi Hiep wrote:
Dear
I have used SOAP API to get the information about the jobs in the pool. Now
I want to get the IP of machine running this job.
Please give me some suggestions?
Thanks in advance.



------------------------------------------------------------------------

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/