Creating Alert Profile for AS/400 Hosts


 

An alert is triggered whenever an event, matching a specific criteria, is generated. An alert profile lets you define such specific criteria, and also notify you by email, when the corresponding alert is triggered.

 

Click the Alert Profiles option in the Settings tab, to trigger an alert for occurance of event with a matching criteria. Clicking the option will open the Alert Profile Details page. The page contains a menu bar and list of alert profiles available.

The menu bar contains the following menu:

Tip There will be no hosts configured for the imported filter profiles. You have to edit the filter profile to configure the hosts.

 

Managing Alert Profiles

The Alert Profiles option lists all the Alert Profiles created so far, with the option to add more. Click the Enabledicon to disable the Alert Profile. This is a toggle icon, so click it again to enable the Alert Profile. Click the Edit DB Filter icon to Edit the Alert Profile. Click the Delete icon to delete the filter. The list also shows the filter type, hosts and host groups for which the filter has been set up.

Creating a New Alert Profile for AS/400

Click the Alert link to create a new alert profile for AS/400. You can find this link (AS/400 > Alert) on the sub tab below the main tabs.

  1. Provide an Alert Profile Name
  2. Choose the Criticality. Criticality can be High, Medium, or Low. This is a value that you set for the alert, for your reference.
  3. In the Select Host/Group section, you can select multiple hosts or groups of hosts from the list, if you want to create an alert profile for multiple hosts or a groups of hosts. This includes both default, and user-created host groups.

  4. attention

    Alerts will not work for those listed hosts from which logs have been imported. You need to Add the host to EventLog Analyzer for alerts to work.


  5. In the Define Criteria section you have to define the criteria for Alert generation.
  6. For the log message criteria part, you have the advanced option. Click the Advanced Option link. Above the Log Message Contains and Except criteria text boxes, Match Any and Match All options with buttons will appear. With Match Any and Match All options, you will be able to carry out and or or operation on the multiple Log Message Contains and Except criteria.
Field Description
Severity Select the severity of the event for which the alert has to be triggered. The severity list is: Emergency, Alert, Critical, Error, Warning, Notice, Information, Debug
Message ID The message ID of AS/400 host error message.
JobName The name of the IBM AS/400 job for which the error message was generated.

Log Message Contains

If you want the alert to be triggered when an event with a specific event log message is generated, type the log message here. Use comma ',' to separate multiple log message texts.

Except

If you do not want the alert to be triggered when an event with a specific event log message is generated, type the log message here. Use comma ',' to separate multiple log message texts.

Event Source If you want that alert should be generated for events received from specific host sources, mention the same in this text box. The alert will be generated for events received from the host(s) you have entered.
User If you want that alert should be generated for events received for a specific user, enter the user names in this text box. The alert will be generated for events received for the user(s) you have entered. This field is effective only for Security (Important) events.
Number of occurrences Enter the number of times the event has to be generated before triggering this alert.
Occurring within Enter the time interval between events, in minutes, after which this alert should be triggered.

  1. In the Notify by: section, you will find three tabs to choose the notification mechanism.
  2. Choose the E-mail tab to receive an e-mail every time an alert matching this alert profile is triggered. Fill in the recipient e-mail address in the To box. Emails can be sent to more than one email address by separating the email addresses using a comma ' , '. Enter the subject of alert in the Subject text box. You can select the following arguments from the Select Arguments combo box.

You can concatenate the arguments with your own text as subject of alert notification. Enter the text of alert notification in the Add Notes text box. You can enter up to 250 characters.

 

note

You will have to configure the Mail Server Settings in EventLog Analyzer before sending e-mails from the server.

  1. Choose the Run Program tab to execute custom scripts when an alert is generated. Specify the location of the script in the Location field or click the Browse button to get the location of the script/program. Select the parameters to be passed as arguments to the script in the Arguments field. The following details from the log can be passed as arguments to the script by clicking the appropriate option under Select Arguments. Apart from this, you can also specify other arguments as required.

Notify Alerts using SNMP

 

You can notify the alerts by SNMP Traps by running a program sendtrap.bat available in <EventLog Analyzer Home>/tools directory. You have to configure the SNMP host and if required SNMP trap port in the batch file.

  1. Choose the SMS tab to receive an SMS in your mobile phone, every time an alert matching this alert profile is triggered. Fill in the recipient mobile phone number in the Mobile Number text box. Enter the SMS message of alert in the Message text box. You can select the following arguments from the Select Arguments combo box.

You can concatenate the arguments with your own text as SMS message of alert notification. You can enter up to 250 characters.

  1. Finally click Add Alert Profile to save and activate this alert profile. Click Cancel to return to the previous page.
Copyright © 2012, ZOHO Corp. All Rights Reserved.
ManageEngine