Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Managing Installed Software and Machines : Add Event Dialog

Add Event Dialog
The following sections are available:
General Pane
Depending on the event type selected and whether you are setting an event for a machine or a process, the fields on the event panel change.
Event type CPU
Event type disk
Event type process
Description
Optionally provide additional information that is picked up by the alert itself.
Alert Pane
Generate Alert
Select this box if you wish to generate an alert to be sent to TIBCO Administrator and the log.
Generate Alerts for
Specify whether you wish to generate an alert for the first occurrence only or for all occurrences.
Level
Choose one of High, Medium, or Low. This will affect the appearance of the alert in TIBCO Administrator.
Message
Provide the message to display when the alert is triggered.
Required Configuration for sending an email
To send an email , we have to configure few settings in TIBCO_Home/tra/domain/domain_name/hawkagent.cfg specified below.
 
Here, SMTP HostName is the mandatory field.
# Email Action configuration
# SMTP server host name
#-email_smtp_server <SMTP HostName>
 
You can change default values.
# SMTP server port, default value is 25.
#-email_smtp_port 25
 
# Whether SMTP server authentication is required or not, default value is false.
#-email_smtp_auth_required false
 
# SMTP server user name
# Required only if SMTP server authentication is configured true.
#-email_smtp_user <UserName>
 
# SMTP server user password.
# Required only if SMTP server authentication is configured true.
#-email_smtp_password <password>
 
# Email From (Email Sender)
# Optional, default is current system user
#-email_from "HawkAdministrator"<admin@abc.com>
#-email_from <Sender email address>
 
It is mandatroy to restart Hawkagent after the changes.
Email Pane
Send Email
Select this box if you wish for an email to be sent to a specified user.
Send Email For
Specify whether you wish to send an email for the first occurrence only or for all occurrences.
Mail Server
Provide the mail server (SMTP server) to use to send the message. You can specify the host name or the host IP address.
To
Provide a comma-separated list of email addresses to which you would like to send the message.
CC
Provide a comma-separated list of email addresses to which you would like to send copies of the message.
Subject
Provide the subject of the email message.
Message
Provide the text of the email message.
Command Pane
Execute Command
Select this box to execute a command when the specified condition is met.
Execute Command For
Specify whether you wish to execute a command for the first occurrence only or for all occurrences.
Command
Specify the script to execute. Script files are highly recommended.
Commands are possible but are limited because the command line arguments cannot accept redirection (|), multiple command (;) or append characters(> and >>). Redirection is allowed in a script.
On Windows:
Use a .bat file that begins with the line @echo off to prevent the shell from exiting prematurely.
On UNIX:
If you purchased the full TIBCO Hawk product, see the TIBCO Hawk Administrator’s Guide for more information.
Arguments
To pass to the script, specify the list of arguments.
Rulebases
Lists the rulebases defined on this machine.
Events
Lists the event types defined on this machine.
Edit
Edits a monitoring configuration.
Click Add to display the Upload Rulebase File dialog where you can browse the file system for an existing TIBCO Hawk rulebase file. See To Add a Custom Rulebase to an Application on page 153 for more information.
Click Add to display the Add Event dialog. See Add Event Dialog on page 114 for details.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved