Problem in registering timeticks

This is a discussion on Problem in registering timeticks within the SNMP Coders forums, part of the Networking and Network Related category; --0-1039975990-1109426151=:49929 Content-Type: text/plain; charset=us-ascii Hi all, I am pretty new to Net-SNMP. ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2005
Kelvin Moss
 
Posts: n/a
Default Problem in registering timeticks

--0-1039975990-1109426151=:49929
Content-Type: text/plain; charset=us-ascii

Hi all,

I am pretty new to Net-SNMP. I need to develop a subagent that attaches to master agent and reports values for some SNMP counters.

I have several counters that I need to register with the Master. Some of these have type timeticks in the MIB file. I can't find the appropriate function to register them. For integers I am using netsnmp_register_int_instance.

If I use netsnmp_register_int_instance for registering counters that have type timeticks then I get something like this on snmpget --
My-MIB::ebsIdleCPU.0 = Wrong Type (should be Timeticks): Gauge32: 1109416317

Please comment.

Best regards,
Kelvin


---------------------------------
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
--0-1039975990-1109426151=:49929
Content-Type: text/html; charset=us-ascii

<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am pretty new to Net-SNMP. I need to develop a subagent that attaches to master agent and reports values for some SNMP counters.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have several counters that I need to register with the Master. Some of these have type timeticks in the MIB file. I can't find the appropriate function to register them. For integers I am using&nbsp; netsnmp_register_int_instance.</DIV>
<DIV>&nbsp;</DIV>
<DIV>If I use netsnmp_register_int_instance for registering counters that have type timeticks then I get something like this on snmpget --</DIV>
<DIV>My-MIB::ebsIdleCPU.0 = Wrong Type (should be Timeticks): Gauge32: 1109416317</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please comment.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best regards,<BR>Kelvin </DIV><p>
<hr size=1>Do you Yahoo!?<br>
Yahoo! Mail - Easier than ever with enhanced search. <a href="http://us.rd.yahoo.com/evt=29916/*http://info.mail.yahoo.com/mail_250">Learn more.</a>
--0-1039975990-1109426151=:49929--


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0