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

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Mon Dec 3 09:41:47 CET 2007


Not the port numbers but the assigned index number in the MIB tree can change.
If you make changes to the configuration that create new interfaces these are added to the first free number in the index. After a restart the index will be rebuilt as well (with all interfaces sorted).
To avoid changing oid's you can use the '--ifref=name' or '--ifref=descr'  in your cfgmaker command.
 
HTH,
 
Jan.

	-----Original Message-----
	From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Stover, Beth
	Sent: Friday, November 30, 2007 10:16 PM
	To: Stover, Beth; mrtg at lists.oetiker.ch
	Subject: Re: [mrtg] MRTG Graph for Utilization on Cisco 6509 Returns no DataOptions
	
	

	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%3Den> @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%3Den> @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

	

	



_________________________________________________________

Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.
_________________________________________________________

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The state accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
_________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20071203/4b964901/attachment-0001.html 


More information about the mrtg mailing list