| Title: | POLYCENTER Console Manager |
| Notice: | Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS: |
| Moderator: | CSC32::BUTTERWORTH |
| Created: | Thu Aug 06 1992 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 1541 |
| Total number of notes: | 6564 |
Hi,
I have a customer, running PCM V1.5, who has problem setting up action
mail. After creationof a filter (for details see below) he receives no
mail when any of the events occur but if he chooses the CM internal
subsystem he gets one. Can anybody shed some light to this ?
regards
Johan
Filter Name = MAIL-ERARASK
Information = Skickar MAIL till C-O Rask.
Interval = 1000 seconds
Event Interval = 0 seconds
Filter 4 events
BUGCHK_001 FATAL_BUG_CHECK
HALTED_002 Systemet_har_haltat.OK_?
MOUNT-REQ Mount-request.
TEST-PMAIL Test av Pmail ifr�n PCM.
Filter all classes
Filter 8 systems
GAER13 PATHWORKS-SERVER
GAERA1 CM,TR/JR
GAERA2 MAS,TR /JR Link&RSAmm
GAERA4 M3100. V�XEL-DATOR, ACB
GAERA5 BARTRACK,VCS,INTERACT
GAERA6 PW-SERVER BRYN�S
GAERA7 UTV.-MASKIN
GAERA9 RESERV F�R GAERA5
Filter 0 SubSystems
Filter all groups (1)
Notify regardless of event priority
Actions: (1)
Action 1: Mail Mail an event to a User
Information :
Schedule:
Run at any hour on any day
User data passed to action:
GAERA8::RASK
Action Name = Mail
Information = Mail an event to a User
Command = console$mail
Activate once for EACH event and EACH userdata item
Argument list:
Arg 1 = Event Name
Arg 2 = Event Class
Arg 3 = Event Information
Arg 4 = Event Text
Arg 5 = Event Priority
Arg 6 = Event Time
Arg 7 = Event source (System)
Arg 8+ = User data
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 452.1 | OPG::PHILIP | And through the square window... | Wed Oct 26 1994 14:05 | 61 | |
Johan,
A small tutorial on filters should fix your problem...
I have explained this before, but its worth doing again, its also
easier to explain relative to the DECwindows editor, so, in the
DECwindows editor, the filter box has the following buttons...
Events... Systems...
Subsystems... Priorities...
Classes... Groups...
These buttons have associated "All xxxx" buttons associated with
them which when deselected make these buttons active.
Now, when ENS gets an event, the following occurs....
If the new event matches ...
one of the EVENTS selected OR one of the CLASSES selected
AND the new event matches
one of the SYSTEMS selected or one of the GROUPS selected
AND the new event matches
one of the SUBSYSTEMS selected
AND the new event matches
one of the priorities selected
AND the new event is not one which previously occurred within the
event interval set
AND the new event is not within the interval set
THEN dispatch all the actions listed
BUT ONLY IF they are within their individual hours for the current
day of the week.
The AND and OR parts are significant, so if you have class X of
which events A and B are members, then you only need to select
the class X, deselect the "All events" button and DO NOT select
any events in the "Events..." dialog. So, an event will match if
its name matches one which is selected (in this example none are
selected) OR its class matches one of the classes selected (in
this case class X).
--- End Of Lesson ---
So, in your customers case, the filter match will fail because they
have not selected any subsystems, they should select all subsystems
unless they are only interested in a specific one!
Cheers,
Phil
| |||||
| 452.2 | CSC32::BUTTERWORTH | Gun Control is a steady hand. | Wed Oct 26 1994 19:33 | 8 | |
YoUIn addition to what Phil said, you may be getting bit by a bug in
the character cell editor. If you use the CC editor to modify a
filter it has the nasty habit of setting several of the fields so that
they filter 0 items. it does this if you walk through all the prompts
and take the default response.
Regs,
Dan
| |||||
| 452.3 | Thanks to both of you. /Johan | SWETSC::EKLUND | Cheer up, the worst is yet to come | Mon Oct 31 1994 09:59 | 1 |