Routines for monitor.kb


ActiveEscalations

File Name

rmonitor.kb

Syntax


  

ActiveEscalations

Parameters

None

Returns

None

Side Effects

None

Description

Procedure to process each escalation.

Dialog Forms Called

None


ActiveSLAs

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


CheckDBConnection

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


CreateBreachAudit

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


DeleteSLAs

File Name

rmonitor.kb

Syntax


  

DeleteSLAs

Parameters

None

Returns

None

Side Effects

None

Description

Deletes all exitable SLA records.

Dialog Forms Called

None


DoAction

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


FindandAuditBreachedSLAs

File Name

rmonitor.kb

Syntax


  

FindandAuditBreachedSLAs

Parameters

None

Returns

None

Side Effects

None

Description

Finds and audits any breached SLA.

Dialog Forms Called

None


InitializeNewEscalations

File Name

rmonitor.kb

Syntax


  

InitializeNewEscalations

Parameters

None

Returns

None

Side Effects

None

Description

Procedure to update all new escalations.

Dialog Forms Called

None


InitializeNewSLAs

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


InitialSLAScan

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


MailEvent

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


MainScan

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]


MonitorEvent

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]


MonitorStartup

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]


ReadNotifications

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


ReplaceActionLanguage

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