Troubleshooting monitor or device association to groups
Issue
In the TrueSight console, on the Infrastructure Policies screen, after an infrastructure policy is created in the Server tab with the Add Associated Devices to Group checkbox selected, the Groups page loads very slowly and groups are not being updated with added devices on the Configuration > Groups page. However, new devices are correctly displayed on the Configuration > Managed Devices page in the TrueSight console. When the created policy is applied on TrueSight Infrastructure Management, groups associated with the devices are displayed, however the associated devices are not displayed and a dialog box with the following error message is displayed:
failure
Specific debugging for reproducing the issue
- On the TrueSight Presentation Server, enable debugging by running the following commands:
tssh logger debug on -n CMA
tssh logger debug on -n com.bmc.sas.ngp.service.message.impl
- On the TrueSight Infrastructure Management Server, enable debugging by running the following command:
pw debug on -p jserver
- In the TrueSight console, go to Configuration > Infrastructure Policies and attempt to add a Device to a Group in the Server tab by creating or modifying the infrastructure policy.
- On TrueSight Infrastructure Management, verify if the device was added to the group and the device status is displayed as OK.
- In the TrueSight console, verify that the device is not added to the group.
For further debugging, you can analyze the following log file locations :
TrueSight Presentation Server logs:
<install dir>\truesightpserver\logs
TrueSight Infrastructure Management logs:
<install dir>\pw\pronto\logs
In addition to analyzing the preceding log files, run the following command on the TrueSight Infrastructure Management server and check the output:runsqli "select count(*) from groupmos where motypeid!=1 and MOINSTID not in (select itemid from item_cfg)"
Other common issues related to Groups
No | Symptom | Solution | Additional troubleshooting steps or information |
1 | Devices not showing up in groups in the TrueSight console | Ensure that the TrueSight Presentation Server has adequate RAM and the conf files have been tuned correctly. If the TrueSight Presentation Server is on a VM, ensure that resources have been reserved. | If the symptom persists, see Debugging steps. |
2 | In the TrueSight console, the hierarchy of Groups gets distorted | Open a command prompt window and go to the <InstalledDirectory>\TrueSightPServer\truesightpserver\bin directory.
| NA |
3 | In the TrueSight Presentation Server, there is no limitation to add number of devices in a static group, however not all devices will be listed in the Group name view at Monitoring > Groups | To get the output of group information from the TrueSight Presentation Server PostgreSQL database, do the following steps:
The Devices list page is a common component used in groups, applications, and services in the TrueSight console. Devices under group details list 200 devices (default) and this value can be changed to 100, 200, or 300 per page in user preferences setting in the device list page. There is no option to modify the values. | An idea is raised to enhance the feature at https://communities.bmc.com/ideas/13792 |
4 | All devices are not listed under the rule-based created group. When we preview the matching hosts, we get a long list of devices, however when we look at the group there are no devices listed. Devices seem to get listed correctly while creating normal groups and not for rule-based groups. In the TrueSight Infrastructure Management server, rule- based groups are working correctly. The AppContextGroup.log file displays the following error stack trace:
| Apply all latest Fix Pack and hotfixes. | If the issue still persists, do the following steps for further root cause analysis: Step 1: On the TrueSight Presentation Server, open the command prompt and go to “%TRUESIGHTPSERVER_HOME%\truesightpserver\modules\pgsql\bin\" directory. Step 2: Run the following command on the command prompt window: Note: Step 3: From the TrueSight Presentation Server, run the following commands:
Step 5: Copy GroupRelations.jsp to the %TRUESIGHTPSERVER_HOME%\truesightpserver\modules\tomcat\webapps\ROOT directory. Step 6: Open the following URL from the browser and share the output: https://<TSPS_SERVER_HOSTNAME>/GroupRelations.jsp |
5 | Some groups are showing up from the Active Directory (AD) , others that are in the exact same LDAP container with the exact same setup are not showing up. | NA | Do the following steps to troubleshoot further:
|
Comments
Log in or register to comment.