nv-l
[Top] [All Lists]

Re: Automatic Action on AIX.

To: nv-l@lists.tivoli.com
Subject: Re: Automatic Action on AIX.
From: "Boyles, Gary P" <gary.p.boyles@INTEL.COM>
Date: Tue, 16 Mar 1999 13:53:42 -0800
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Alas,
Its one of those "written on Company time" things, and although Intel is
better than other companies I've worked for in regard to this... I'd still
have to get approval.  I'll see if I can find out "from who".
Regards,
Gary Boyles

-----Original Message-----
From: Gil Irizarry [mailto:IRIZARRG@LABS.WYETH.COM]
Sent: Tuesday, March 16, 1999 12:10 PM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Re: Automatic Action on AIX.


Gary;
  I do not have any answers for you, however, If you want to share the
script, I would gladly take a copy. I think that if you were to post it here
no one would mined.
Gil irizarry

>>> "Boyles, Gary P" <gary.p.boyles@INTEL.COM> 03/16 10:43 AM >>>
What the script does is as follows:
1)  Re-tests the interface.
2)  Puts an entry for the interface in a file
    (node  interface status)
3)  Closes the file, and then waits around for a few minutes...
4)  When another instance of the program starts up  (for follow-on
    interfaces)... they see the file is already there, do steps 1-3 above
    and then exit  (i.e. they don't wait around).
5)  When the original process wakes up again "after a few minutes", it
    counts the number of interface up/downs that have occurred, and
    summarizes them, and sends out a single page (and/or) mail.  The message
    displays the Total/Up/Down Count, the page displays the 1st interface
that
    is down (if any), and the mail shows all interfaces and their status.
6)  Also.. along the way -- if an interface "bounces" (goes down/up within
    that few-minutes) it is ignored  (i.e. nothing is reported on it).
7)  Finally... the original file with the node info in it is deleted, so
    that the procedure can start clean the next time.

The result is:
1)  I re-test (ping with retries) all interfaces.
2)  I only page once for multipe interface events on a single node.
3)  I don't page at all on transient/bouncing events.

Regards,

Gary Boyles


-----Original Message-----
From: OGrant [mailto:OGrant@PEC.COM]
Sent: Tuesday, March 16, 1999 6:28 AM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Re: Automatic Action on AIX.


Just out of curiosity, what does your perl script do?  I might be interested
in er, borrowing it from you -

Oliver Grant
Performance Engineering Corp.

> -----Original Message-----
> From: Boyles, Gary P [SMTP:gary.p.boyles@INTEL.COM]
> Sent: Monday, March 15, 1999 7:45 PM
> To:   NV-L@UCSBVM.ucsb.edu
> Subject:      Automatic Action on AIX.
>
> I have an AIX system, with NetView V4.1 running.  I've run across a
> problem
> with
> the "automatic action" for interface up/down, and I'd like to know whether
> this is
> normal or not.
>
> My problem is this... I have setup automatic actions for interface-up and
> interface-down
> (I fire off a perl-program).  This seems to work fine for one interface,
> but
> if I try to run
> more than one at a time... they get processed one-at-a-time -- in
> sequence.
>
> NetView on NT V5.1 doesn't do this... if there are 15 interfaces coming
> up... it fires
> off 15 perl-scripts.
>
> My question is... is this normal, or not.
>
> Thanks.
>
> Gary Boyles

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

Archive operated by Skills 1st Ltd

See also: The NetView Web