[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

4679.0. "Use DECtalk w/ DECmcc?" by OSAP02::MERMEL () Thu Mar 11 1993 18:40

    
    Hi,

    We would like to integrate DECtalk into DECmcc.  One possible solution
    we thought of was if the notification FM can be configured to
    call a command procedure that would execute a program, or execute 
    the program directly, to provide the DECtalk.

    I am new to DECmcc, so I apologize if it is documented and I have not
    found it (though I did look through the manuals and did a 
    dir/title=:dectalk") , or if it is even possible.

    We hope to use DECtalk for both alarms generated from phase 4 decnet, 
    bridge, and also use the collector, which our application is sending
    information to (we are targetting hosts that is running our
    application).


    Thanks in advance,
    	Adam Mermel
    
T.RTitleUserPersonal
Name
DateLines
4679.1trivial.TOOK::MCPHERSONpre-retinal integrationThu Mar 11 1993 22:2310
    Piece of cake.  I hacked this sort of thing together for the MCC demo
    at InterOp 90.  [Let me tell you, it got pretty tiresome hearing the
    demo station yak on about how the "... Proteon router has seen > 100
    ifInErrs"]

    You just need to modify one of the sample alarm procedures on the kit
    to open the DECtalk TT port  & write out the appropriate messages.

    /doug
4679.2What about DECsoundMQOSWS::F_MONETTEMontreal Sales SupportFri Mar 12 1993 08:457
You can also use DECsound if you want to. Since DEcsound 
comes with Motif 1.1 and any new VAXstations, it very
easy to do and you may want record your own voice.

Regards,

Fran�ois
4679.3thanks, how abount using the collection moduleOSAP02::MERMELFri Mar 12 1993 10:3616
    Thanks,
    
    Just one more question,
    
    I do not see a way for the collection module.  The examples (and what
    I have tested) do not use an alarm module.  Can I create one for the
    collection module.  I am told that you can use a command procedure from
    the collection module, but I can't find it.
    
    Thanks
    	Adam
    
    ps,  if anyone has an example of this already done, would they either
    please post it here, or send me mail at osap02::mermel
    
    
4679.4Basic Principles of Rules...TOOK::R_SPENCENets don't fail me now...Fri Mar 12 1993 12:4915
    I think there is a missing piece of info here....
    
    A couple of basic principles may help;
    	Alarm rules can run a DCL (or shell on Ultrix) script when they
    		fire or
    		encounter an exception
    	When rules fire or encounter an exception they generate an event
    	The Data Collector actually collects events
    	Events can come from DECnet event sink or TCP/IP trap sink
    	Alarm rules can be written for events
    
    So, to use Data Collector events, write a rule that checks for it,
    have it run a script, have the script talk to DECtalk etc.
    
    s/rob
4679.5Possible sticky wicket here...MCDOUG::dougpre-retinal integrationFri Mar 12 1993 13:019
>    So, to use Data Collector events, write a rule that checks for it,
>    have it run a script, have the script talk to DECtalk etc.

The downside to this is that the only event type returned by the Data Collector
is that of "General Event".   OCCURS alarm rules are created on event type,
so this means that ANY Data Collector event will cause the rule to fire.  I
repeat: ANY Data Collector Event will cause the rule to fire.  

/doug
4679.6seperate by directoryCTHQ::WOODCOCKFri Mar 12 1993 19:4316
>> I repeat: ANY Data Collector Event will cause the rule to fire.  

You can use directories for partitioning these objects. Place all data 
collectors in a specific sub-tree of the MIR/DNS. Say .COLLECTOR for example.

Then you can write a rule expression like:

exp=(occurs(collector .COLLECTOR.* any event))

This works in V1.2 so you could seperate your collectors for specific uses.

Not tried for V1.3 and I don't even know if it's supported.

best regards,
brad...
4679.7Luck trumps Skill...TOOK::MCPHERSONpre-retinal integrationSun Mar 14 1993 13:267
Brad, 

That capability is entirely accidental (a fluke of the Notification FM).  We're
lucky it worked at all, but I'm glad you've been resourceful enough to
document the workaround...

/doug