|
RE: .0
I think that your Alarms Rules MIR files have 'similar' rules.
A rule's name is associated with Domain name, and every rule name
is unique in the Alarms Rules MIR file. In entity spec, the domain name
is the global entity instance, and the rule name is the child entity.
For example "domain .foo rule bar" is stored as a two level entity
spec:
class: domain instance: .foo
|
class: rule instance: bar
Since the domain name is a fullname data type, the namespace name
is implied. If you are using Local MIR the real domain name is
LOCAL_NS:.foo; if you are using DNS and your namespace name is
CITIBANK, the real domain name is CITIBANK:.foo.
The internal representation of a namespace name (called UID) usually
consists of an Ethernet address and timestamp in DNS.
The LOCAL_NS: is a special UID consisting of 14 bytes of zeros.
In your case (.0), you have two similar rules:
Domain 00-00-00-00-00-00-00-00-00-00-00-00-00-00:.cgin.singapore
|
Rule pbtp_bridge1_unavailable
AND
Domain CITIBANK:.CGIN.SINGAPORE
|
Rule pbtp_bridge1_unavailable
The first rule is created using Local MIR; and the second was created
using DNS. When the MCC_ALARMS_EXTRACT_RULES.EXE was run, the DNS
was selected as the namespace (you can check logical MCC_DNS_SELECTION).
When namespace UID for LOCAL_NS
(00-00-00-00-00-00-00-00-00-00-00-00-00-00) was passed to DNS routine,
the routine returned an error (since there is no DNS namespace name
with such UID) and MCC-DNS routine translated the namespace name to
the hex string 00-00-00-00-00-00-00-00-00-00-00-00-00-00.
These two rules are considered different in DECmcc since their entity
specifications are different (domain names are different).
I think that in your case some DCL command procedure for creating
alarm rules were run twice - once with DNS and once with Local MIR.
You can reproduce this problem as follows:
$ define MCC_DNS_SELECTION MIR
$ manage/ent
MCC> create domain .foo rule bar -
expression = (snmp bear ipReachability = down)
MCC>! the rule's entity spec is "domain LOCAL_NS:.foo rule bar"
MCC> exit
$ define MCC_DNS_SELECTION DNS
$ manage/ent
MCC> create domain .foo rule bar -
expression = (snmp bear ipReachability = down)
MCC>! the rule's entity spec is "domain CITIBANK:.foo rule bar"
MCC>! This is different from "domain LOCAL_NS:.foo rule bar", and
MCC>! thus is allowed to be created.
MCC> exit
William
|