You are on page 1of 5

Review Article

Automatic Monitoring Tool for Alert System


Mir Sahebjan1, Amandeep Kaur2
Abstract
Batch job monitoring tool has been developed to provide real time monitoring and fast detection of
job failure in the production. The purpose of the project is to introduce alerts that will be notified to
the concerned team in the form of email, when any notable delay or long running or failures occurs
in batch jobs. It will notify interested parties in the event that data and signal files do not arrive
together in Data Development Environment (DDE) so that when one of these files arrives without
the others, the sender of the files can be notified to solve the issue. Also triggers mail if any data or
signal files are rejected by batch jobs. This article identifies the business process required to
implement monitoring tool and also focuses on system and integration testing to study the
monitoring job process.

Keywords: Alert system, Batch jobs, DDE, Job process, Monitoring tool
Introduction
Alert system is the alert triggering platform for the credit card customers. The card holder can be able to enrol their
account from UI for online banking services. The customer has to be enrolled to online banking portal and must have
an active profile set in the application to avail the facility of alerts. After successful enrolment, customer details and
email id and mobile no are stored in Alert system and customer is eligible for alert services. When there is change
happens to the customer online banking profile or transactions happens from the credit card customer receives an
alert in the form of email or SMS. Alert delivery platform has been classified into two Real time alert platform and
Batch alert platform. Any notification that should be sent to customer immediately is driven by real time alert
platform e.g. Password change, Address change etc. Any notification that can be delivered every end of day, every
month once to the customer for e.g. Balance summary, Payment due and Statement ready is driven by batch alert
platform. Alert system has set of batch jobs which process all the batch alert files every end of the day and triggers the
alert to the customer.
A batch job is nothing new it is simple a group of the programs processed in batch mode. A sequence of the
commands are executed by the operating system as batch file, shell script or command file is submitted as a single
unit for execution. The opposite of a batch job is interactive processing, in which a user enters individual commands to
be processed immediately. In many cases, batch jobs accumulate during working hours, and are then executed during
the evening or another time the computer is idle. This is often the best way to run programs that place heavy
demands on the computer.

 Batch processing is execution of a series of jobs without manual intervention.


 Jobs are set up so they can be run to completion without manual intervention, so all input data are preselected
through scripts, command-line parameters, or job control language.
In batch processing environment a program takes a set of data files as input, processes the data, and produces a set of
output data files.
1
I.T Engineer and Software Developer, 2Department of Computer Science and Engineering, GNA University, Phagwara, Punjab,
India.
Correspondence: Mr. Mir Sahebjan, GNA University, Phagwara, Punjab, India.
E-mail Id: mir.sahebjab@gnauniversity.edu.in
Orcid Id: http://orcid.org/0000-0002-9450-2495
How to cite this article: Sahebjan M, Kaur A. Automatic Monitoring Tool for Alert System. J Adv Res Appl Arti Intel Neural Netw
2017; 4(1&2): 7-11.

© ADR Journals 2017. All Rights Reserved.


Sahebjan M et al. J. Adv. Res. Appl. Arti. Intel. Neural Netw. 2017; 4(1&2)

Batch Job Monitoring Tools understanding the acceptance criteria and scope of
testing.
This tool monitors the alert system batch jobs in the  Analysis of existing system, design of proposed
production and intimates the concerned team when any system and developing.
notable delay or long running or failures occurs in batch  Thoroughly analyse the requirements and break
jobs. Also triggers the mails to the source system when them into test scenarios.
data or signal files are not published in the input data  Designing the test cases for both system and
directory. These data and signal files are the inputs to integration testing and test cases review.
the batch jobs.  Performing smoke testing before system and
integration testing to ensure that availability of jobs
Existing Tools in testing environment. Also availability of source
and target data set as per requirements.
Alert system executes all the batch jobs at the end of
 Performing system testing by executing the jobs in
every day to trigger alerts to the customers. If there is
any job failure or delay in job start or job running from UNIX environment (System region) and validating
long time then alert triggering process will get delayed. source and target data mappings.
In existing system batch job has to be monitored  Execution of system test cases and validating the
manually-started, completed, failed, and so on. Manual results.
monitoring of jobs takes more time.  Logging the defects in ALM if any discrepancy in the
test results.
Proposed System  Defect retesting and validation.
 Performing Integration testing by executing the
In the proposed system, automation approach to Jobs in UNIX (Integration region) and validating
monitor all the batch jobs. It monitors the job stream, source and target data mappings.
making sure everything runs in the right order, notifying  Validating the template of alert received in the mail
stakeholders if any job failures. This monitoring job will box.
trigger a notification mail to the respective team when
there is any failure of job or delay in job start or job run Experimental Setup
time more than the normal. It will notify interested
parties in the event that data and signal files do not Input Files
arrive together in DDE so that when one of these files
arrives without the other, the sender of the files can be  YYYYMMDD_dms_ctmlogs_consldtd.dat - This file
notified to solve the issue. Also triggers mail if any data contains consolidated data of all the batch jobs logs
or signal files are rejected by batch jobs. We can from the past 20 days.
streamline operations and save time without having to  YYYYMMDD_dms_ctmlogs.dat - This file contains
manually monitor different job schedules. previous days Log files.
 mntrng_mailing_list.lst - This list file contains Email
Algorithm for Proposed System address to trigger notification mails.
 Batch_jobs.lst - This file contains the list of all the
 Analysing the business requirements and batch jobs running at the end of every day.

Figure 1.High Level Design for Job Monitoring Tool

8
J. Adv. Res. Appl. Arti. Intel. Neural Netw. 2017; 4(1&2) Sahebjan M et al.

Output File
YYYYMMDD_dms_jobs_avg_runtime.dat - This file contains average run time of all the batch jobs.

Figure 2.Jobs in Unix Environment

9
Sahebjan M et al. J. Adv. Res. Appl. Arti. Intel. Neural Netw. 2017; 4(1&2)

Processing of Batch Processing

System Tool happed when the job processing system executed.


There are so many factors for all these types of the
How the batch processing system processed and what question. Initially we executed all the jobs in batch form.

Figure 3.Report of Batch System

When our tool executes all form of the alert system save at each step. If there is any delay in alert system
then a report has been summarised and this report will then it noticed to the team.

Figure 4.Notification of batch System

The test cases for this tool have been designed. Test rectification of the error the tool is running successfully.
executed for this system and finds the errors. After

Figure 5.Test Execute and Validation

The report given below is generated automatically by the administrator about the errors.
our tool. After making the report it send the message to

10
J. Adv. Res. Appl. Arti. Intel. Neural Netw. 2017; 4(1&2) Sahebjan M et al.

Figure 6.Lookup for File Missing System

Conclusions analysis. AIChE Journal 1994; 40(8): 1361-75.


2. Anliker U, Ward JA, Lukowicz P, et al. AMON: a
The “Production Batch job Monitoring tool for Alert wearable multiparameter medical monitoring and
System” has been designed. Initially in the industries alert system. Transactions on Information
only the error for alerts are identified manually. Our Technology in Biomedicine 2004; 8(4): 415-27.
automatic system was designed and run in Linux 3. Bailey M, Cooke E, Jahanian F, et al. The internet
environment. As per planned our system automatically motion sensor - a distributed blackhole monitoring
send the SMS and email to the person monitoring it that system. Network and Distributed System Security
the alert is not send. The testing is done at the end of Symposium, 2005.
every module and the observed outputs are as per the 4. Phipps ET. Personal medical monitoring unit and
requirement. The final outcome of the tool is accepted. system. U.S. Patent No. 6,579,231. 2003.
If the alert is delay then it automatically sends the SMS 5. Jürgen B, Lin HY, Riemschneider S, et al. Monitoring
and email. of genes that respond to overproduction of an
insoluble recombinant protein in Escherichia coli
References glucose‐limited fed‐batch fermentations.
Biotechnology and Bioengineering 2000; 70(2): 217-
1. Nomikos P, MacGregor JF. Monitoring batch 22.
processes using multiway principal component

11

You might also like