nv-l
[Top] [All Lists]

Re: Return codes in "In-Line Action" Ruleset nodes

To: nv-l@lists.tivoli.com
Subject: Re: Return codes in "In-Line Action" Ruleset nodes
From: Ray Schafer <schafer@TKG.COM>
Date: Mon, 14 Dec 1998 23:50:23 -0500
Organization: The Kernel Group
Reply-to: schafer@tkg.com
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
"Giuliotti, J. P." wrote:
>
> Hello Again,
>
> AIX 4.2 NV6000 4.1
> When NV reports a Node Down event (NDWN_EV), I run it through a ruleset that
> pings the node from an In-Line Action box with the following settings:
> Command: ping -c 5 $NVATTR_2
>                                 Wait interval: 20 seconds
>                                 Command Exit Code Comparison: Not Equal to:
> 0
>
> This tells me that if Netview doesn't see a node it will try to ping it 5
> times and will give it 20 seconds to respond. If it sees a return code other
> than zero (there is a problem), then it will forward it on to the next node
> in the ruleset.
>
> I am still getting false alarms. Am I misunderstanding the way an inline
> action works? Is 20 seconds enough time for 5 responses? (I think so). What
> if 2 out of the five pings are "time outs" due to network latency? Will that
> trigger the return code to return other than a zero value even though the
> other 3 pings were good?

It will return 0 if any of the pings are successful.  However, you
should get to the source of the problem of why you are loosing pings
(more than likely the cause of the False Alarms). Are you getting
network errors (enstat for ethernet, tokstat for token ring look for
input/ouput errors)? If so, you should look at the transmit/receive que
sizes of each of your network cards (lsattr -El entXX or tokXX where XX
is the number). To find the range acceptable do lsattr -Rl ent0 -a
rec_que_size. (or tok0).  This will show the range allowed.  Set them to
the max with chdev -l ent0 -a rec_que_size=<max size>.

You will have to unconfigure the Software IP interfaces on top of the
hardware adapters before you can change it. (rmdev -l en0 or tr0). If
this is not possible, use the -P option to the chdev command to change
it in ODM, then they will take effect after next boot.


--
Ray Schafer                   | schafer@tkg.com
The Kernel Group              | Network Computing Consulting

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web