Peach :: Agent :: network :: PingMonitor :: Class PingMonitor
[hide private]

Class PingMonitor

source code


This monitor will report a fault if it cannot ping the specified hostname.

Instance Methods [hide private]
 
__init__(self, args)
Constructor.
source code
 
DetectedFault(self)
Check if a fault was detected.
source code

Inherited from agent.Monitor: GetMonitorData, OnFault, OnShutdown, OnTestFinished, OnTestStarting, StopRun

Method Details [hide private]

__init__(self, args)
(Constructor)

source code 

Constructor. Arguments are supplied via the Peach XML file.

Parameters:
  • args (Dictionary) - Dictionary of parameters
Overrides: agent.Monitor.__init__

DetectedFault(self)

source code 

Check if a fault was detected.

Overrides: agent.Monitor.DetectedFault