Provided by: octopussy_1.0.6-0ubuntu2_all
NAME
Octopussy::Alert - Octopussy Alert module
FUNCTIONS
New($conf) Create a new Alert and then restart parser for Devices concerned Modify($old_alert, $conf_new) Modify the configuration for the Alert '$old_alert' Remove($alert) Removes the alert '$alert' List() Get List of Alerts Comparators() Get alerts comparators Levels() Get alerts levels Filename($alert_name) Get the XML filename for the alert '$alert_name' Configuration($alert_name) Get the configuration for the alert '$alert_name' Configurations($sort) Get the configuration for all alerts For_Device($device) Get Alerts related to Device '$device' Insert_In_DB($device, $alert, $line, $date) Check_All_Closed() Checks if all Alerts are closed Opened_List($device) Returns List of Alerts with Status 'Opened' Update_Status($id, $status, $comment Updates Alert with id '$id' to Status '$status' & with Comment '$comment' Delete_From_Database($id) Deletes Alert with id '$id' from Database From_Device($device) Returns Alerts generated by device '$device' Message_Building($alert, $device, $line, $msg) Builds Alert Message Tracker($al, $dev, $stat, $sort, $limit) Valid_Name($name) Checks that '$name' is valid for an Alert name Valid_Status_Name($name) Checks that '$name' is valid for an Alert Status name
AUTHOR
Sebastien Thebert <octo.devel@gmail.com>