On Mon, Aug 03, 2015 at 11:41:37AM +0530, Vijay Nayani wrote: > > Dear All, > > I want to create MIB file with my PEN OID. Please find below requirement. > > SNMP v2 along with MIN-II should return attributes. > > 1. Host Name > 2. Mac Address > 3. OS & its Version > Manufacturer Name > Model Number > Serial Number > > 4. System Uptime > 5. Cold start Trap > 6. Warm start Trap > > My Private Enterprise Number SNMP Tree 1.3.6.1.4.45053 > > We are using Fedora 15 Linux OS, This MIB file run on this os. > > Can you help me to create above MIB file ?
You would publish all of that information though the simple act of starting net-snmp, there is no need to write any mibs as standard mibs already provide that for you. The one issue might be that you wish to update the sysLocation, sysContact and sysDescr config items, please see the snmpd.conf man page. Note that sysUptime is the time the network mangament portion (i.e. net-snmp) have been up, what you are looking for is probably hrSystemUptime. /MF ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders