| Home | Trees | Index | Help |
|
|---|
| Package pymeterlib :: Module RemoteHost :: Class RemoteHost |
|
Host --+
|
RemoteHost
| Method Summary | |
|---|---|
| |
| List of strings |
Connect to a remote host and run plugin commands. |
| Inherited from Host | |
Disable internal storage of stats and flush any existing storage. | |
Enable internal storage of stats. | |
Flush (clear) any stats stored in the object. | |
| Instance Variable Summary | |
|---|---|
connection_type: Protocol used for remote connection | |
host_name: Host name or IP address | |
password: Password | |
prompt: Command prompt (or partial string matching the end of the prompt) | |
user_name: User name | |
| Inherited from Host | |
last_stat: Value of last single stat from the last check | |
last_stats: List of stats (values) from the last check | |
plugins: Instances of plugin objects to run for stat checks | |
stat_labels: Labels (names) of the stats to be checked | |
storage_enabled: Indication if internal storage of stats is enabled (boolean) | |
stored_stats: List of stats collected since enabling storage or last flush | |
| Method Details |
|---|
__init__(self,
host_name,
user_name,
password,
prompt,
connection_type,
*plugins)
|
check_stats(self)Connect to a remote host and run plugin commands.
|
| Instance Variable Details |
|---|
connection_typeProtocol used for remote connection |
host_nameHost name or IP address |
passwordPassword |
promptCommand prompt (or partial string matching the end of the prompt) |
user_nameUser name |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Mar 17 09:16:20 2006 | http://epydoc.sf.net |