How to get country and Site type using IBM Bigfix

Hi All,

Is there any way to find out country and site type details for all the endpoint in IBM Bigfix?

Sample report

So, you can get the country a little bit based off of the IP address of the machine if you run it through an IP address geolocation finder thing: https://www.iplocation.net/

I’m not sure what you mean by type of site. Like is that specific to your type of deployment? I don’t think there’s anything inherent about an endpoint being in an ā€˜enterprise’ or ā€˜not enterprise’ site that bigfix provides out of the box, but it sounds like it’s something that could be a custom property that you could add to figure it out.

1 Like

Is there some sort of criteria that you have to determine which machines of yours are Enterprise or Non-Enterprise? What does this mean for your endpoints in your organization?

Sure, using an Analysis

Property "Country Agreement": 
value "Country_Agreement" of key "HKLM\Software\Custom" of native registry

Property "Type of site": 
value "Type_Of_Site" of key "HKLM\Software\Custom" of native registry

Now, just enter data into the Country_Agreement and Type_Of_Site registry keys on each machine and BigFix will track & report that for you. You could also use an Action to enter that data into the registry.

…and I hope you see why we won’t be able to give a good answer for your question. Determining what values you want in those fields has to come from somewhere that the client can query.

1 Like

I think if you are going to manually set something like that on clients, then Client Settings would be a better option since it will work for all Operating Systems the same way.

Use a client settings named something like:

Custom_Country_Agreement
Custom_Type_Of_Site

Generally I wouldn’t recommend setting too many client settings, but in this case, that is what I would recommend.

I looked at this 2 weeks ago for getting geo location , but those systems would have to have access to the internet. For this one you could use curl. The problem would come from the type of site property, like @jgstew and @JasonWalker mentioneded above.

Example:
curl.exe ipinfo.io/23.66.166.151

If you have a well-defined mapping between IP Subnets and Sites/Locations, you can use the ā€œLocation Property Wizardā€ in the BES Support site to create a custom client setting based on Subnets / IP ranges.

2 Likes