Trial install & agent not working

Trial install & agent not working

I am trialling SDP MSP and am unable to get an agent to communicate with the server.

I have installed the agent on a Windows machine and set the server ip & ports correctly. 8080 & 9000.

I am able to access SDP on the IP ADD specified on port 8080

I am unsure of what to enter for the "Server Name" parameter so I tried the name of the client the agent was being installed on without success.

If the server name is not the client how does SDP know which MSP client this agent refers to ?

The agent installs however the log shows:



[06/09/18][19:44:02][AEAgent.cpp][66][INFO][9048] ::**************** AEAgent (1.0.27)Started. ****************
[06/09/18][19:44:02][AEAgent.cpp][70][INFO][9048] ::execute the agent with the parameter POST_SCAN_DATA
[06/09/18][19:44:02][AEAgent.cpp][93][INFO][9048] ::Invalid argument for aeagent.exe: POST_SCAN_DATA
[06/09/18][19:44:02][AEAgent.cpp][1104][INFO][7180] ::Time after system bootup : 1284351875
[06/09/18][19:44:02][AEAgent.cpp][1111][INFO][7180] ::start to post data to the server..
[06/09/18][19:44:02][AEAgent.cpp][529][INFO][7180] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat scan
[06/09/18][19:44:02][AEAgent.cpp][112][INFO][9048] ::Successfully delta configured
[06/09/18][19:44:02][AEAgent.cpp][653][INFO][8360] ::start to take delta scan.
[06/09/18][19:44:02][AEAgent.cpp][529][INFO][8360] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat scan
[06/09/18][19:45:26][AgentUtil.cpp][63][INFO][7180] ::ExitCode is 0 and return.
[06/09/18][19:45:26][AEAgent.cpp][535][INFO][7180] ::The command executed successfully.
[06/09/18][19:45:26][FileAccess.cpp][79][INFO][7180] ::Success in opening a file C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\agentdata.xml to readEntireFile.
[06/09/18][19:45:26][httphandler.cpp][478][INFO][7180] ::InternetSendRequestEx : AssetExplorer Server -> ACME Limited

[06/09/18][19:45:26][httphandler.cpp][479][INFO][7180] ::InternetSendRequestEx : AssetExplorer Server Port-> 8080

[06/09/18][19:45:26][httphandler.cpp][480][INFO][7180] ::InternetSendRequestEx : URL to Post -> /discoveryServlet/WsDiscoveryServlet?computerName=vws150&agentId=vws150_1528536741938

[06/09/18][19:45:26][httphandler.cpp][579][ERROR][7180] ::InternetSendRequestEx : Error in HttpSendRequestEx -> 12007

[06/09/18][19:45:26][httphandler.cpp][26][ERROR][7180] ::HttpGetLastError: The server name could not be resolved.
[06/09/18][19:45:26][httphandler.cpp][478][INFO][7180] ::InternetSendRequestEx : AssetExplorer Server -> 192.168.4.1

[06/09/18][19:45:26][httphandler.cpp][479][INFO][7180] ::InternetSendRequestEx : AssetExplorer Server Port-> 8080

[06/09/18][19:45:26][httphandler.cpp][480][INFO][7180] ::InternetSendRequestEx : URL to Post -> /discoveryServlet/WsDiscoveryServlet?computerName=vws150&agentId=vws150_1528536741938

[06/09/18][19:45:26][httphandler.cpp][701][INFO][7180] ::InternetSendRequestEx : Successfully posted the data to the server 192.168.4.1

[06/09/18][19:45:26][AEAgent.cpp][833][INFO][7180] ::updateBaseXMLFile......
[06/09/18][19:45:26][AEAgent.cpp][843][INFO][7180] ::Failed to delete the file, C:\Program Files (x86)\ManageEngine\AssetExplorer\\bin\base_agentdata.xml and the error code is : 2
[06/09/18][19:45:26][AEAgent.cpp][863][INFO][7180] ::updateBaseXMLId.........
[06/09/18][19:45:26][AEAgent.cpp][529][INFO][7180] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat deltascan
[06/09/18][19:45:27][AgentUtil.cpp][63][INFO][7180] ::ExitCode is 0 and return.
[06/09/18][19:45:27][AEAgent.cpp][535][INFO][7180] ::The command executed successfully.
[06/09/18][19:45:29][AgentUtil.cpp][63][INFO][8360] ::ExitCode is 0 and return.
[06/09/18][19:45:29][AEAgent.cpp][535][INFO][8360] ::The command executed successfully.
[06/09/18][19:45:29][AEAgent.cpp][529][INFO][8360] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat deltascan
[06/09/18][19:45:29][AgentUtil.cpp][63][INFO][8360] ::ExitCode is 0 and return.
[06/09/18][19:45:29][AEAgent.cpp][535][INFO][8360] ::The command executed successfully.
[06/09/18][19:45:29][AEAgent.cpp][661][INFO][8360] ::Periodic Delta scan succeed.
[06/09/18][19:45:29][AEAgent.cpp][666][INFO][8360] ::file name to send: C:\Program Files (x86)\ManageEngine\AssetExplorer\\bin\deltaScan.xml
[06/09/18][19:45:29][AEAgent.cpp][743][INFO][8360] ::delta xml is empty
[06/09/18][20:15:29][AEAgent.cpp][653][INFO][8360] ::start to take delta scan.
[06/09/18][20:15:29][AEAgent.cpp][529][INFO][8360] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat scan
[06/09/18][20:16:39][AgentUtil.cpp][63][INFO][8360] ::ExitCode is 0 and return.
[06/09/18][20:16:39][AEAgent.cpp][535][INFO][8360] ::The command executed successfully.
[06/09/18][20:16:39][AEAgent.cpp][529][INFO][8360] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat deltascan
[06/09/18][20:16:39][AgentUtil.cpp][63][INFO][8360] ::ExitCode is 0 and return.
[06/09/18][20:16:39][AEAgent.cpp][535][INFO][8360] ::The command executed successfully.
[06/09/18][20:16:39][AEAgent.cpp][661][INFO][8360] ::Periodic Delta scan succeed.
[06/09/18][20:16:39][AEAgent.cpp][666][INFO][8360] ::file name to send: C:\Program Files (x86)\ManageEngine\AssetExplorer\\bin\deltaScan.xml
[06/09/18][20:16:39][AEAgent.cpp][743][INFO][8360] ::delta xml is empty
[06/09/18][20:46:39][AEAgent.cpp][653][INFO][8360] ::start to take delta scan.
[06/09/18][20:46:39][AEAgent.cpp][529][INFO][8360] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat scan
[06/09/18][20:47:49][AgentUtil.cpp][63][INFO][8360] ::ExitCode is 0 and return.
[06/09/18][20:47:49][AEAgent.cpp][535][INFO][8360] ::The command executed successfully.
[06/09/18][20:47:49][AEAgent.cpp][529][INFO][8360] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat deltascan
[06/09/18][20:47:49][AgentUtil.cpp][63][INFO][8360] ::ExitCode is 0 and return.
[06/09/18][20:47:49][AEAgent.cpp][535][INFO][8360] ::The command executed successfully.
[06/09/18][20:47:49][AEAgent.cpp][661][INFO][8360] ::Periodic Delta scan succeed.
[06/09/18][20:47:49][AEAgent.cpp][666][INFO][8360] ::file name to send: C:\Program Files (x86)\ManageEngine\AssetExplorer\\bin\deltaScan.xml
[06/09/18][20:47:49][AEAgent.cpp][743][INFO][8360] ::delta xml is empty
[06/09/18][21:17:49][AEAgent.cpp][653][INFO][8360] ::start to take delta scan.
[06/09/18][21:17:49][AEAgent.cpp][529][INFO][8360] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat scan
[06/09/18][21:18:59][AgentUtil.cpp][63][INFO][8360] ::ExitCode is 0 and return.
[06/09/18][21:18:59][AEAgent.cpp][535][INFO][8360] ::The command executed successfully.
[06/09/18][21:18:59][AEAgent.cpp][529][INFO][8360] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat deltascan
[06/09/18][21:19:00][AgentUtil.cpp][63][INFO][8360] ::ExitCode is 0 and return.
[06/09/18][21:19:00][AEAgent.cpp][535][INFO][8360] ::The command executed successfully.
[06/09/18][21:19:00][AEAgent.cpp][661][INFO][8360] ::Periodic Delta scan succeed.
[06/09/18][21:19:00][AEAgent.cpp][666][INFO][8360] ::file name to send: C:\Program Files (x86)\ManageEngine\AssetExplorer\\bin\deltaScan.xml
[06/09/18][21:19:00][AEAgent.cpp][743][INFO][8360] ::delta xml is empty
[06/09/18][21:49:00][AEAgent.cpp][653][INFO][8360] ::start to take delta scan.

                New to ADSelfService Plus?