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:
- New Alert Profile - Click this menu to create a new Alert Profile.
- Delete Alert - Select the check boxes of Alert Profiles to be deleted and click this menu.
- Export Profiles - Select the check boxes of Alert Profiles to be exported and click this menu. The profile will be downloaded as an XML file (EventLogAnalyzer_Profiles.xml), through your browser into your client machine.
- Import Profiles - Click this menu to import filter profiles. On clicking the menu, Import Profiles screen pops-up. In that, you will find File Location text box and Browse button besides. Enter the location of the XML file (EventLogAnalyzer_Profiles.xml) or use the browse button to locate the XML file. Click Import button to import the profiles in to EventLog Analyzer server and Cancel button to cancel the import profiles operation. If the filter already exist in EventLog Analyzer, clicking Import button will list Failed To Import option and the existing filters with check boxes and you will find Over Write button and Cancel button to cancel the import profiles operation. Select the check boxes of filters to overwrite and click Over Write button.
 |
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
icon
to disable the Alert Profile. This is a toggle icon, so click it again to enable the
Alert Profile. Click the
icon to Edit the Alert Profile. Click the
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.
- Provide an Alert Profile Name
- Choose the Criticality. Criticality
can be High, Medium, or Low. This is a value that you set for the alert,
for your reference.
- 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.
- In the Define Criteria section you have to define the criteria for Alert generation.
- 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.
- If the criteria is based on Severity,
then the following fields will be available for creating the alert profile.
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. |
- In the Notify by: section, you will find three tabs to choose the notification mechanism.
- 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.
- Source - Source of the log
- HostName - Host generating the log
- AlertName - Name of the alert profile.
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.
 |
You will have to configure the Mail
Server Settings in EventLog Analyzer before sending e-mails
from the server. |
- 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.
- Source - Source of the log
- Hostname - Host generating the log
- Criticality - Criticality of the alert
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.
- 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.
- Source - Source of the log
- HostName - Host generating the log
- AlertName - Name of the alert profile
- Criticality - Criticality of the alert
- NoOfOccurences - Number of occurences of the event
- Message - Message of the event
You can concatenate the arguments with your own text as SMS message of alert notification. You can enter up to 250 characters.
- 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