- Start
the Monitoring Agent if
installed as a service.
To start and stop Monitoring Agent
service on Windows, start and
stop the 3DEXPERIENCE R2019x
3DMonitoringAgent
service.
To start and stop Monitoring Agent
service on Linux:
- Service
start command: service
3DMonitoringAgent_R2019x start
- Service
stop command: service
3DMonitoringAgent_R2019x stop
Here are the Monitoring Agent
executable file locations on each operating system.
For the Monitoring Agent And Probes:
- Windows: <MonitoringAgentAndProbesInstallPath>\win_b64\code\command\StartMonitoringAgentSvc.bat
- Linux: <MonitoringAgentAndProbesInstallPath>/linux_a64/code/command/StartMonitoringAgentSvc.sh
For 3DEXPERIENCE platform
services:
- Windows: <3DEXPERIENCEserviceInstallPath>\win_b64\code\command\StartMonitoringAgentSvc.bat
- Linux: <3DEXPERIENCEserviceInstallPath>/linux_a64/code/command/StartMonitoringAgentSvc.sh
- Generate
the keystore.
Run the
following command from the command line, to create the keystore file at
the location you selected during the Monitoring Agent installation
installed as a service:
- Windows: StartMonitoringAgentSvc.bat
-setkey SERVICE [LOGIN] [PASSWORD]
- Linux: StartMonitoringAgentSvc.sh
-setkey SERVICE [LOGIN] [PASSWORD]
where SERVICE
is the service URL, for example the 3DPassport service URL.
Enter
the full keystore file path when the Monitoring Agent is not installed as
a service, or when running the Monitoring Agent from the3DEXPERIENCE platform services install path:
- Windows: startMonitoringAgentSvc.bat
[-keystore PATH] -setkey SERVICE [LOGIN] [PASSWORD]
- Linux: startMonitoringAgentSvc.sh
[-keystore PATH] -setkey SERVICE [LOGIN] [PASSWORD]
where:
While creating a keystore file, do not provide the username and password in the same create keystore command. Enter the username and password when prompted to enter them in a more secure way using standard Windows or Linux login procedures.
You need to create a keystore
file only if the agent is monitoring a component that requires
authentication. For example, the 3DPassport service requires
authentication.
- Set the probes'
arguments.
Run the following command from the
command line to set probes' arguments:
- Windows: StartMonitoringAgentSvc.bat
-setVar VAR_NAME
VAR_VALUE [-cfg PATH]
- Linux: StartMonitoringAgentSvc.sh
-setVar VAR_NAME
VAR_VALUE [-cfg PATH]
- Remove the probes' arguments.
Run the following command from the
command line to remove the probes' arguments.
- Windows: StartMonitoringAgentSvc.bat
-rmVar VAR_NAME
[-cfg PATH]
- Linux: StartMonitoringAgentSvc.sh
-rmVar VAR_NAME
[-cfg PATH]
- Set up the probes.
Run the following command from the
command line to set up a probe:
- Windows: StartMonitoringAgentSvc.bat
-setProbe PROBE_NAME PROBE_SUBJECT [-cfg PATH]
- Linux: StartMonitoringAgentSvc.sh
-setProbe PROBE_NAME PROBE_SUBJECT [-cfg PATH]
with:
[<parameter_name>=<value>]*
[condition:<expr>]
[period:<period value>]
[active:[true|false]]
where:
- Remove
a probe.
Run the following command from the
command line to remove a probe:
- Windows: StartMonitoringAgentSvc.bat
-rmProbe PROBE_NAME PROBE_SUBJECT [-cfg PATH]
- Linux: StartMonitoringAgentSvc.sh
-rmProbe PROBE_NAME PROBE_SUBJECT [-cfg PATH]