Joe,
I would think you could do this one of two ways:
1) If a database field changes... then this is probably relating to
configuration. I would think that looking for one of the 14+
node/object/interface "change" events might solve some of the
problems.
2) For specific instances like "isDNS"... a simple way would be to
keep track of the members of the smart-set/collection defined by
"isDNS", and issue an event when the smart-set membership changed.
Of course, you'd have to write a script to do this.
Example Logic: (Create a batch-job or program that does this)
a) Get smartset membership. Save node-names to file.
b) Sleep for awhile (e.g. 1 hour).
c) Get current smartset membership.
d) Compare current-entries with entries from file.
e) Note (print) any exceptions (to screen & new file).
f) Issue a new trap back into the system with the node that is
no longer in the smart-set as the "agent" (for ruleset processing).
g) The end.
Regards,
Gary Boyles
-----Original Message-----
From: Prokott, Joe [mailto:Joe.Prokott@WESTGROUP.COM]
Sent: Wednesday, July 14, 1999 10:18 AM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Rule when NV field changes?
Is it possible to write a NetView rule that is executed at a time when a
particular NetView database field changes value(e.g., "isDNS" field set from
TRUE to FALSE via nvsniffer process)? Note that the changing of the NetView
field in its database does NOT generate an event, so I do not know of a way
to create such a rule that will dynamically and all of the time move forward
and execute the rule when the particular NV field changes values? Can a
specific NV rule node determine when a specific NV database field changes
values and then continue on with the rule/actions if this occurs?
Joe Prokott - West Group
Network Architect
610 Opperman Drive
St. Paul, MN 55123
Phone: 651-687-4536
Fax: 651-687-6946
E-mail: joe.prokott@westgroup.com
|