[mrtg] MRTG Graph for Utilization on Cisco 6509 Returns no Data Options

Stover, Beth BStover at NorcalMutual.com
Fri Nov 30 22:16:26 CET 2007


I think I figured it out.  Either the cfgmaker assigned the incorrect
port number or the port number changed at some point.  I had to get the
correct port number from the snmpwalk:.

I substituted the correct port number in the mrtg.cfg, and I'm getting
data now.

Is it possible that the port numbers are changing?

Beth Stover
Systems Administrator
415.395.8768


_____________________________________________
From: Stover, Beth 
Sent: Friday, November 30, 2007 11:06 AM
To: 'mrtg at lists.oetiker.ch'
Subject: MRTG Graph for Utilization on Cisco 6509 Returns no Data
Options 

Are there any MRTG users out there who could help me with graphing the
utilization on a Multilinked Interface on a Cisco 6509. I've been using
MRTG for my Cisco switch for a while.  All of my other graphs are fine. 
I have 4 T1's -- 2 from each provider.  The T1's are multilinked, so I
have 2 multilinked interfaces on the Cisco box. 
The MRTG graph for one multilinked interface works fine.  The other one
returns no data. 
Here's the mrtg.cfg 
10.1.1.10 is the mgt ip on the cisco 6509. 
This one works: 
### Interface 10 >> Descr: 'Multilink1' | Name: 'Mu1' | Ip: 
66.66.66.66' | Eth: '' ### 
Target[10.1.1.10_10]: 10:pub...
<http://groups.google.com/groups/unlock?msg=e8390ed37b0026f4&hl=en&_done
=/group/comp.dcom.sys.cisco/browse_thread/thread/822e9a05614fa22d%3Fhl%3
Den> @10.1.1.10: 
SetEnv[10.1.1.10_10]: MRTG_INT_IP="66.66.66.66" 
MRTG_INT_DESCR="Multilink1" 
MaxBytes[10.1.10.10_10]: 384000 
Unscaled[10.1.1.10_10]: ymwd 
Title[10.1.1.10_10]: Traffic Analysis for Multilink1 ISP1 -- 
CORE.mydomain.com 
PageTop[10.1.1.10_10]: <h1>Traffic Analysis for Multilink1 -- 
CORE.mydomain.com</h1> 
                <div id="sysdetails"> 
                        <table> 
                                <tr> 
                                        <td>System:</td> 
                                        <td>CORE.mydomaincom in Server 
Room</td> 
                                </tr> 
                                <tr> 
                                        <td>Maintainer:</td> 
                                        <td>me</td> 
                                </tr> 
                                <tr> 
                                        <td>Description:</td> 
                                        <td>Multilink1 MultiLink to 
ISP1 </td> 
                                </tr> 
                                <tr> 
                                        <td>ifType:</td> 
                                        <td>ppp (23)</td> 
                                </tr> 
                                <tr> 
                                        <td>ifName:</td> 
                                        <td>Mu1</td> 
                                </tr> 
                                <tr> 
                                        <td>Max Speed:</td> 
                                        <td>384.0 kBytes/s</td> 
                                </tr> 
                                <tr> 
                                        <td>Ip:</td> 
                                        <td>66.66.66.66()</td> 
                                </tr> 
                        </table> 
                </div> 
This one doesn't work: 
Target[10.1.1.10_11]: 11:pub...
<http://groups.google.com/groups/unlock?msg=e8390ed37b0026f4&hl=en&_done
=/group/comp.dcom.sys.cisco/browse_thread/thread/822e9a05614fa22d%3Fhl%3
Den> @10.1.1.10: 
SetEnv[10.1.1.10_11]: MRTG_INT_IP="77.77.77.77" 
MRTG_INT_DESCR="Multilink2" 
MaxBytes[10.1.1.10_11]: 384000 
Unscaled[10.1.1.10_11]: ymwd 
Title[10.1.1.10_11]: Traffic Analysis for Multilink2 ISP2 -- 
CORE.mydomain.com 
PageTop[10.1.1.10_11]: <h1>Traffic Analysis for Multilink2 ISP2 -- 
CORE.mydomain.com</h1> 
                <div id="sysdetails"> 
                        <table> 
                                <tr> 
                                        <td>System:</td> 
                                        <td>CORE.norcalmutual.com in 
Server Room</td> 
                                </tr> 
                                <tr> 
                                        <td>Maintainer:</td> 
                                        <td>me</td> 
                                </tr> 
                                <tr> 
                                        <td>Description:</td> 
                                        <td>Multilink2 Multi-Link to 
ISP2</td> 
                                </tr> 
                                <tr> 
                                        <td>ifType:</td> 
                                        <td>ppp (23)</td> 
                                </tr> 
                                <tr> 
                                        <td>ifName:</td> 
                                        <td>Mu2</td> 
                                </tr> 
                                <tr> 
                                        <td>Max Speed:</td> 
                                        <td>384.0 kBytes/s</td> 
                                </tr> 
                                <tr> 
                                        <td>Ip:</td> 
                                        <td>77.77.77.77</td> 
                                </tr> 
                        </table> 
                </div> 
I get an error in the mrtg.log for the target that returns no data: 
2007-11-30 10:29:54 -- 2007-11-30 10:29:52: ERROR: Target[10.1.1.10_11]
[_IN_] ' $target->[89]{$mode} ' did not eval into defined data 
2007-11-30 10:29:54 -- 2007-11-30 10:29:52: ERROR: Target[10.1.1.10_11]
[_OUT_] ' $target->[89]{$mode} ' did not eval into defined data 
I know there's traffic going through the interface from looking at the
interface statistics and some perl scripts I have running to check
usage. 
I can do an snmpwalk from the Nagios server just fine.
I set things up by using the MRTG cfgmaker. 
Any thoughts would be very appreciated. 
Beth 


Beth Stover
Systems Administrator
415.395.8768


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20071130/612cd6e6/attachment-0001.html 


More information about the mrtg mailing list