See the chapter Understanding ENS for information about events.
To add an event
$ CONSOLE EDIT /INTERFACE=character_cell
CM Edit> add event
Event name: Login Warnings
Class (DEFAULT:) Security
Subsystem (:) Logins
Information: Login attempt failed
Text: Remote interactive login failure
If you do not enter a metacharacter signifying that the string is a regular expression, the editor assumes your text is a literal string (see the chapter Understanding ENS ).
If you enter a metacharacter to signify that the string is a regular expression, for example Remote*login failure, then you are asked if you want to match the text exactly:
Exactly match text? [Y/N] (Y:) Y
Enter Y for a literal string match, or N for a regular expression.
Start [0-999] (0:) 3
For example, a start of 3 means that the event starts 3 lines before the text Login attempt failed.
Count [1-1000] (1:) 14
For example, a count of 14 means that the event continues from the start for 14 lines.
Priority [1=Critical, 2=Maj, 3=Min, 4=Warn, 5=Clear, 6=Indet] (5:)
4
For example, if it is warning, enter the number 4.
OK to add? [Y/N] (Y:) Y
The following is an example of what you see on your screen:
Database contains NO verification errors CM Edit> add event Event name: Login Warnings Class (DEFAULT:) Security Subsystem (:) Logins Information: Login attempt failed Text: Remote interactive login failure Start [0-999] (0:) 3 Count [1-1000] (1:) 14 Priority [1=Critical, 2=Maj, 3=Min, 4=Warn, 5=Clear, 6=Indet] (5:) 4
OK to add? [Y/N] (Y:) Y
Continue to add further events in the same way.
|
Copyright © 2010 CA.
All rights reserved.
|
|