Public Member Functions |
|
| retval | new (scalar this) |
|
| retval | start () |
| retval | read_config (scalar newconfig, scalar oldconfig) |
| retval | event (scalar cmd) |
| retval | statuschanged (scalar cmd) |
| retval | extract_log (scalar filename) |
| retval | statusfile_name (scalar group, scalar item) |
| retval | write_html_status (scalar group, scalar item, scalar state, scalar text, scalar date, scalar skin, scalar log) |
| | 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 () |