Here is an example of how I have configmaker generating config files. I have been looking for a way to put the data on the Port Name line after the -- on the Title and Pagetop lines. Is there a way to do this ? I have tried different combinations of settings and havent found how to do it so far -
### Interface 12 >> Descr: '' | Name: '2/1' | Ip: '' | Eth: '00-0a-41-13-6b-d0' ### Target[10.29.4.4_2_1]: #2/1:[EMAIL PROTECTED]: SetEnv[10.29.4.4_2_1]: MRTG_INT_IP="" MRTG_INT_DESCR="" MaxBytes[10.29.4.4_2_1]: 1250000 Title[10.29.4.4_2_1]: Traffic Analysis for 2/1 -- PageTop[10.29.4.4_2_1]: <H1>Traffic Analysis for 2/1 -- </H1> <TABLE> <TR><TD>System:</TD> <TD> in </TD></TR> <TR><TD>Maintainer:</TD> <TD></TD></TR> <TR><TD>Description:</TD><TD> </TD></TR> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> <TR><TD>ifName:</TD> <TD>2/1</TD></TR> <TR><TD>Port Name:</TD> <TD>011DD3</TD></TR> <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR> </TABLE> Also, is there a way I can get cfgmaker to not put the #'s in front of the information for a port that is down because the workstation isnt connected at the point I run cfgmaker ? Havent found a way to do that either. For both questions, I am talking to a Cisco 6509 Catalyst switch. Thanks, Ron -------------------------------------------------------------------- Ron Nutter [EMAIL PROTECTED] Network Infrastructure & Security Manager Information Technology Services (502)863-7002 Georgetown College Georgetown, KY 40324-1696 -------------------------------------------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Kudyba Sent: Thursday, January 20, 2005 5:20 PM To: [EMAIL PROTECTED] Subject: [mrtg] cfgmaker errors: SNMP_util.pm line 627 & v4only at ./cfgmaker line 796 Installing on Linux RH8, having some difficulty using cfgmaker. mrtg-2.11.1. IP changed obviously... ./cfgmaker --global 'WorkDir: /path/to/html' --global 'Options[_]: bits,growright' --output /path/to/mrtg.cfg [EMAIL PROTECTED] --base: Get Device Info on [EMAIL PROTECTED]: SNMP Error: no response received SNMPv1_Session (remote host: "192.168.xx.yy" [192.168.xx.yy].161) community: "public" request ID: -1726724283 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/local/src/mrtg-2.11.1/bin/../lib/mrtg2/SNMP_util.pm line 627 SNMPWALK Problem for 1.3.6.1.2.1.1 on [EMAIL PROTECTED]::::::v4only at ./cfgmaker line 796 WARNING: Skipping [EMAIL PROTECTED]: as no info could be retrieved --base: Writing /path/to/mrtg.cfg /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:E0:18:03:zz:qq inet addr: 192.168.xx.yy Bcast:192.168.aa.bb Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4056298 errors:0 dropped:0 overruns:0 frame:0 TX packets:4192560 errors:0 dropped:0 overruns:0 carrier:0 collisions:144994 txqueuelen:100 RX bytes:1601205426 (1527.0 Mb) TX bytes:952633043 (908.5 Mb) Interrupt:20 Base address:0x5000 Thanks, Rob http://www.messagepartners.com/ -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
