Re: Using Solaris SEA to send traps to netview

1998-09-22 10:09:40
Subject: Re: Using Solaris SEA to send traps to netview
From: Scott Monroe <scott.monroe AT LMCO DOT COM>
To: nv-l AT lists.tivoli DOT com
Date: Tue, 22 Sep 1998 10:09:40 -0400
I couldn't find the snmptrap command.  The only command I find is
/usr/sbin/snmp_trapsend for either Solaris 2.5.1 or 2.6.  What's also weird is
that the netview manager sees the trap coming in for some solaris systems and
not for other solaris systems. Doesn't even get to authentication error in the
trapd.log file.   BTW, here is what I'm trying to send:
snmp_trapsend -h uk -g 6 -s 12 -c unixsys -a ". STRING
(Testing the trap utility) " -- where unixsys is the community name.  When sent
from a certain 2.5.1 system I receive the authentication trap error. When sent
from other 2.5.1 or 2.6 systems nothing happens.  Netview doesn't even log the
event.  How bizarre...

Scott Monroe ..
-- lost on a highway deep in the state of confusion --

On Sep 22, 11:08am, Leonard Bocock wrote:
> Subject: Re: Using Solaris SEA to send traps to netview
> I am using the "snmptrap" command on a solaris 2.6 box to send test traps
> to netview successfully.  Maybe try using this.
> example of user defined trap (for enterprise just change the idents:)
> snmptrap <destination_host> public <enterprise_id> <source_host>
> <generic_trap_no> <specific_trap_no> <time> <variables [enterprise_id type
> value]>
> for example, to send a trap to "nvwdev" from host "noagw" at time 17:53
> with MIB variable number one saying "Testing", it looks like this (this is
> a Novell GroupWise trap)....
> snmptrap^nvwdev^public^^noagw^6^3^1753^
> 2.39.3^OctetStringASCII^Testing
> (where ^ is line space)  Regards, Leonard Bocock
> Scott Monroe <scott.monroe AT LMCO DOT COM> on 22/09/98 09:59:34
> Please respond to Discussion of IBM NetView and POLYCENTER Manager on
>       NetView et alia <NV-L AT UCSBVM.UCSB DOT EDU>
> cc:    (bcc: Leonard I. Bocock/NZ/Unisys)
> Subject:  Re: Using Solaris SEA to send traps to netview
> Well, I guess my question then is how do I track down the authentication
> error?
> I can run snmpwalk from the netview manager station on the Solaris system
> with
> no authentication problem so community name is correct.  I notice in your
> example that you are sending an MLM trap.  I want to use the snmp_trapsend
> utility in a shell or perl script from information in /var/adm/messages.
> Am I
> totally wrong in what to do here?  Do I need to set up an MLM?  I'm new to
> snmp
> issues so could be way off track.
> Scott.
> On Sep 21, 10:02am, Rick Barhydt wrote:
> > Subject: Re: Using Solaris SEA to send traps to netview
> > Scott,
> >         I am not having any problems sending traps using snmp_trapsend.
> > Following is an example of sending a MLM threshold trap from a sun 2.6
> box:
> > snmp_trapsend -h mallard -g 6 -s 12 -a ".
> (This is a trap from rickb on Solaris 2.6)"
> > The netview box receives and displays the trap just like any other. It
> sounds
> > like you need to track down the authentication error and resolve it
> first.
> > Then the snmp_trapsend should work fine.
> >
> >         RickB
> > > A utility snmp_trapsend is included with the Solaris SEA package.  I've
> been
> > > trying to get it to send a trap to my netview manager on AIX specifying
> an
> > > enterprise-specific trap.  The netview event window displays the trap
> as an
> > > authentication error.  Has anyone figured out how to use snmp_trapsend
> already?
> > >  Thanks,
> > >
> > > Scott Monroe
> > > CDI/MIS at LMFS-Owego
>-- End of excerpt from Leonard Bocock

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