Bind values to a new created oid in the ifTable
Magda Stefan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I create 2 new oids that represent "One way delay" and "Available transfer rate" for each of the computer's network interface. I chose to introduce them under the ifTable. Now, I have to configure the subagent to get the right data from a file(eg. eth0atr.txt , eth0owd.txt ) and bind it to those variables. I began with the mib2c.mfd.conf function to create the proper "C" files but I don't know how to modify them because on Internet I found only a tutorial for the 5.2 version of net-snmp. I am using the following programs: - Fedora core 14 - net-snmp version 5.5 I have attached to this email my MIB file and the C files that mib2c has generated. If anyone can help me with the basic steps and an example of code I would appreciate it! Thank you for your consideration, Stefan Magda PS: Please excuse me for my bad English and please help me as soon as possible because I my deadline is in 3 days. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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