Troubleshooting opCharts
TopN
Use the following utility to troubleshoot why charts are being populated into TopN
/usr/local/omk/bin/nmis_topn_export.exe debug=true timing=1 force=1 > topnDebug.txt
RBAC (Role Based Access Control)
General scheme.
- Create role.
- Create user and assign a role.
- Create an object and assign a privilege tag.
- Assign the privilege tag to a role.
Based on this the following script was created to pull all the role, user, object and privilege data out of a customer system.
Why poller node graphs are not displayed
This usually is due to we have not set omkd_url_base OR (opcharts_url_base and opcharts_hostname) in the poller. This is how it works:
- opCharts generates a registry file on application startup (When needed). For this registry, it uses one of this urls.
- When this registry is generated, it creates a file for each application in var/registry/opcore/registry
- When opHA synchronises data from the poller, it also updates the registry information for each application.
- opCharts in the Primary will use the opCharts registry from the poller to generate the remote url for the graphs.
If the keys opcharts_url_base and opcharts_hostname are not defined, it was also causing issues (Lab test)