File Name
rmonitor.kb
Syntax
ActiveEscalations
Parameters
None
Returns
None
Side Effects
None
Description
Procedure to process each escalation.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
ActiveSLAs
Parameters
None
Returns
None
Side Effects
None
Description
Finds all current active SLAs and performs the appropriate on them.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
CheckDBConnection
Parameters
None
Returns
BOOLEAN: TRUE means database is connected. ALSE means database is not connected.
Side Effects
None
Description
Verifies that process is still connected to the database. not, then it attempts to reconnect.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
CreateBreachAudit ( REF activeSlaRec: ActiveSlaRecord )
Parameters
activeSlaRec: contains the information to be audited
Returns
BOOLEAN, Success or Failure
Side Effects
None
Description
This routine has been set up for SLA's relative to the PROBLEMS o be audited to the PROBLEM_HISTORY table as well as the SLA_AUDIT_LOG. All other SLA breach records will be audited to the SLA_AUDIT_LOG table.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
DeleteSLAs
Parameters
None
Returns
None
Side Effects
None
Description
Deletes all exitable SLA records.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
DoAction ( REF actionRec: ActionRecord, activeSlaRec: ActiveSlaRecord )
Parameters
None
Returns
None
Side Effects
None
Description
Function used to perform SLA actions.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
FindandAuditBreachedSLAs
Parameters
None
Returns
None
Side Effects
None
Description
Finds and audits any breached SLA.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
InitializeNewEscalations
Parameters
None
Returns
None
Side Effects
None
Description
Procedure to update all new escalations.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
InitializeNewSLAs
Parameters
None
Returns
None
Side Effects
None
Description
Function used to determine if dummy SLA records in the active SLA table meet the requirements for any SLA Terms. If they do the dummy record is recreated as an SLA record for the given term, and the breach and next fire dates and times are set. All dummy SLA records are then purged.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
InitialSLAScan
Parameters
None
Returns
None
Side Effects
None
Description
This is the procedure used to report the status of the SLA scan and start the scans.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
MailEvent ( REF MonitorRec: MonitorRecord )
Parameters
MonitorRec: Contains a monitor record.
Returns
None
Side Effects
None
Description
Performs mail login functionality.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
MainScan ( REF MonitorData: MonitorRecord )
Parameters
MonitorData: Contains 1 Monitor Record.
Returns
None
Side Effects
None
Description
Performs call functions based on the type of monitor ocessed.
Dialog Forms Called
sla.dfc[sla_monitor]
File Name
rmonitor.kb
Syntax
MonitorEvent ( REF MonitorRec: List of MonitorRecord )
Parameters
MonitorRec: Is a list of Monitor Records.
Returns
None
Side Effects
None
Description
This is the main monitor event. It controls which are scanning based on their appropriate polling
Dialog Forms Called
monitor.dfc[monitor_configure]
monitor.dfc[mail_type]
File Name
rmonitor.kb
Syntax
MonitorStartup ( VAL Args: LIST OF STRING )
Parameters
Args: List of command line arguments indicating which
to start.
Returns
None
Side Effects
None
Description
This is the main routine for the monitor process. rms initializations based on the command uments passed in during login. These arguments ch monitors will run.
Dialog Forms Called
monitor.dfc[main_mntr_display]
File Name
rmonitor.kb
Syntax
ReadNotifications
Parameters
None
Returns
None
Side Effects
None
Description
This is the procedure that performs the scan used by the notification monitor to read the notifications table.
Dialog Forms Called
None
File Name
rmonitor.kb
Syntax
ReplaceActionLanguage ( REF actionRec: ActionRecord, activeSLARec: ActiveSlaRecord )
Parameters
None
Returns
None
Side Effects
This Procedure will need to modified if any new d Variables are added to SLAMNTR.KB
Description
Dialog Forms Called
None