(imported topic written by sinucus)
Is there a way to query the wwwrootbes folder location other than asking
“value “wwwrootfolder” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BigFix\Enterprise Server” of registry”?
(imported topic written by sinucus)
Is there a way to query the wwwrootbes folder location other than asking
“value “wwwrootfolder” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BigFix\Enterprise Server” of registry”?
(imported comment written by sinucus)
I just figured that “Tivoli” variables would have their own library. I also like cleaner/shorter code so having a long registry call just makes my code look ugly and more convoluted. Thanks.
(imported comment written by BenKus)
Nope… the authoritative place is that reg key… Sorry it looks ugly… You can make it slightly shorter:
value “wwwrootfolder” of key “HKLM\SOFTWARE\BigFix\Enterprise Server” of registry
Ben
(imported comment written by SystemAdmin)
How do you query the “wwwrootfolder” on a linux SuSE realy as there is no HKLM\Software…etc??
(imported comment written by NoahSalzman)
There is no wwwrootfolder on SuSE Linux since the BigFix Server only runs on Windows.
(imported comment written by Lee Wei)
And for the BigFix Client on SUSE, the binary is installed into /opt/BESClient/bin.
Settings that are stored in Windows Registry can be found in /var/opt/BESClient/besclient.cfg.
(imported comment written by SystemAdmin)
This is directly from the client settings window:
_BESRelay_HTTPServer_ServerRootPath /var/opt/BESRelay/wwwrootbes
The key question is how do I query this location to check for cached files? What is the full wwwrootbes path? Is it /var/opt/BESRelay/wwwrootbes/bfmirror/downloads/sha1??
I’m basically trying to mimic the query from the windows side to determine if a file is in the wwwrootbes on the relay. This is my criteria to determine if I need to pre-push out a file to the relay.
I’m basically trying to re-create this criteria on a SUSE Relay
((not exists file “b968bf82d2a9b3fe66283b24d189e9b7a275b67d” of it) of folder ((value “wwwRootFolder” of key “HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server” of registry as string) & “bfmirror\downloads\sha1”))
(imported comment written by SystemAdmin)
No worries, figured it out. The relevance is:
not exists file “/var/opt/BESRelay/wwwrootbes/bfmirror/downloads/sha1” whose (exists line whose (it contains “1FED458DB183E314308474517EC054378EDF0270”) of it)
(imported comment written by SystemAdmin)
OK, may have been hasty. The relevance works…somewhat. It always equals True!
Once I pushed out the file to this relay the relvance was still true.
At first I thought it was because of the case and added in an “as uppercase” (Hopefully it’s correct)
(not exists file “/var/opt/BESRelay/wwwrootbes/bfmirror/downloads/sha1” whose (exists line whose (it as uppercase contains “9777AF7A7B7256C2F926EB8A83761A6E455B2F05”) of it))
However it was still showing true. Tried running the QNA from the command line, copied the file name exactly from command line and plugged it in and relevance still came back as true even though the file is there!
I’m stuck, Any ideas?
(imported comment written by SystemAdmin)
is “/var/opt/BESRelay/wwwrootbes/bfmirror/downloads/sha1” a file or folder?
if it is a folder, it should be something like the following:
(not exists file whose (name of it as uppercase contains “9777AF7A7B7256C2F926EB8A83761A6E455B2F05”) of folder “/var/opt/BESRelay/wwwrootbes/bfmirror/downloads/sha1”)