opCharts has dashboards built into the heart of it's engine. Dashboards have the ability to display components, components can load data from many different sources and display it as a graph/table/pie/chart/etc. Right now only graphs are supported.
Customising the opCharts GUI contains some tips for GUI customisation.
Users, Roles, Privileges and Objects ( Portal mode / RBAC)
/usr/local/omk/conf/data_sources.json defines the data sources that the system will make available to the charts. Currently only SQL external data sources are supported. The default configuration in data_sources.json file ships with examples for MSSQL and MySQL servers. Here is an example a data source definition:
The name specified for your data source will be used in other configuration files to access the data from this data source.
Dashboards can be created and set as the default view after logging in.
- defined application wide (not stored per user)
- names are unique, cannot be changed after creation (because they are used to link into other places, like default dashboards
- care should to be taken to ensure that a dashboard that is visible to a customer does not contain graphs that the customer should not see
- the inclusion of components in a dashboard means any user who is allowed to see that dashboard can load those components
- if a dashboard is deleted which is also set to a users default dashboard the user will just see the regular index page because the one picked cannot be found.
More documentation on Dashboards can be found HERE: Dashboards
After making any configuration changes you must restart the omkd daemon:
Panel View Options
- KPI Based
- Resource Based
In order to toggle between these two options adjust the /usr/local/omk/opCommon.nmis file.
For KPI based panels use the following setting:
For Resource based panels use the following setting:
These two options are mutually exclusive, it must be one or the other. For an explanation of these two options see opCharts User Guide#Panelview
Remember to restart the omkd daemon after making configuration changes.
Node List Options
The node list displays nodes in two formats: panel and table (ie, list). The default view shown is defined in the the /usr/local/omk/opCommon.nmis file:
Table view options
Customising table views is described here: opCharts - Customising Table Columns
Node info options
Customising node info options is described here: opCharts - Customising Table Columns