logo
 
home | products| support | contact 

EvLog Scheduling

To schedule EvLog reports you need to create a batch file with the proper instructions and to schedule the batch file with MS Task Scheduler or a similar tool. Here is an example of configuring EvLog to send an HTML report via email every morning at 8:00 am for the events in the last 24 hours.
In the example we will assume that we want to monitor errors, warnings and failure audits on 2 server: SERVER01 and SERVER02. SERVER01 runs the SMTP service that will be used for the email.

1. Create a folder on SERVER01 - C:\Logs
2. Download EvLog and unzip it in C:\Logs
3. Copy the sample configuration file config1.ini to server.ini
4. With a text editor, open server.ini and make the following modifications:

Dumps directory=C:\Logs
Report file=C:\Logs\dailyeventreport.html
EvLog Location = C:\Logs
Licensee = <your company name here>
Information Events = no
Warning Events = yes
Error Events = yes
Success Audit Events = no
Failure Audit Events = yes
Send Email = yes
SMTP Server = SERVER01
Email Subject = Event log report
Recipient Email Address = support@yourdomainname.com
Sender Email Address = reports@yourdomainname.com
Open Report = no


5. Save server.ini
6. Open daily.cmd and enter the following:

C:\Logs\EvLog C:\Logs\server.ini SERVER01
C:\Logs\EvLog C:\Logs\server.ini SERVER02


7. Save daily.cmd
8. Open the MS Task Scheduler: Start, Programs, Accessories, System Tools, Scheduled Tasks
9. Double-click Add Scheduled Task, click Next, Browse, Select C:\Logs\daily.cmd, click Open, select the Daily radio button, click Next, select 8:00 am as Start time, click Next, enter a user name that has admin rights (and its password), click Next and then Finish.
10. Right-click the newly created task and select "Run" to test the scheduled report

You can download the sample server.ini and the daily.cmd files as described above.

Replace the server names with the names of your servers. This setup can be modified to match your particular settings. See the Usage page for details about each setting in the configuration file.

  • home
  • eventreader
  • firegen
  • evlog
  • eventid.net
  • contact us

Contact Us

ALTAIR
TECHNOLOGIES
LTD

P.O. Box F-44526
Freeport, Bahamas
Phone:
+1 (416) 619-4418
Fax:
+1 (416) 946-1444

sales@altairtech.ca
 

Customer services

Contact us
Open support ticket
Check ticket status

Help & FAQ

Sales FAQ

Articles

Managing logs
Recommended books

Links

TCP/IP Protocols
Our newsletter


© Copyright 2012 - Altair Technologies Ltd.