[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

5139.0. "notification / collector severity colors???" by IOOSRV::GALVIN (Mic, (306) 781-5448) Wed Jun 02 1993 19:39

    
    		NOTIFICATION / TARGETs
    
    
    
    In using the MCC_EVC_SEND.EXE program I ran into something weird...
    I used almost the identical program in the COLLECTOR doc, to prove to a
    customer that the COLLECTOR could NOTIFY & TARGET and eventually ALARM.
    
    Well, I setup the SINK, setup the COLLECTOR, and fired off the
    MCC_EVC_SEND, first from FCL and then the IMPM; the severities are
    DIFFERENT!
    
    
    I tested it a couple of different ways and no go, Joe.  What is
    happening, is that regardless of severity I give it in FCL, ie:
    
    MANAGE/ENTER MCC_EVC_SEND "que_stopped" "error" "hi" "warning" "decnet"
    it comes out RED (the icon for COLLECTOR-QUEUE_STOPPED);
    
    I tried it again with "NODE4" "target_system_name", again using
    "warning", or "minor", etc. and the TARGET turns RED!
    
    
    
    Now, I'm color blind, but I *know* the color RED!  ;^)
    
    Is this a bug?  If it's been reported I apologize...
    
    
    /Mic
    
T.RTitleUserPersonal
Name
DateLines
5139.1Data Collector 101.TOOK::MCPHERSONDead or Canadian?Thu Jun 03 1993 00:1761
Huh?

Mic, mcc_evc_send.exe is a standalone program run from the system command
interpreter (i.e. DCL on VMS, csh or whatever on U*X) and NOT from within MCC
FCL as your example infers:  MANAGE/ENTER MCC_EVC_SEND "que_stopped" "error"
"hi" "warning" "decnet"

This is the order of the arguments that the mcc_evc_send.exe program is looking
for: 

$ mcc_evc_send <mcc_node> <collector_name> <target_entity> <event_title> -
_$ <event_text> <severity> <protocol>

example:
$ mcc_evc_send mcdoug que_stopped " " Error Hi warning Decnet
                  ^      ^         ^    ^   ^    ^      ^
                  |      |         |    |   |    |      |
               MCC       |       Target |   | Severity  |
               System    |              |   |           |
                       Collector     Event  |       Protocol
                       Name          Title  |            
                                            |            
                                          Event                          
                                          Text                  
                                                 
Note that quotes aren't needed unless you're passing in a null string or
a string with embedded spaces.


If I had wanted the icon for node4 BOEHM to light up because the queue on
BOEHM had stopped, I would have targetted the data collector event to that by
simply specifying "NODE4 BOEHM" in the <target_entity> argument to
mcc_evc_send.exe instead of just passing in a null string, like I did in the
first example.
Example:
	$ mcc_evc_send mcdoug que_stopped "node4 boehm" Error Hi warning Decnet

>    In using the MCC_EVC_SEND.EXE program I ran into something weird...
>    I used almost the identical program in the COLLECTOR doc, to prove to a
>    customer that the COLLECTOR could NOTIFY & TARGET and eventually ALARM.

It may be that the docs are screwed up on this -- I don't know (I haven't read
the 1.3 docs...).  If you look over the comments in the source code
mcc_evc_send.c (on the kit, somewhere in the mcc directories) you'll get a
better explanation of how the application is supposed to work.
    
    
>    Well, I setup the SINK, setup the COLLECTOR, and fired off the
>    MCC_EVC_SEND, first from FCL and then the IMPM; the severities are
>    DIFFERENT!

Like I said, you can't 'fire off the MCC_EVC_SEND' directly from within MCC --
you do it from the system prompt.  mcc_evc_send.exe is a standalone
application from MCC.   If you want to send a data collector message from
within MCC, you need to use the "Send Message" directive.
    
To sum up: the behavior you are describing is not consistent with any bugs I
know of, except for possibly bugs in documentation.   I've told you about all I
can.. Keep trying.    

/doug
5139.2check "propogation" selectionTOOK::JEAN_LEEFri Jun 04 1993 10:3515
    
    Reply to .0
    
    Aside from Doug's correction to the command, you also need to check how
    your notification is instructed.  Please pull down "options" from your
    map, click "map...".  Check your "propogation" selection.  If your
    selection is "highest", then your notification will only show the
    highest severity of color (in this case, RED). But if you select
    "latest", then the color will change according to the severity level of
    the event you send.  
    
    Check it out, and let me know how it goes.
    
    	Jean
    
5139.3correlate using TITLECTHQ::WOODCOCKFri Jun 04 1993 10:5923
    
>    Aside from Doug's correction to the command, you also need to check how
>    your notification is instructed.  Please pull down "options" from your
>    map, click "map...".  Check your "propogation" selection.  If your
>    selection is "highest", then your notification will only show the
>    highest severity of color (in this case, RED). But if you select
>    "latest", then the color will change according to the severity level of
>    the event you send.  
    
There is also another solution to correlation. Be careful with LATEST because
it can cover up problems in the domain hierarchy but it may be good for you. 
What we do to get COLLECTOR event correlation is to send the ***EXACT*** text 
in the EVENT TITLE field with different severities. Your que example would 
then be:

$ send_event <collector> "node4 x" "Queue Status Change" "Down" "critical" decnet
$ send_event <collector> "node4 x" "Queue Status Change" "Up" "clear" decnet  

The clear event will override the critical in this example even using HIGHEST.
Good stuff cheap...

cheers,
brad...
5139.4Bravo BradMCC1::DITMARSPeteTue Jun 08 1993 12:135
The latest severity propagation mechanism is useful for
only a very few circumstances.  

Using highest and the appropriate correlation mechanism
is the best way to go for real world solutions.