Actually, I was addressing the Link Up/ Link Down traps which are sent
by the routers themselves - these are the traps we monitor as opposed to
the ones generated as a result of netmon polling. In fact we don't even
display the netmon interface up/down traps and rely on the Cisco traps
which are "real-time". The $A in this case is most definitely the Cisco
router - I use it to open Remedy Tickets, send email, pages, etc.
Blaine Owens
Eastman Chemical Company
Email - bowens@eastman.com
Phone - (423)229-3579
Fax - (423)229-1188
> -----Original Message-----
> From: James_Shanks@TIVOLI.COM [SMTP:James_Shanks@TIVOLI.COM]
> Sent: Thursday, September 03, 1998 7:12 AM
> To: NV-L@UCSBVM.ucsb.edu
> Subject: Re: Interface Down Events
>
> 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@mtp.gov> on 09/01/98 02:06:38 PM
>
> Please respond to miked@mtp.gov
>
> To: NV-L@UCSBVM.UCSB.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@eastman.com
> >
> > > -----Original Message-----
> > > From: Marc Russo [SMTP:mrusso@AL.IISL.COM]
> > > Sent: Monday, August 31, 1998 4:37 PM
> > > To: NV-L@UCSBVM.ucsb.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@al.iisl.com)
> > > International Integrated Solutions, LTD
>
> If this is a trap generated by Netview (via netmon) $A will return
> the
> hostname of Netview.
|