Cross-agent relevance

(imported topic written by SystemAdmin)

I have several circumstances where there are multiple machines with agents that are dependent on one another. For example, an action on agent A needs to wait until a condition on agent B is true before it can proceed. Is there a way to specify the agent on which the relevance is validated against (such as ‘exists file “ABC.txt” on machine XYZ’)?

Also, is it possible to use a UNC path in relevance?

(imported comment written by JesseR91)

This should work. At least it works for me.

q:exists file “bleh.txt” of folder “\161.89.145.217\software”

A: True

T: 88.904 ms

I: singular boolean

Just substitute the filename and path.

(imported comment written by BenKus)

Note that for this to work, the share will need to be a null session share because the agent runs as the SYSTEM account on Windows (it will work in QnA if you are logged in as a user though).

http://support.bigfix.com/bes/misc/null_session_share.html

Ben

(imported comment written by jessewk)

This behavior is discussed a little in this thread: http://forum.bigfix.com/viewtopic.php?id=1032