if a relay log display lines that contain: “Unable to find site id for URL” then it means there are clients under that relay that belong to different deployment, or has an older version actionsite.
is it possible in an environment with 50+ relays (each represent an office) to know which relays has these kind of lines in log file?
having a way to know it or know what the mac or ip of the client would be great, but it would also be nice to get direction to what relays have clients underneath them that are acting this way.
if (exists relay service and not exist main gather service) then (if (exist file “c:\program files (x86)\bigfix enterprise\bes relay\logfile.txt_0”) then (if (exists lines whose (it contains “Unable to find site id for URL”) of file “c:\program files (x86)\bigfix enterprise\bes relay\logfile.txt_0”) then (“there’s a client with old masthead under this relay”) else (“all client of this relay have current masthead”)) else ("logfile.txt_0 Does Not Exist, Adjust value of _BESRelay_HTTPServer_LogFileSizeLimit to be below " & size of file “c:\program files (x86)\bigfix enterprise\bes relay\logfile.txt” as string)) else (“not a relay”)
because i did run to IO lock when reading the main file, hope it will work after i adjust relays for a smaller file size then i could try and read the previous log, it will not be the most up to date report, will update how that worked out eventually,
i really think this is something that should be logged by default (the ip or mac address of the client that asks this kind of site)
after that i went ahead and changed the sizelimit of the log files to cause the creation of logfile.txt_0 - 10,
and i changed the property to be:
if (exist file “c:\program files (x86)\bigfix enterprise\bes relay\logfile.txt”) then (if (exists relay service and not exist main gather service) then (if (exist file “c:\program files (x86)\bigfix enterprise\bes relay\logfile.txt_0”) then (if (exists lines whose (it contains “Unable to find site id for URL”) of file “c:\program files (x86)\bigfix enterprise\bes relay\logfile.txt_0”) then ((names of it) of files whose (name of it contains “.txt_” and content of it contains “Unable to find site id for URL”) of folder “c:\program files (x86)\bigfix enterprise\bes relay” as string) else (“all client of this relay have current masthead”)) else (“logfile.txt_0 Does Not Exist, Adjust value of BESRelay_HTTPServer_LogFileSizeLimit to be below " & size of file “c:\program files (x86)\bigfix enterprise\bes relay\logfile.txt” as string)) else (“not a relay”)) else (if (exists relay service and not exist main gather service) then (if (exist file “c:\program files\bigfix enterprise\bes relay\logfile.txt_0”) then (if (exists lines whose (it contains “Unable to find site id for URL”) of file “c:\program files\bigfix enterprise\bes relay\logfile.txt_0”) then ((names of it) of files whose (name of it contains ".txt” and content of it contains “Unable to find site id for URL”) of folder “c:\program files\bigfix enterprise\bes relay” as string) else (“all client of this relay have current masthead”)) else ("logfile.txt_0 Does Not Exist, Adjust value of _BESRelay_HTTPServer_LogFileSizeLimit to be below " & size of file “c:\program files\bigfix enterprise\bes relay\logfile.txt” as string)) else (“not a relay”))
which search 64/32bit locations for log files and search for text in all logfile.txt_* files, and i made a report that only when it’s relevance comes changes it will send me the report, the session relevance is:
((names whose (it does not contain “relay” and it does not contain “relay2”) of computers of it, values whose (it does not contain “all client of this relay have current masthead” and it does not contain “Does”) of it) of results of it) of bes properties whose (name of it as lowercase = “relay logfile results”)
so as soon as this line appears in a relay logfile, the event triggers and i get a report sent to me.
BUT, out of all 50+ relays only the main relay has these lines, so it’s got to be a client beneath it… but i will never know which one because that main relay is has no specific geographical location unlike other relays.
there has to be a better way to do it… there has to be a support from the products to see which client are not “provisioned”