Configuring traffic filtering rules on a Cloud Probe
To reduce the amount of data that the system must process by eliminating irrelevant traffic, use traffic inclusion/exclusion rules. The system evaluates each hit according to a combination of rules that you configure to decide whether the data is kept or discarded.
In the hosted environment, you can configure these rules in the Real User Collector component. If you are using Application Performance Management as a service, you can configure rules by modifying the rules.conf file on the Cloud Probe computer.
To configure traffic inclusion/exclusion rules
- Stop the Real User Cloud Probe service:
- Prevent the Cloud Probe agent from getting traffic inclusion/exclusion configuration from the Real User Collector:
- Open the probe_properties.conf file located on the Cloud Probe host in the installationDirectory/cloudprobe/conf folder. The default Windows installation directory is C:\Program Files\BMC Software\, and the default Linux installation directory is /opt/bmc/.
#Trafficsection, set the value of
SYSTEM.PROPERTIES.EPX.probe.conf-collector-policies-listener-intervalparameter to 0.
When you set the
SYSTEM.PROPERTIES.EPX.probe.conf-collector-policies-listener-intervalparameter to a non-zero value (for example, 30), the Cloud Probe will override the contents of the probe_properties.conf file with configuration from Real User Collector every 30 seconds.
Now, the Cloud Probe uses the traffic inclusion/exclusion rules from the rules.conf file disregarding the configuration defined in the Real User Collector.
- Start the Real User Cloud Probe service.
The Cloud Probe starts using traffic inclusion/exclusion rules configuration from the configuration file.
IPSWRULE CLEARALL HOSTSWRULE CLEARALL DUPTRAFFSWRULE CLEARALL IPSWRULE UPDT 1 1 10.5.3.6 255.255.255.255 -1 2 0 IPSWRULE DEFAULT 1 1 IPSWRULE UPDT 1 2 10.5.3.2 255.255.255.255 8020 2 0 IPSWRULE DEFAULT 2 1 HOSTSWRULE UPDT 1 www.bmc.com 10 2 0 HOSTSWRULE DEFAULT 1 IPSWRULE UPDT 99999 2 172.28.238.191 255.255.255.255 0 2 0
The rules configuration file must end with an empty line.
Host sweeping commands syntax for the Cloud Probe
IP sweeping commands syntax for the Cloud Probe
Configuring confidentiality policies on a Cloud Probe
Filtering traffic by using inclusion and exclusion policies