Skip to content

Agent Web Interface

The agent can be configured to offer its own web (HTTP)-based interface. The interface allows users to retrieve measurements and other information from the agent, and it also lets users change agent configurations, queue application ping requests, etc.

The agent web server can be enabled either through the configuration distributed by PerformanceGuard or by adding registry values on individual computers that run the agent.

The agent web interface can be reached on the ’/’ resource on the configured port, which will redirect you to the ‘/cmd/cmd ’ resource.

By default you’ll see the View > Status page.

The agent web interface’s yellow menu bar provides access to a wide range of configuration information as well as data collected by the agent.

There is an additional web-based interface URL, which is normally used to relay information to the system tray icon. This interface is reached on, for example, http://localhost:4007/get/get?version=0.
One or more parameters may be queried in a single request:

ParameterValue
versionBuild label
isservicetrue if the agent runs as a windows service
build_timeDate and time of compilation
window_titleWindow title to use for Agent
agent_nameName of agent distinguishes OEM agents
agent_dirCatalog where agent is installed
agent_idID assigned by PerformanceGuard backend server for the agent
configuration_idID of the configuration currently used by the agent
protocolversionVersion of the protocol used to communicate with the PerformanceGuard backend
GUImodeConfiguration values that control how the agent should be presented
configurationAgent configuration string

The following command will query all variables:

http://localhost:4007/get/get?version=0&isservice=0&build_time=0&window_title=0&agent_name

Result:

version=Internal Jun 27 2007 09:44:48
isservice=no
build_time=-
window_title=PremiTech PerformanceGuard Agent
agent_name=GuardAgentD
agent_dir=C:\Dev\bugfix-pg-5-1\premitech\bin\win32
agent_id=5
configuration_id=1
protocolversion=510
GUImode=Icon Window NoExit AutoHide SendReport
configuration="Promiscuous=false
FrameType=Ethernet
DiscoverServerPorts=true
TCPReport=true
UDPReport=true
UDPLocalPortBlackList=1-1024
CitrixReport=true
CitrixStatInterval=10
ProcessStatInterval=10
DiskIOReport=true
CPUUsageLimit=1
CPUTop=0
MemTop=0
GUIMode=Icon Window NoExit AutoHide SendReport
SocketReadTimeOut=6000
keepalivefilter=Server=0.0.0.0/0 Port=0-65535 Type=TCPKeepAlive\tServer=0.0.0.0/0 Port=139
Type=NetBiosKeepAlive
TelnetClientList=127.0.0.1/8
ReportInterval=60
HistogramIntervals=10,20,50,100,200,500,1000,2000,5000"