From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078620310389.tru64-unix-managers.marc@archive.invalid> From: james.mcknight () ubs ! com Date: Thu, 11 Dec 1997 14:49:59 +0000 To: tru64-unix-managers Subject: snmptrap on DEC UNIX v4.0B X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078620310389 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--MimeMultipartBoundary" --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--