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. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--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> </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> </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 netsnmp_register_int_instance.</DIV> <DIV> </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> </DIV> <DIV>Please comment.</DIV> <DIV> </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 |