Feature #99
closed
Daemon Program - Generate Daily Incomplete events list
Added by Chooi-Mey over 13 years ago.
Updated over 13 years ago.
Description
1) Run on 00:05 daily.
2) Retrieve records (all fields) from usa:event_log table, with criteria: status = INCOMPLETE; last_updated = <YESTERDAY>
3) Output: CSV file format; UTF-8.
4) Store into file system and also send file via email to notify.
Changes:
1) Run on 01:05 daily.
2) Retrieve records (all fields) from usa:event_log table, with criteria: status = INCOMPLETE or PENDING; last_updated = <YESTERDAY>
3) Segegrate the files by status.
4) Files send within a email.
- Status changed from New to Feedback
- % Done changed from 0 to 100
- Resolution set to Fixed
already developed program. The program is developed based on this flow:
Activity Diagram - Event Report
To execute the program:
cd
to the directory:
/usr/ecosway/daemon/qconnector
- then, execute the shell script:
- the generated report will be saved in:
/usr/ecosway/daemon/qconnector/reports
- (Optional) In order to receive the notification email, edit:
vi /usr/ecosway/daemon/qconnector/config/EventReport.properties
- append the email address to the property name, app.email.recipient:
e.g. app.email.recipient=cychoo@cosway.com.my;ecosway.nagios@gmail.com
- done.
- Status changed from Feedback to Closed
Also available in: Atom
PDF