Re: Interface Down Events
1998-09-03 07:12:22
Mike -
What level of code are you using? $A is supposed to return the trap
sender, which should be the box reporting the down interface. You are
correct that technically it is netmon reporting this but that trap which
netmon sends says that the "agent" who sent the trap is the failing box.
So Blaine is correct -- $A gives you the box with the failing interface.
James Shanks
Tivoli (NetView for UNIX) L3 Support
Michael Dors <miked AT mtp DOT gov> on 09/01/98 02:06:38 PM
Please respond to miked AT mtp DOT gov
To: NV-L AT UCSBVM.UCSB DOT EDU
cc: (bcc: James Shanks)
Subject: Re: Interface Down Events
Owens, Blaine wrote:
> Marc, if you are doing this via Event Configuration/Command for
> Automatic Action pass variable $A (agent reporting the trap).
>
> Blaine Owens
> bowens AT eastman DOT com
>
> > -----Original Message-----
> > From: Marc Russo [SMTP:mrusso AT AL.IISL DOT COM]
> > Sent: Monday, August 31, 1998 4:37 PM
> > To: NV-L AT UCSBVM.ucsb DOT edu
> > Subject: Interface Down Events
> >
> > Whenever an interface goes down on a router, it sends a trap to my
> > NetView
> > system. I want to be emailed whenever this happens, and sometimes
> > paged,
> > depending on which interface is down. The problem I am having is when
> > I
> > pass this to sendmail, I can only pass the interface that is down
> > (i.e. $2),
> > but I cannot pass which node is reporting this. Does anyone know
> > which
> > variable I can pass to sendmail (and eventually the paging utility) to
> > let
> > me know which node is reporting an interface down?
> >
> > Thanks,
> >
> > Marc Russo (mrusso AT al.iisl DOT com)
> > International Integrated Solutions, LTD
If this is a trap generated by Netview (via netmon) $A will return the
hostname of Netview.
|
|
|