Big Sister
List of all members
Statusmon::StatusTrap Class Reference
Inheritance diagram for Statusmon::StatusTrap:
Statusmon::Statusmon Schedule

Public Member Functions

Public Class Methods
retval new (scalar this)
Public Object Methods
retval start ()
retval read_config (scalar newconfig, scalar oldconfig)
retval event (scalar cmd)
- Public Member Functions inherited from Statusmon::Statusmon
 new ()
 setarg (scalar name, scalar val)
 getarg (scalar name)
 register (list masks)
 Register for a list of events.
 event (hashref cmd)
 Statusmon objects get their event() method invoked each time an event of one of the register() registered types is seen.
 post_event (hashref cmd, hashref org_event)
 Post an event and forward it to all interested parties.
 add_feature_provider (scalar feature)
 Register as a feature provider.
Statusmon::Statusmon get_feature_provider (scalar feature)
 Get a Statusmon::Statusmon object that registered as a feature provider for a specific feature.
scalar get_statustext (int code)
 Get the text associated with a status code.
int get_statuscode (scalar text)
 For a given status text return the corresponding status code.
int get_current_status (scalar check)
 Returns the status of a check.
scalar get_current_text (scalar check)
 Returns the current text of a check.
list get_checks (scalar group)
 Return a list of defined checks for a host or group.
list get_hosts ()
 Returns a list of known hosts/groups.
 abort ()
 Stop this status monitor.
 loopback (scalar cmd)
 Post a raw message and treat it like it was received from bbd.
int background ()
 Start a background process.
 init ()

Member Function Documentation

retval Statusmon::StatusTrap::event ( scalar  cmd)
retval Statusmon::StatusTrap::new ( scalar  this)
retval Statusmon::StatusTrap::read_config ( scalar  newconfig,
scalar  oldconfig 
)
retval Statusmon::StatusTrap::start ( )

Reimplemented from Statusmon::Statusmon.


The documentation for this class was generated from the following file: