When updated subscription of External site via REST API, the "External Subscription Constraints" do not work

When updated subscription of External site via REST API, the "External Subscription Constraints" do not work.

For example, site "Patches for SLE10" is constrained for SUSE Linux, but the all computers are subscribed.
See image below.

We know that this issue can solved by updating subscription setting with BES Console.
But we maintain many bigfix servers and each server have many external site. So we want to control subscription setting without console operation.

Is this a known issue?

Our Environment
BigFix server : 9.1.1257.0
OS : Windows Server 2008 R2
DB : SQL Server 2008 R2

Sample Code
**Request file
<?xml version="1.0" encoding="UTF-8"?>
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation="BES.xsd">
<ExternalSite>
<Name>Patches for SLE10</Name>
<Description></Description>
<GlobalReadPermission>false</GlobalReadPermission>
<Subscription>
<Mode>All</Mode>
</Subscription>
</ExternalSite>
</BES>

**API(use iem.exe)
>iem.exe put "<Request File>" "site/external/Patches for SLE10"

In changelist 9.2, I found a sentence which seems to be associated with this matter.

https://support.bigfix.com/bes/changes/fullchangelist-92.txt

  • External and custom site subscribe does not maintain Site Relevance (issue:66701)

Does anyone konw this issue has been solved?

1 Like

The fact that it is in the changelist would imply that that release has addressed at least some issues with how site relevance was constructed.

For many reasons other than this one I’d suggest an update to a newer version of 9.2 or 9.5

Thanks a lot.
We’ll plannning to upgrade to V9.2.

I’ve never found the External Subscription Constraints to work, at least since 9.0, and I had always thought I simply misunderstood their function. I’ve used it as a “guideline” for how I should write my own Computer Subscriptions relevance.

I notice now that my “BES Asset Discovery” and “BES Inventory and License” sites are set with “Computer Subscriptions” set to “All Computers”, and all of my computers are subscribed - even those that don’t match the “External Subscription Constraints” relevance.

If a client evaluates to “false” for the “External Subscription Constraints”, should it subscribe the site or should it not?

For example I’m seeing all of my VMWare Proxy agents subscribed though both sites include if exists property "in proxy agent context" then not in proxy agent context else true

, and AIX clients subscribed to “BES Asset Discovery” which has External Subscription constraints (if (name of operating system starts with "Win") then platform id of operating system != 3 else (name of operating system as lowercase contains "linux")) AND (if exists property "in proxy agent context" then (not in proxy agent context) else true) AND (if exists property "android" of type "operating system" then (not android of operating system) else true)

…this is still occurring with the BES Server at 9.5.1. The VMWare Proxy Agents are at 9.2.1.48 and 9.5.0.311, and the AIX client is at 9.2.1.48.

2 Likes