When you need to monitor web services, you can use EM beacons. A beacon is a target that allows the EM Agent to remotely monitor services. You can add beacons to any EM agent using “Add Non-Host Targets by Specifying Target Monitoring Properties” option in the Add Targets Manually page. After adding a beacon, you can configure it to fetch a web page and test the status of the service according to the result of the web transaction.
One of my blog reader said that they have a list of URLs and they need to know which beacon server is polling each URL by querying the URL. We need to query four views to get this information: mgmt_targets, mgmt_bcn_target, mgmt_bcn_step_defn, mgmt_bcn_step_props.
You can see the relation between these views in the diagram, and here’s the list of URLs monitored by all beacons:
SELECT t.HOST_NAME, t.TARGET_NAME, bsp.STRING_VALUE, bsp.NAME FROM MGMT_TARGETS t, MGMT_BCN_TARGET bt, MGMT_BCN_STEP_DEFN bsd, MGMT_BCN_STEP_PROPS bsp WHERE bt.BEACON_TARGET_GUID = t.TARGET_GUID AND bsp.STEP_GUID = bsd.STEP_GUID AND bsd.TARGET_GUID = bt.TARGET_GUID AND bsp.NAME = 'url';