We are frequently deleting expired actions to get good performance. Our BES-server is running fine on vmware, but we seem to hit some performance thresholds quite a bit earlier than expected (compared to the figures mentioned in the BES Health Checks Analysis).
I would like to keep an audit trail even for deleted actions, without “undeleting”. By connecting to the BES-database I find most of the information we need for writing a simple webapp listing all the actions for å given computer. ( I don’t really care if they are visible in the console or not).
My problem is to find/figure out the mapping between ComputerID and the Computers hostname. Any ideas?
once the PropertyIDMap table exists, you can run a query like the below to provide a map of ComputerIDs to Computer hostnames:
select ComputerID, ResultsText as
’Computer Name’ from QUESTIONRESULTS QR where (QR.SiteID = (select SiteID from PROPERTYIDMAP where propertyname like
’Computer Name’)) AND (QR.AnalysisID = (select AnalysisID from PROPERTYIDMAP where propertyname like
’Computer Name’)) AND (QR.PropertyID = (select PropertyID from PROPERTYIDMAP where propertyname like
’Computer Name’))
Note that the above query will return all computers in the database (viewable in the BigFix Console or not).