From: james.mcknight () ubs ! com
To: tru64-unix-managers
Subject: snmptrap on DEC UNIX v4.0B
Date: Thu, 11 Dec 1997 14:49:59 +0000 [thread overview]
Message-ID: <96078620310389.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--MimeMultipartBoundary", Size: 900 bytes --]
--MimeMultipartBoundary
Content-Type: text/plain; charset=ISO-8859-1; name="cc:Mail"
Content-Transfer-Encoding: 7bit
Hi folks,
I've managed to compile both SNMP v1 & v3 source code on DU v4.0B but
snmptrap was a problem due to it being a 64bit system. I changed the
definition of pdu->trap_type & specific_type to long from int in the
source code and it now works, sending traps out to my FlightDeck
server.
Unfortunately, it reads them all as of generic trap_type '0'
(Cold-Start) rather than '6' (Specified).
Anyone out there had more luck than me and got an snmptrap exec that
actually does the whole business ?
I'm getting tired of beating my head against a wall trying to sort out
the change from the 'int' to the 'long'!
Thanks in advance,
James
--MimeMultipartBoundary--
reply other threads:[~1997-12-11 14:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox