[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

3774.0. "targeting not with lower case entities" by NBOFS1::HKLEIN () Mon Sep 21 1992 08:22

    Targetting seems not to work with lower case named IP entities.
    
    MCC V 1.2 VMS
    
    Hermann
T.RTitleUserPersonal
Name
DateLines
3774.1More details please.YAHEY::BOSEMon Sep 21 1992 13:135
	Hermann,
		Can you provide more details, please ?

	/rb
3774.2use exact registered namesMCC1::DITMARSPeteTue Sep 22 1992 14:22113
The notification FM isn't case sensitive, but it is sensitive to
the exact names used to register entities.

Generally, the SNMP entity instance you type in will be interpretted as
an internet name, and will be compared against the "name" alternate
identifier used during registration.  Trailing internet domain names,
that are typically ignored when possible by "standard" internet applications,
are NOT ignored and will make a difference here.

Suggested work-arounds are to either type a leading DNS namespace to make MCC
understand that you're using a fullname (if that's what you're doing) or
type the exact internet name used to register the entity.  Note that just
typing a leading dot (.) isn't good enough, as the instance will still be
treated as an internet name.

The DIRECTORY command will show you exactly how the entity is registered.
Don't trust SHOW; it looks similar, but the "name" argument simply echos
whatever you typed in.

MCC> dire snmp tcpmgr


SNMP MCC1_NS:.tcpmgr
AT 22-SEP-1992 09:51:25

Directory successful.
                        Registered Name = MCC1_NS:.tcpmgr
                                Address = 16.20.144.100
                                   Name = TCPMGR.LKG.DEC.COM
MCC> !
MCC> ! Specify the "name" without trailing internet domain names....
MCC> !   won't work since "tcpmgr" <> "TCPMGR.LKG.DEC.COM"
MCC> !
MCC> assign target domain foo event source = (snmp tcpmgr), -
_MCC> event name = "any config event", target severity = critical

Domain MCC1_NS:.foo
AT 22-SEP-1992 09:55:58

The entity SNMP TCPMGR  is not registered
                  Not Registered Entity = SNMP TCPMGR
MCC> !
MCC> ! Specify the exact name used to register it... will work upper/lower case
MCC> !
MCC> assign target domain foo event source = (snmp TCPMGR.LKG.DEC.COM), -
_MCC> event name = "any config event", target severity = critical

Domain MCC1_NS:.foo
AT 22-SEP-1992 09:57:28

Assignment successfully completed.
MCC> deassign target domain foo event source = (snmp TCPMGR.LKG.DEC.COM)

Domain MCC1_NS:.foo
AT 22-SEP-1992 09:58:03

Deassignment of targeting information complete.
MCC> assign target domain foo event source = (snmp tcpmgr.lkg.dec.com), -
_MCC> event name = "any config event", target severity = critical

Domain MCC1_NS:.foo
AT 22-SEP-1992 09:58:15

Assignment successfully completed.
MCC> !
MCC> ! Try it again using fullname
MCC> !
MCC> deassign target domain foo event source = (snmp TCPMGR.LKG.DEC.COM)

Domain MCC1_NS:.foo
AT 22-SEP-1992 09:58:43

Deassignment of targeting information complete.
MCC> assign target domain foo event source = (snmp MCC1_NS:.tcpmgr), -
_MCC> event name = "any config event", target severity = critical

Domain MCC1_NS:.foo
AT 22-SEP-1992 09:59:12

Assignment successfully completed.
MCC> !
MCC> ! Now try it with an entity that was registered with no internet domain names
MCC> !
MCC> dire snmp tstrig

SNMP MCC1_NS:.tstrig
AT 22-SEP-1992 09:51:26

Directory successful, entity has only been partially registered.
                        Registered Name = MCC1_NS:.tstrig
                                Address = 16.20.144.56
                                   Name = tstrig

MCC> assign target domain foo event source = (snmp tstrig), -
_MCC> event name = "any config event", target severity = critical

Domain MCC1_NS:.foo
AT 22-SEP-1992 10:08:22

Assignment successfully completed.
MCC> deassign target domain foo event source = (snmp tstrig)

Domain MCC1_NS:.foo
AT 22-SEP-1992 10:08:28

Deassignment of targeting information complete.
MCC> assign target domain foo event source = (snmp TSTRIG), -
_MCC> event name = "any config event", target severity = critical

Domain MCC1_NS:.foo
AT 22-SEP-1992 10:08:38

Assignment successfully completed.
3774.3some more infoNBOFS1::HKLEINWed Sep 23 1992 09:0119
    Thanks for reply,
    
    Did you get a notification to your entity foo, when it is registered in
    lower case ?
    It happend to me that the target command was accepted as in your
    examples, but if the rule (occur rule on 3 times fireing of
    ipreachability test) fires, the notification window shows the
    notification,looking into it's details shows that the target-name
    is changed to uppercase. But the entity is registered and created
    in lower-case, so notification does'nt find a target in the map.
    
    I tried ",', to tell the target-database that the target entity is
    lower case, but without success.
    
    Hope that explanaition is not confusing.
    I'll try to take some files to show it to you.
    
    Hermann
      
3774.4you're rightMCC1::DITMARSPeteTue Jan 19 1993 16:591
there is a bug here.  Thanks for reporting it.