Yes but cfgmaker does it differently. Here is an example command line for me:
/usr/bin/cfgmaker --ifref=name --output dance2960LT.cfg [email protected]:::::2 The :::::2 specifies SNMP v2. And here is part of the resulting config file (just one interface as an example): ### Interface 10003 >> Descr: 'FastEthernet0/3' | Name: 'Fa0/3' | Ip: 'No Ip' | Eth: '24-01-c7-36-49-03' ### Target[172.20.161.122_Fa0_3]: #Fa0/3:[email protected]:::::2 SetEnv[172.20.161.122_Fa0_3]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="FastEthernet0/3" MaxBytes[172.20.161.122_Fa0_3]: 12500000 Title[172.20.161.122_Fa0_3]: Traffic Analysis for Fa0/3 -- Dance2960LT_161.122.hampshire.edu PageTop[172.20.161.122_Fa0_3]: <h1>Traffic Analysis for Fa0/3 -- Dance2960LT_161.122.hampshire.edu</h1> <div id="sysdetails"> <table> <tr> <td>System:</td> <td>Dance2960LT_161.122.hampshire.edu in Dance Storage Closet</td> </tr> <tr> <td>Maintainer:</td> <td>Wm. Josiah Erikson </td> </tr> <tr> <td>Description:</td> <td>FastEthernet0/3 phone </td> </tr> <tr> <td>ifType:</td> <td>ethernetCsmacd (6)</td> </tr> <tr> <td>ifName:</td> <td>Fa0/3</td> </tr> <tr> <td>Max Speed:</td> <td>12.5 MBytes/s</td> </tr> <tr> <td>Ip:</td> <td>No Ip (No DNS name)</td> </tr> </table> </div> On 7/6/16 9:56 AM, [email protected] wrote: > But the snmp is working, look: > # snmpwalk -v 2c -c netcomrw 172.27.252.3 1.3.6.1.2.1.1 > SNMPv2-MIB::sysDescr.0 = STRING: Extreme Networks, Inc. S8 Chassis Rev > 08.22.01. > 0023 04/07/2014--16:18 ofc > SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.5624.2.1.133 > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2144097092) 248 > days, 3:49:30. > 92 > SNMPv2-MIB::sysContact.0 = STRING: Info.Telecomunicacoes > SNMPv2-MIB::sysName.0 = STRING: NC3DB2 > SNMPv2-MIB::sysLocation.0 = STRING: > BRA_SP_SaoPaulo_Matriz_DinoBueno_2Andar_CPD_ > NC03DB02_Nucleo > SNMPv2-MIB::sysServices.0 = INTEGER: 79 > SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00 > [root@li1964 ~]# snmpwalk -v 2c -c netcomro 172.27.252.3 1.3.6.1.2.1.1 > SNMPv2-MIB::sysDescr.0 = STRING: Extreme Networks, Inc. S8 Chassis Rev > 08.22.01. > 0023 04/07/2014--16:18 ofc > SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.5624.2.1.133 > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2144099201) 248 > days, 3:49:52. > 01 > SNMPv2-MIB::sysContact.0 = STRING: Info.Telecomunicacoes > SNMPv2-MIB::sysName.0 = STRING: NC3DB2 > SNMPv2-MIB::sysLocation.0 = STRING: > BRA_SP_SaoPaulo_Matriz_DinoBueno_2Andar_CPD_ > NC03DB02_Nucleo > SNMPv2-MIB::sysServices.0 = INTEGER: 79 > SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00 > Thanks, > > -- Wm. Josiah Erikson Assistant Director of IT, Infrastructure Group System Administrator, School of CS Hampshire College Amherst, MA 01002 (413) 559-6091
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
