Infrastructure (Server, Network, Database)

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to start the machine agent for Windows on my laptop

Highlighted
Producer

Not able to start the machine agent for Windows on my laptop

I am trying to monitor my own windows laptop using the machine agent.

 

1. I have installed the machine agent for Windows from getting started.

 

2. Added these lines in the controller-info.xml file

 

Added the below inputs:

<force-agent-registration>true</force-agent-registration>
<application-name>windows-machine</application-name>
<node-name>node1</node-name>
<tier-name>tier1</tier-name>

 

3. In the file monitors\analytics-agent\conf\analytics-agent.properties,

 

Added the below inputs,

ad.controller.url=https://Controller-host/

 

http.event.endpoint=https://Controller-host/

 

http.event.name=Account_name

http.event.accountName=Global_Account_Name

http.event.accessKey=Access_key_from_License page

 

4. Started the machine agent jar file,

 

java -jar machineagent.jar

 

But, getting this below message and the terminal halts. Kindly assist on what I am missing.machine_agent.png

 

Not able to start the machine agent for Windows on my laptop
1 REPLY 1
Highlighted
Producer

Re: Not able to start the machine agent for Windows on my laptop

When i stop the process deliberately, then i get a log file where i get these error message,

 

[main] 21 Apr 2020 00:36:08,457 INFO FlexibleX509TrustManager - Using default keystore for SSL certificate validation.
[main] 21 Apr 2020 00:36:09,184 INFO HostIdProvider - Default Host Identifier Resolver using host name for unique host identifier [LAPTOP_name]
[system-thread-0] 21 Apr 2020 00:36:11,242 INFO SecondStageSystem - Starting main system with features Features(features=[dmm], reason=Features.Reason(message=Unsuccessful leasing a Server Monitoring license, code=License Lease Failed))
[Thread-1] 21 Apr 2020 00:37:03,101 INFO SecondStageSystem - Stopping main system with features Features(features=[dmm], reason=Features.Reason(message=Unsuccessful leasing a Server Monitoring license, code=License Lease Failed)).