Uses of Class
org.sentrysoftware.metricshub.engine.common.exception.ClientException
Packages that use ClientException
Package
Description
-
Uses of ClientException in org.sentrysoftware.metricshub.engine.client
Methods in org.sentrysoftware.metricshub.engine.client that throw ClientExceptionModifier and TypeMethodDescriptionstatic org.sentrysoftware.ssh.SshClientClientsExecutor.connectSshClientTerminal(@NonNull String hostname, @NonNull String username, char[] password, File privateKey, int timeout) Connect to the SSH terminal.static StringClientsExecutor.executeRemoteWinRmCommand(@NonNull String hostname, @NonNull WinRmConfiguration winRmConfiguration, @NonNull String command) Execute a WinRM remote commandClientsExecutor.executeWbem(@NonNull String hostname, @NonNull WbemConfiguration wbemConfig, @NonNull String query, @NonNull String namespace) Determine if a vCenter server is configured and call the appropriate method to run the WBEM query.static StringClientsExecutor.executeWinRemoteCommand(String hostname, IConfiguration configuration, String command, List<String> embeddedFiles) Perform a WQL remote command query, either against a CIM server (WBEM) or WMIClientsExecutor.executeWmi(String hostname, @NonNull WmiConfiguration wmiConfig, @NonNull String wbemQuery, @NonNull String namespace) Execute a WMI querystatic StringClientsExecutor.executeWmiRemoteCommand(String command, String hostname, String username, char[] password, int timeout, List<String> localFiles) Execute a command on a remote Windows system through Client and return an object with the output of the command.ClientsExecutor.executeWql(String hostname, IConfiguration configuration, String query, String namespace) Perform a WQL query, either against a CIM server (WBEM) or WMIClientsExecutor.executeWqlThroughWinRm(@NonNull String hostname, @NonNull WinRmConfiguration winRmConfiguration, @NonNull String query, @NonNull String namespace) Execute a WinRM querystatic StringClientsExecutor.runRemoteSshCommand(@NonNull String hostname, @NonNull String username, char[] password, File keyFilePath, String command, long timeout, List<File> localFiles, String noPasswordCommand) Use ssh-client in order to run ssh command. -
Uses of ClientException in org.sentrysoftware.metricshub.engine.common.exception
Constructors in org.sentrysoftware.metricshub.engine.common.exception with parameters of type ClientExceptionModifierConstructorDescriptionConstructs a newClientRuntimeExceptionwith the specified cause. -
Uses of ClientException in org.sentrysoftware.metricshub.engine.strategy.utils
Methods in org.sentrysoftware.metricshub.engine.strategy.utils that throw ClientExceptionModifier and TypeMethodDescriptionstatic OsCommandResultOsCommandHelper.runOsCommand(@NonNull String commandLine, @NonNull TelemetryManager telemetryManager, Long commandTimeout, boolean isExecuteLocally, boolean isLocalhost) Run the OS Command on: Local (use java Process) Remote windows (use WMI/WinRm command) Remote Linux (use SSH)static StringOsCommandHelper.runSshCommand(@NonNull String command, @NonNull String hostname, @NonNull SshConfiguration sshConfiguration, long timeout, List<File> localFiles, String noPasswordCommand) Run an SSH command, checking if it can be executed on localhost or remotely.