Troubleshooting


This topic provides troubleshooting information about PATROL for Amazon EC2.

Enabling debugging for the KM

Use these steps when you want to set the debug mode for troubleshooting problems in the KM, usually upon request from BMC Support. This information can be useful for troubleshooting problems with your installation or configuration.

  1. Go to Configuration > Monitor or Infrastructure Policy.
  2. Create a new policy or open an existing one.
  3. Select the Enable Debug check box.
  4. Save the policy.

Getting the device name and instance SID

Use the following SQL query to fetch the device name and instance SID list:

SELECT I.MOTYPEID, A.UNIQUENAME, P.VALUE, A.STORETYPE, d.USERNAME, A.DISPTYPE from ITEM_CFG I, PARAM_CNTL P, ATTRIBUTE_META A , device_cntl d WHERE I.ITEMID = P.ITEMID AND P.ATTRID = A.ATTRID AND I.ITEMID = 35185 AND i.hostid = d.hostid

This information is used to read and parse the incoming AIS messages from the KM or PATROL Agent and take necessary actions on those messages. For example, you need this information to decide if device registration is required or not for the AIS messages. Click here to see the list of device types with device numbers.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*