Public Member Functions |
|
| retval | new (scalar this) |
|
| retval | start () |
| retval | read_config (scalar newconfig, scalar oldconfig) |
| retval | event (scalar cmd) |
| retval | needs_update (scalar deps) |
| retval | update () |
| retval | makeview (scalar view) |
| retval | create_page (scalar name, scalar elements) |
| retval | create_image (scalar skin, scalar image, scalar vars) |
| retval | create_table (scalar skin, scalar table, scalar vars) |
| retval | table_href (scalar skin, scalar href, scalar text) |
| retval | create_frameset (scalar viewconf, scalar frameconf) |
| retval | run () |
|
| protected retval | _linksdir (scalar links, scalar dir) |
| | 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 () |