[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

1428.0. "change_of node4 remote node * state alarm not working" by KAOT01::S_HYNDMAN () Fri Aug 30 1991 18:23


	I need to monitor decnet phaseIV nodes on a lan via an x25router.
I will be connected to the x25router via a DLM circuit.  Unfortunately event
sinking can not be used.

	From mcc I can perform the following;

MCC> show node4 demsa remote node * state

	I then tried to create the following alarm rule

MCC> create mcc 0 alarm rule remote_node_state_change -
     expression = (change_of(node4 demsa remote node * state, *,*)-
     at every 00:02:00),


	However I receive the following;

	Valid entity specification not found in alarm expression


	This alarm works if I specify a specific remote node.  Why can I show the
remote nodes via a wild card but not use a wild card in an alarm rule?

	Is there another way that someone could suggest for me to check if a node
on the lan is up via the router?  


Scott
T.RTitleUserPersonal
Name
DateLines
1428.1Wildcards not allowed within the CHANGE_OF functionNANOVX::ROBERTSKeith Roberts - DECmcc Toolkit TeamTue Sep 03 1991 12:509
>> This alarm works if I specify a specific remote node.
>> Why can I show the remote nodes via a wild card but not use a
>> wild card in an alarm rule?

The CHANGE_OF function cannot accept wildcarded entity instances.
This is why you get the 'Valid entity specification not found...' error
message.

/keith
1428.2KAOT01::S_HYNDMANTue Sep 03 1991 13:498

	Thats a shame.  I'll have to create alot more rules. 

	Thanks for the reply.


	Scott
1428.3Try collecting the DECnet event....TOOK::CAREYFri Sep 06 1991 18:1117
    
    Play with events.
    
    The DECnet event "node reachability change" can be used to have a
    routing node tell you when nodes it used to know about disappear.
    
    Set up a nearby router to sink events 4.14 to your MCC node, set up the
    MCC node to sink the events to you, and use an alarms rule something 
    like:
    
    	OCCURS(NODE4 router REMOTE NODE * NODE REACHABILITY CHANGE)
    
    This will reduce your polling overhead on system and network, and get
    you the same information in as timely a manner.
    
    -Jim
    
1428.4KAOT01::S_HYNDMANTue Sep 10 1991 14:4022
    
    
    By a stroke of luck, I was able to use event sinks from the x25routers.
    
    	I currently have 13 X25 routers sinking events back over DLM circuits
    to my mcc system.  I set up rules as follows;
    
    (occurs(node4 router1 circuit ethernet adjacent node * adjacency down))
    (occurs(node4 router1 circuit ethernet adjacent node * adjacency up))
    
       I considered the rule you indicated. I decided against it because
    the X25 routers have DLM circuits to each other, and figured that I
    would get duplicate alarms from each router any time one went away.
    Since the Iconic map displays were the event was reported, not
    the node with the problem, all my routers would turn red.  This would
    be very confusing for the operators.
    
    
       Thanks for your input.
    
    
    Scott
1428.5how would you retarget these?TOOK::CALLANDERJill Callander DTN 226-5316Fri Sep 20 1991 10:1140
If you have a minute to think about your problem (wrong icon turning
a color), I would be intersted in knowing how you would retarget the
event so it turned the appropriate color. You could set it up such
that you have a rule and state the rule should turn a specifiec icon
a colo, or you could explicitly state that this event should turn this icon
a color.

Example of syntax:

verb: 	ASSIGN TARGET
entity:	DOMAIN <name>

arguments:	event source= <class> <instance>	!defines who generates
							the event
		event name = "name"
		managed object ="class #1"		!**more later
		target severity = value
		target entity = "class #2"

** the regating allows for symbol substitution (#1), for up to 10 symbols.
These allow the user to state that the instance specified in this entity class, it so be used as the
instance value in the target entity value.

For your example it sdeems that something like this might work:

instead of a rule for...
 (occurs(node4 router1 circuit ethernet adjacent node * adjacency down))

assign target domain name -
	event source=node4 router1 circuit ethernet adjacent node * , -
	event name = "adjancy down", -
	managed objec="node4 router1 circuit ethernet adjancet node #1", -
	taregt entity="node4 #1"
	target seveiryt= major

What do you think? Do you see any other potential uses? I am trying to gather a list of potentially
useful examples that we could ship with the kit (v1.2).

jill