Big Sister
List of all members
Statusmon::grouping Class Reference
Inheritance diagram for Statusmon::grouping:
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 undefine_group (scalar group)
retval define_group (scalar group, scalar newtitle)
retval join_groups (scalar cmd)
retval join_group (scalar sub, scalar group)
retval leave_groups (scalar cmd)
retval leave_group (scalar sub, scalar group)
retval displayname (scalar group, scalar title)
retval event (scalar cmd)
retval group_write ()
retval set (scalar group, scalar item, scalar state)
retval recompute ()
retval run ()
retval isingroup (scalar sub, scalar group, scalar recurse)
retval groupmap_for (scalar sub, scalar recurse)
retval get_title (scalar group)
retval enum_groups ()
retval get_members (scalar group)
retval get_groups (scalar group)
retval get_checks (scalar group)
 Return a list of defined checks for a host or group.
retval group_status (scalar group)
retval read_groups (scalar file)
retval isgroup (scalar group)
Protected Object Methods
protected retval _set (scalar base, scalar group, scalar item, scalar state)
- 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_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

protected retval Statusmon::grouping::_set ( scalar  base,
scalar  group,
scalar  item,
scalar  state 
)
retval Statusmon::grouping::define_group ( scalar  group,
scalar  newtitle 
)
retval Statusmon::grouping::displayname ( scalar  group,
scalar  title 
)
retval Statusmon::grouping::enum_groups ( )
retval Statusmon::grouping::event ( scalar  cmd)
retval Statusmon::grouping::get_checks ( scalar  group)

Return a list of defined checks for a host or group.

Parameters
groupA host or group name
Returns
A list of check names defined for this host/group, an empty list if the host/group is not known

Reimplemented from Statusmon::Statusmon.

retval Statusmon::grouping::get_groups ( scalar  group)
retval Statusmon::grouping::get_members ( scalar  group)
retval Statusmon::grouping::get_title ( scalar  group)
retval Statusmon::grouping::group_status ( scalar  group)
retval Statusmon::grouping::group_write ( )
retval Statusmon::grouping::groupmap_for ( scalar  sub,
scalar  recurse 
)
retval Statusmon::grouping::isgroup ( scalar  group)
retval Statusmon::grouping::isingroup ( scalar  sub,
scalar  group,
scalar  recurse 
)
retval Statusmon::grouping::join_group ( scalar  sub,
scalar  group 
)
retval Statusmon::grouping::join_groups ( scalar  cmd)
retval Statusmon::grouping::leave_group ( scalar  sub,
scalar  group 
)
retval Statusmon::grouping::leave_groups ( scalar  cmd)
retval Statusmon::grouping::new ( scalar  this)
retval Statusmon::grouping::read_config ( scalar  newconfig,
scalar  oldconfig 
)
retval Statusmon::grouping::read_groups ( scalar  file)
retval Statusmon::grouping::recompute ( )
retval Statusmon::grouping::run ( )
retval Statusmon::grouping::set ( scalar  group,
scalar  item,
scalar  state 
)
retval Statusmon::grouping::start ( )

Reimplemented from Statusmon::Statusmon.

retval Statusmon::grouping::undefine_group ( scalar  group)

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