Cisco Systems 4.1 Dust Collector User Manual


 
14-31
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 14 Enabling and Tracking Syslogs Using Syslog Analyzer and Collector
Defining Automated Actions
If you select Choose Devices option, you must select the required devices (for details about the Device
Selector, see the topic
Using RME Device Selector in the section Adding and Troubleshooting Devices
Using Device Management).
Step 4 Click Next.
A dialog box appears in the Define Message Type page.
Step 5 Enter a unique name for the automated action that you are creating.
Step 6 Select either Enabled or Disabled as the status for the action at creation time.
Step 7 Select the Syslog message types for which you want to trigger the automated action from the Define New
Message Type section of the dialog box. (For explanations of the column titles Facility, Sub-facility,
Severity etc., see
Adding a Message Type.)
If you want to add, delete, edit, or selected system-defined Syslog message types, see:
Adding a Message Type,
Selecting a Message Type
Editing a Message Type
Deleting a Message Type
Step 8 Click Next.
The Automated Action Type dialog box appears.
Step 9 Select a type of action (E-mail, URL, or Script) from the Select a type of action drop-down list box.
If you select E-mail, enter the following information in the Automated Action Type dialog box:
If you select URL, enter the URL to be invoked, in the URL to Invoke field of the Automated Action
type dialog box. In the URL, you can use the following parameters:
$D (for the device)
$M (for the complete syslog message).
When the URL is invoked, If you have specified $D or $M, then, $D is substituted with the device
hostname or IP address and $M is substituted with the syslog message.
For example, if the URL is
http://hostname/script.pl?device=$D&mesg=$M
When invoked, $D is replaced with 10.68.12.2 and $M is replaced with the URL-encoded syslog
message.
If you select Script, enter the script to be used, in the Script to execute field of the Automated Action
type dialog box.
Either enter or select the script file. You can run only shell scripts (*.sh) on Unix and batch files
(*.bat) on Windows. The shell script or batch file should have only write/execute permissions for
casuser:casusers in UNIX and casuser/Administrator in Windows.
Field Description
Send to List of comma separated e-mail addresses. Mandatory field.
Subject Subject of the e-mail.
Content Content that you want the e-mail to contain.