Re: Problem in using Counter64
umashankar tm <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Some more info: I am using Net-SNMP 5.3.1. And I get the right value if I print the low and high values within the agent. ie, in xx_data_access.c if i do printf xxx.low and xxx.high, o/p: low: 100, high: 1 but snmpget gives following o/p: # snmpget -v2c -c public localhost xxxx.0 xxxx.0 = Counter64: 1 Any help appriciated. Thanks, Umashankar --- On Mon, 12/1/09, umashankar tm <[email protected]> wrote: From: umashankar tm <[email protected]> Subject: Problem in using Counter64 To: [email protected] Date: Monday, 12 January, 2009, 7:20 PM Hi, In my MIB I have a variable defined as Counter64. when I generate code using mib2c, it is converted to U64. I am assigning xxx.high = 1 and xxx.low=100. rowreq_ctx->data.xxx.high = 1; rowreq_ctx->data.xxx.low = 100; If I do snmpget I will get the output as 1. ie only xxx.high is displayed. Please let me know am I missing out anything or point me to some relevent on docs. Regards, Umashankar Connect with friends all over the world. Get Yahoo! India Messenger.------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB_______________________________________________ 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 Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/ ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ 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