Converse agora com nosso suporte
Chat com o suporte

Foglight 6.0.0 - Web Component Tutorial

Using the Web Component Tutorial Tutorial 1: Drag and Drop Tutorial 2: Creating a Dashboard Tutorial 3: Adding a Drilldown Page Tutorial 4: Adding Views Tutorial 5: Using a Grid Tutorial 6: Reports Tutorial 7: Creating a Form Tutorial 8: Renderers Tutorial 9: Adding Questions and Answers Tutorial 10: Sending Messages to Other Users

Additional activities

After completing this tutorial, consider performing the following activities:

Saving your work

Just as you may have done in Tutorial 2, you can save the work you have done so far in Tutorial 3.

This procedure assumes that your Foglight® installation is in the default location on a Windows® machine. Make the appropriate changes for other platforms. It also assumes that your user name is tutorial. Note that all objects in the module are saved.

In the directory where you placed fglcmd, issue the command:
fglcmd -usr tutorial -pwd <password> -cmd util:uiexport -m user:tutorial -f \C:\pub\Tutorial\Tutorial3.zip.

Adding a vertical scroll bar to the table

If there are more than six or so hosts listed in the table, the lower ones will be cut off and you will not be able to see them. One way of allowing for this possibility is to add a vertical scroll bar. It is one of the configurable properties you can choose when adding the table to the layout component.

1
Open the All Hosts view for editing.
2
Open the Layout tab.
3
On the Layout tab, click the Monitored Hosts area, and then click Properties.
4
In the Properties dialog box that appears, experiment with the Scrollbars settings, especially Auto and Vertical.

Interchanging columns in the Table of Hosts

1
Open the Monitored Hosts view for editing, and open the Configuration tab.
3
In the second Column row, click to move the column up in the list of columns.
1
Open the Monitored Hosts view for editing, and open the Configuration tab.
A new Column entry is added to the list. Its expanded view appears. In the Value column, click Edit.
5
In the Edit - Value dialog box that appears, click the Input Key box, and choose currentRow(Host) from the list that appears.
6
Click the Path box, and choose Alarm Total Count - Integer from the list that appears.
7
In the Edit - Value dialog box, click Save.
8
In the newly added Column row, click to move the column up so that the Alarm Total Count column appears between the Name and Aggregate State columns.

After adding a new column to the table while keeping your previous settings unchanged, and testing the result, you may notice that the table is too narrow to fit the name column in the space that has been allotted to it. In fact, since the column has been placed to the right of the host name, you may not even see it. This exposes a problem with a fixed-layout container. The table’s allotted size can be inappropriate if columns are added or if the text in a cell needs extra space.

You can widen the table by editing the All Hosts view.:

1
On the Layout tab, click inside the Monitored Hosts area, and then click Properties on the Layout tab toolbar.
2
In the Properties dialog box that appears, change the Width to 400.
3
Click Save in the Properties dialog box, and then click Save on the All Hosts view toolbar.
Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação