Bright:visualization
Monitoring Visualization With cmgui
The tool, cmgui, is mainly used for viewing the measurements and states of the system including viewing graphs for metrics and health checks.
An alternative to cmgui is the command-line tool, cmsh. It is more powerful for scripting or for examning pre-decided metrics and health checks rather than a quick visual check over the system.
The Monitoring Window
The Monitoring menu is selected from the menu bar of cmgui and a clus- ter name is selected. The Monitoring window opens as shown below.
The resources in the cluster are shown on the left side of the window. Clicking on a resource opens or closes its subtree of metrics and health checks. The subsequent sections describe ways of viewing and changing re- source settings. After having carried out such modifications, saving and loading a settings state can be done from options in the File menu.
Figure 1 shows the different resources of the head node, with the CPU resource subtree opened up in turn to show its metrics and health checks. To display this metric, the selection is drag-and-drooped onto one of the 3 panes which has the text "drop sensor here".
The Graph Display Pane
Figure 2 shows the monitoring window after such a drag-and-drop.
The graph of the metric CPUUser is displayed over 20 minutes (10th Novem- ber 2010 08:04 to 08:24). On the y-axis the unit used by the metric is shown (0% to about 100%). This example is actually of data gathered when the basic example of 9.1 was run, and shows CPUUser rising as a number of yes processes are run, and falling when they end.
Features of graph display panes are (Figure 3) :
- The close widget erases all graphs on the drawing pane when it is clicked
- The (time, measurement) data values in the graph are displayed on the graph toolbar by hovering the mouse cursor over the graph.
- The graph view adjustment buttons are: play/pause, zoom-out/zoom-in, broadcast, settings
- A grid of graph display panes can be laid out by using the Grid menu option of the main Monitoring Pane. Among the menu options of the Grid menu.
- Multiple graphs are drawn in a single graph display pane by re- peating the drag and drop for different metrics. For example, adding the CPUIdle metric with a drag-and-drop to the CPUUser graph of figure 2 gives a result as seen in figure 5, where both graphs lie on the same axis in the top pane.
- Boxplots (sometimes called box-and-whisker plots) are used to draw graphs for samples carried out over the interval for a particular time on a resource item that has multiple devices in it. For example, in the resource item node001, CPUUser is sampled and plotted for a single node for set time intervals, and so it is displayed as a line plot. However, for the resource item "All nodes", CPUUser is sampled and plotted for all nodes for set time intervals, and so it is displayed as a boxplot (Figure 6). The dumpstatistics command in cmsh is somewhat similar in function to boxplots in cmgui.
Using The Grid Wizard
Within the Monitoring window, the Grid plot wizard sets up a grid for devices selected by the administrator, and allows metrics to be added automatically to each grid unit.
First, the devices need to be selected from the group of all devices and placed in a group of devices that are to have their metrics plotted (Fig 6).
The next screen of the wizard allows metrics to be drag-and-dropped from the available metrics into a group of metrics that are to be displayed for the devices in the previous screen (Fig 7).
The last screen of wizard allows several display options to be set for the selected devices and their metrics. Once the Finish button of the last screen is clicked, a graph display pane is shown with a grid of graphs (Fig 8).
.