Re: Debugging SNMP

Sverre Moe <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <52838432-c34e-4dd9-97d7-564793e6ad6c@zcs>
I have tried to output the scalar name, oid and oid length. On every iteration it prints out a new unique scalar. 


Many scalars, but here is the output of a few: 
Scalar: version 1.3.6.1.4.1.40463.2.1 
Scalar: primary 1.3.6.1.4.1.40463.2.2 
Scalar: available 1.3.6.1.4.1.40463.2.3 
Scalar: hostname 1.3.6.1.4.1.40463.2.4 

And none of these occur more than once. 


Don't understand you last question. 



/Sverre 

----- Original Message -----

Fra: "Dave Shield" <[email protected]> 
Til: "Sverre Moe" <[email protected]> 
Kopi: "net-snmp-users" <[email protected]> 
Sendt: 26. oktober 2012 14:52:18 
Emne: Re: Debugging SNMP 

On 26 October 2012 13:29, Sverre Moe <[email protected]> wrote: 
> Full code of my scalar registration. Changed to register all scalars one by 
> one instead of in group. 
> 
> The oid_wrapper class is a wrapper around oid that contains an oid pointer 
> and the length of that oid. 

Try printing out the value of 'scalar_oid' (and 'scalar_length') 
each time round the loop. 
What is the registration call *actually* being invoked with? 
(as opposed to what you think it _should_ be invoked with) 

Dave 



CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be 
proprietary, confidential or subject to export regulations, and is only meant 
for the intended recipient(s). Any disclosure, copying, distribution or use is 
prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in 
error, please delete it immediately from your system and notify the sender 
properly.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.