Knowledge Base

Customizing Panel Layouts for Custom Graphs

Esta pagina no esta disponible en Español. Rogamos su comprension.

In order to keep a better overview of your monitoring results PRTG offers the concept of “Panels”. Each panel can show one or more “Graph(s)” or “Table(s)” with various predefined layout options. Panels are shown as “tabs” in the Custom Graphs view of the main window of PRTG Traffic Grapher. Panels are also used for grouping the monitoring data, to control the layout in the web interface, and (optionally) to control access of different users to your monitoring results.

However, should the predefined layout options not suffice for your needs, you can define custom panel layouts by editing the "layout.dat" file found in your program directory (generally C:\Program Files\PRTG Traffic Grapher).

When editing the layout.dat file, you need to keep 2 things in mind:

  • the first number defines what percentage of the horizontal graph is to be used.

As such, if you are defining a 2 column panel, you would define this with a 50, for example:

 

50:20,20,20,20,20|50:20,20,20,20,20

 

This basically states that the first value "50" is to be interpreted as 50%. As such, 2 columns are generated, each 50% of the width of the defined available space.

  • the numbers following the colon (":") define the percentage that each row is to use.

As such, in the example above, 20% of the provided space is being used for each of the rows, bringing the row numbers to a total of 5 - each 20% of the space.

So, if you are trying to generate a panel layout of 8 columns and 6 rows each, you would have to define this in the following manner:

  • 100% divided by 8 equals 12.5 (defines the columns)
  • 100% divided by 6 equals 16.6 (defines the rows)

In this instance, the actual definition of the panel would be:

 

8:16.6,16.6,16.6,16.6,16.6,16.6

 

However, this nomenclature leads to a problem: since PRTG only accepts integer values, it would be necessary to vary the values used for each column and each row, giving certain columns more or less width (such as 13 or 12) and certain rows more or less height (such as 16 or 17). A functioning 8 x 6 layout could look like this:

 

13:16,16,16,16,16,16|12:16,16,16,16,16,16|13:16,16,16,16,16,16|12:16,16,16,16,16,16|13:16,16,16,16,16,16|12:16,16,16,16,16,16|13:16,16,16,16,16,16|12:16,16,16,16,16,16

 

Please do keep in mind - the above example does not use 100% of the space provided, as we did not use values of "17" in order to adjust the used percentage to match 100% of the space. The missing values are accounted for automatically for the last column or row.

By Category

PRTG Traffic Grapher V6

Related Articles