After Upgrade of Applications Manager, The monitors added via ssh mode not collecting data's

After Upgrade of Applications Manager, The monitors added via ssh mode not collecting data's

Please follow below steps :

1) Go to stderr.txt and check the below exception is present or not

[05 Jun 2018 20:39:21:287] SYS_ERR: java.lang.NoSuchMethodError: com.maverick.ssh.SshConnector.createInstance()Lcom/maverick/ssh/SshConnector;
[05 Jun 2018 20:39:21:287] SYS_ERR: at com.adventnet.cli.transport.ssh.sshv2.SshToolsProviderImpl.login(SshToolsProviderImpl.java:457)
[05 Jun 2018 20:39:21:287] SYS_ERR: at com.adventnet.cli.transport.ssh.sshv2.SshToolsProviderImpl.login(SshToolsProviderImpl.java:443)
[05 Jun 2018 20:39:21:287] SYS_ERR: at com.adventnet.cli.transport.ssh.sshv2.SshToolsProviderImpl.open(SshToolsProviderImpl.java:1002)
[05 Jun 2018 20:39:21:287] SYS_ERR: at com.adventnet.cli.transport.ssh.SshTransportProviderImpl.open(SshTransportProviderImpl.java:86)
[05 Jun 2018 20:39:21:288] SYS_ERR: at com.adventnet.cli.CLIResourceManager.getProviderInstance(CLIResourceManager.java:224)
[05 Jun 2018 20:39:21:288] SYS_ERR: at com.adventnet.cli.CLIResourceManager.updateResourceManager(CLIResourceManager.java:152)
[05 Jun 2018 20:39:21:288] SYS_ERR: at com.adventnet.cli.CLISession.open(CLISession.java:443)
[05 Jun 2018 20:39:21:288] SYS_ERR: at com.adventnet.appmanager.util.CLITelnetHandler.getSession(CLITelnetHandler.java:151)
[05 Jun 2018 20:39:21:288] SYS_ERR: at com.adventnet.appmanager.util.CLITelnetHandler.getCLISession(CLITelnetHandler.java:88)
[05 Jun 2018 20:39:21:288] SYS_ERR: at com.adventnet.appmanager.util.CLIPerformDataCollectionIfcImpl.doAndGetResult(CLIPerformDataCollectionIfcImpl.java:45)
[05 Jun 2018 20:39:21:288] SYS_ERR: at com.adventnet.appmanager.server.hostresources.datacollection.HostResourceMonitor.getCollectedData(HostResourceMonitor.java:1974)

if yes then do the below following

1) Go to the classes folder and check the maverick-all.jar is present or not . if it is present then take the backup of the jar and keep it outside of the app manager installation directory and delete it from classes folder

2) some times there may be a chance of duplicate jars in classes folder. so please cross check the classes folder once completely whether it having any duplicate jar. if yes then delete the duplicate jars.

3) Then replace the below jars  from app manager classes folder with our newly installed build( build should be same as customer build)

AdventNetOPExtn.jar
AdventNetCLI.jar
j2ssh-core.jar

4) Then add the following entry in wrapper.conf after the line "wrapper.java.classpath.XX=apache/tomcat/lib/tomcat-util.jar"

For example wrapper.java.classpath.38=classes/maverick-legacy-client-all.jar

Note : replace XX with previous number +1

5) Stop AppManager completely, rename the logs and create a new folder as logs, start the product from service.


If the issue persist, please share the below information:

1.) From command prompt, navigate to AppManager_home\Working\Classes, execute the command dir *.jar redirect to a file and share the file as you did before.

2) Enable print all logs

3) Execute ServerSSHtroubleshoot.bat / sh from AppManager_home\bin\troubleshooting and share the output for any one of the problematic monitor which is using ssh mode


4) Share the latest support file after polling the monitor.









                  New to ADManager Plus?

                    New to ADSelfService Plus?