There have been several ITSO redbooks which have dealt with rulesets,
going all the way back to Version 4 when they were introduced.
Examples of Using NetView for AIX Version 4 SG24-4515-00
Integrated Management Solutions Using NetView Version 5.1 SG24-5285-00
are both old but contain the most comprehensive discussions. Note that
you do not have to develop the custom code for determining the contents of
collections (smartsets) discussed in the first one. The nvUtil command
provided in NetView 5.1 will do that job these days. While you are at it,
you might want to look at Tivoli NetView 6.01 and Friends ( SG24-6019-00) for
its recommendations on best practices implementing
NetView and related products. You can get copies of ITSO redbooks at
http://www.redbooks.ibm.com
If you are having trouble with getting your rulesets to work, the best
thing to do is to trace them.
nvcdebug -d all
will start comprehensive tracing in the nvcorrd.alog and blog (the logs
switch every 10,000 messages). To see what happens with your ruleset,
look for the "Received a trap" eyecatcher and the "Finished with the trap"
eyecatcher. Everything that happens in-between is what nvcorrd is doing
as a result of that trap.
There is no doc on how to read this trace but it is very straight-forward.
Also, if you are using an action, be sure to look at nvaction.alog/blog
to see what happens when actionsvr gets the action.
Coding effective rulesets is not nearly as hard as you think.
James Shanks
Level 3 Support for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
Ingleson Peter <peter.ingleson@ncmgroup.com>
06/28/2002 08:14 AM
To: "'nv-l@lists.tivoli.com'" <nv-l@lists.tivoli.com>
cc:
Subject: FW: [nv-l] Rulesets
-----Original Message-----
From: Brian Green [mailto:brian.green@cgi.com]
Sent: Friday, June 28, 2002 1:11 PM
To: Ingleson Peter
Subject: RE: [nv-l] Rulesets
Peter,
I agree - the manual seems a little obscure on the rulesets for NV. I
second the request - is there a better resource anywhere on creating rules
within NetView? I am also NV 7.1.2 on AIX 4.3.3
Thanks,
Brian
-----Original Message-----
From: Ingleson Peter [mailto:peter.ingleson@ncmgroup.com]
Sent: Friday, June 28, 2002 7:41 AM
To: 'nv-l@lists.tivoli.com'
Subject: [nv-l] Rulesets
Hi,
I'm trying to setup a ruleset that will fire out emails when certain nodes
are down. I want to do it with rulesets rather than an unix script when a
trap is received.
I have created an event stream with pass enabled, next I have a trap
setting
which looks for the netview trap 58916865 (node down), which is then
linked
to an action command, script execution, finally followed by a forward
command. I'm afraid nothing seems to happen, I've tested the script from
the
console prompt and that works fine. The workspace displays the traps,
infact
it displays everything coming in. If anyone has done similar I'd be
interested to hear how.
I'm running with AIX 4.3.3 and NV 7.1
If there are any good examples out on the Internet a pointer would be
appreciated, I'm finding the manual a little cryptic, or perhaps the
manual
is finding me a bit dull.
Regards
Peter
Privileged/Confidential Information may be contained in this message. If
you
are not the addressee indicated in this message (or responsible for
delivery
of the message to such person), you may not copy or deliver this message
to
anyone. In such a case, you should destroy this message and kindly notify
the sender by reply e-mail.
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
Privileged/Confidential Information may be contained in this message. If
you
are not the addressee indicated in this message (or responsible for
delivery
of the message to such person), you may not copy or deliver this message
to
anyone. In such a case, you should destroy this message and kindly notify
the sender by reply e-mail.
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|