All Classes
-
All Classes Interface Summary Class Summary Exception Summary Class Description AbstractSpawnable Base class for spawnables providing anAbstractSpawnable.onClose()
method that should be called on close.Client Http client, represents only the most basic contract for HTTP request execution.Client This class provide jmx related functions.Client.SBHostVerifier Client.SBTrustManager Client.Session DummyExpectedOutputHandler A dummy expected target output handler by ignore data readESX This class will help to collect esx related performance data.
Example:Executor This interface exists for people who want control over how processes are launched.Expect This class is provided for interaction with remote devices or communication with another process.ExpectedOutputHandler The expected target (remote host or executable) may produce output (e.g.ExpectJ This class is the starting point of the ExpectJ Utility.ExpectJException This class extends the Exception class and encapsulates other exceptions.HTTP This class provides functions to do HTTP related operations.JMX A helper class to open jmx connections.JSONBuilder JSONBuilder for Groovy API
HOW TO USE IT.
1.PDH This will provide PDH related operations.PDHSession A PDHSession indicates a connection to the remote host.Ping A helper class to execute a ping operation.
As the java ping is not non-admin, there will use the sbproxy ping to implement it.Ping.PingResult ProcessSpawn This class spawns a process that ExpectJ can control.Session Snmp session, include function such as: open, walkSession.Builder A helper class to help to build the Session for snmpSnmp This classSnmp
is provided for SNMP related operations.
The most common operations are:
get an oid value walk an oid The default time out for the snmp related oprerations is snmp.pdu.timeout from agent.conf
Sometimes, the host related hostProps will be used automatically to extract snmp related properties: property name property note snmp.version indicate the snmp version for this host.Spawn This class is used for talking to processes / ports.Spawnable Spawn interface, can use this interface manage Spawan object, obtain functions such as: start / stop, get stdout /stdin / stderr stream, and set close listenerSpawnable.CloseListener Will be notified when aSpawnable
closes.SshSpawn A Spawnable for controlling an SSH session using ExpectJ/JsCH.SshSpawn2 A Spawnable for controlling an SSH session using ExpectJ/SSHJ.SSLClient This class provides functions to do HTTPS related operations.TimeoutException Timeout while waiting for aSpawn
.WinResource Windows WMI resource, obtain function such as: getPDHCredential, getWMICredential User: ning.chen Date: 7/28/15 To change this template use File | Settings | File Templates.WMI This class help to collect wmi perf data.
We will try to extract wmi related credentials from the hostProps if existed.
The following properties may be used:
property name property note wmi.user / wmiuser the username for wmi requests wmi.pass / wmipass the password for wmi requests
Example:WMISession A WMI session indicates a connection to the remote host.
This object support to get pdh data from hosts which were not monitored by current collector.