Skip to content

Web Interface Configuration

The following parameters control the behavior of the PerformanceGuard web interface. They can be set either in the config_params database table or in the file performanceguard.xml (the default location of the file is \[PerformanceGuard installation folder\]\display\conf)

This parameter controls the PerformanceGuard Web Server service.

Port
Set inperformanceguard.xml
TypeNumber
Default value80
DescriptionTCP/IP listener port for the PerformanceGuard Web Server service. Default is HTTP port 80.
In performanceguard.xmltext<br/><Parameter name="port" override="false" value="80"/><br/>

These parameters control the maximum number of rows to show on a page. If the actual number of rows exceeds the parameter value, navigation links are added to the page.

Protocol.Page.Size
Set inconfig_params database table
TypeNumber
Default value500
DescriptionMaximum number of ports to concurrently show on the port management page.
Server.Page.Size
Set inconfig_params database table
TypeNumber
Default value500
DescriptionMaximum number of servers to concurrently show on the server management page.
Report.Page.Size
Set inconfig_params database table
TypeNumber
Default value50
DescriptionMaximum number of reports to concurrently show on the report management page.

These parameters control image format and refreshing intervals for generated graphs.

Refresh.interval
Set inconfig_params database table
TypeSeconds
Default value120
DescriptionTime (sec) between automatic refreshing of the Time View, Server/Port and Server/Agent graphs. A value of 0 disables automatic refreshing.
image.format
Set inconfig_params database table
TypeString. “image/jpeg” or “image/png”
Default value”image/jpeg”
DescriptionGraph image format. PNG is smaller in size, but takes approximately 1-2 seconds longer to generate. JPEG is about three times the size of a PNG, and the quality of the image isn’t as good as PNG
moving.average
Set inconfig_params database table
TypeNumber
Default value10
DescriptionThe number of samples to use when calculating moving averages in graphs. The value must be larger than 1.

These parameters control which status color agents will have on the agent search and agent management pages.

ClientInactivityMinutesYellow
Set inconfig_params database table
TypeMinutes
Default value30
DescriptionMinutes of inactivity before an agent’s status color changes from green to yellow.
ClientInactivityMinutesred
Set inconfig_params database table
TypeMinutes
Default value1440 (that is 24 hours)
DescriptionMinutes of inactivity before an agent’s status color changes from yellow to red.

These parameters control database connection.

jdbc.prefetch.size
Set inperformanceguard.xml
TypeInteger
Default value20
DescriptionJDBC row prefetch size, applies to all prepared statements
In performanceguard.xmltext<br/><Parameter name="jdbc.prefetch.size" override="false" value="20"/><br/>
sql.folder
Set inperformanceguard.xml
TypeFolder name
Default valuelocal/
DescriptionThe SQL statements used in the application are defined in various files in this folder.
⚠️ This value should only be changed by a CapaSystems consultant
JdbcDriver
Set inperformanceguard.xml
TypeJDBC driver class
Default valuecom.microsoft.sqlserver.jdbc.SQLServerDriver
DescriptionJDBC driver for access to the PerformanceGuard database
In performanceguard.xml⚠️ Parameter name=“JdbcDriver” override=“false” value=“com.microsoft.sqlserver.jdbc.SQLServerDriver”/>
JdbcConnectString
Set inperformanceguard.xml
TypeString
Default valuejdbc:sqlserver://localhost
DescriptionDatabase connection string.
In performanceguard.xmltext<br/>Parameter name="JdbcConnectString" override="false" value="jdbc:sqlserver://localhost"/><br/>
User
Set inperformanceguard.xml
TypeString
Default valuepguard
DescriptionPerformanceGuard backend server database user name.
In performanceguard.xmltext<br/><Parameter name="User" override="false" value="pguard"/><br/>
Password
Set inperformanceguard.xml
TypeString
Default valuepguard
DescriptionPerformanceGuard backend server database password.
In performanceguard.xmltext<br/><Parameter name="Password" override="false" value="[encrypted password]"/> <br/>]]><br/> ⚠️ The password is stored in encrypted form in performanceguard.xml.
Connection.pool.size
Set inperformanceguard.xml
TypeNumber of connections
Default value15
DescriptionThe number of simultaneous connections to the PerformanceGuard database. If an SQL error occurs on one of the connections in the pool, the application tries to re-establish the connection.
In performanceguard.xml⚠️ <Parameter name=“Connection.pool.size” override=“false” value=“15”/>
demo.mode
Set inconfig_params database table
TypeInteger
Default value0
DescriptionSet demo.mode to 1 to activate demo mode. When demo mode is activated, the internal clock in the PerformanceGuard web interface will be stopped and reset to the time stamp of the last delivered sample. When in demo mode PerformanceGuard won’t accept incoming data from agents, and it won’t delete old data (the cleanup job is stopped).

Access logging, that is logging of who accesses the PerformanceGuard system, is by default not enabled. When access logging has been enabled, you can view the access log in the folder [PerformanceGuard installation folder]\display\accesslogs.

accessLogEnabled
Set inperformanceguard.xml
TypeTrue/false
Default valueFalse
DescriptionDetermines whether access logging is enabled or not.
In performanceguard.xml⚠️ <Parameter name=“accessLogEnabled” override=“false” value=“False”/>
accessLogRetainDays
Set inperformanceguard.xml
TypeNumber of days
Default value7
DescriptionDetermines how the log access log is kept for if access logging is enabled.
⚠️ The value 0 (zero) will keep the log forever. We don’t recommend that you keep the log forever because it will take up more and more disk space.
In performanceguard.xmltext<br/><Parameter name="accessLogRetainDays" override="false" value="7"/><br/>