[Top] [All Lists]

RE: [nv-l] ? about specific trap numbers

To: <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] ? about specific trap numbers
From: "Glen Warn" <Glen.Warn@pemcocorp.com>
Date: Mon, 8 Aug 2005 08:51:22 -0700
Delivery-date: Mon, 08 Aug 2005 16:51:27 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Thread-index: AcWcCPEV9x5tNQvmSIGkRAFaS+mIQAAJ+jWQ
Thread-topic: [nv-l] ? about specific trap numbers
Brilliant!  Obviously, I need to brush up on my math - but I was able to follow your explanation and leverage it for my issue.
This was exactly what I needed - thx very much,
Glen Warn
PEMCO Corporation Computer Services (PCCS)

From: Philippe Menard [mailto:PME@fr.ibm.com]
Sent: Monday, August 08, 2005 4:03 AM
To: Glen Warn
Subject: Fw: [nv-l] ? about specific trap numbers


your problem is related to signed vs unsigned 32 bit integers.
In other words : 2^32 = 4294967296 = 3221232503 + 1073734793.

Microsoft rightly considers that specific = 3221232503 is a legal value,
since the SNMP RFCs explain that specific is an unsigned integer.

The NetView programmers made a small mistake by using signed integers.
They made the same mistake when handling MIB variables, etc.
I still have a few scripts which add 2^32 in case of negative values.

About 2 years ago I opened a ticket about SNMP having no negative integers.
Your findings prove that this bug has not been fixed in every case.

Hope this helps,

----- Forwarded by Philippe Menard/France/Contr/IBM on 08/08/2005 10:54 -----
"Glen Warn" <Glen.Warn@pemcocorp.com>
Sent by: owner-nv-l@lists.us.ibm.com

06/08/2005 02:40
Please respond to

[nv-l] ? about specific trap numbers

NV 7.1.4 FP3 RH Linux AS 2.1
I am trying to modify some event configurations and have a puzzling problem.  Microsoft gives me the decimal "specific trap" number I will see and I can convert that number to HEX (which I can see is referenced in the control desk) but the actual events I have to specify are neither.  One example of my problem is this:
SPECIFIC   : -1073734793 (hex: c0001b77)
Decimal: 3221232503
I do not understand how the c0001b77 is converted into -1073734793.  The only way I've been able to figure these out so far has been to create an event that forces this trap.  Some of the remaining ones (3221232481 specifically) I cannot force out and don't know how to calculate the Netview specific.
Any ideas??
Glen Warn
PEMCO Corporation Computer Services (PCCS)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web