[mrtg] cisco mem 3640

Wagner Frank Frank.Wagner at nbg.siemens.de
Wed Jul 25 14:05:21 MEST 2001


Hi try

!!! the echo and >>./mrtg...........has to be cut off course.

 echo '#Router CPU load' >>./mrtg.cfg
       echo
Target[$router'_cpu']:'1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0:'$commu
nity'@'$router >>./mrtg.cfg
       echo RouterUptime[$router'_cpu']: $community@$router >>./mrtg.cfg
       echo MaxBytes[$router'_cpu']: 100 >>./mrtg.cfg
       echo Directory[$router'_cpu']: $router >>./mrtg.cfg
       echo Title[$router'_cpu']: CPU LOAD >>./mrtg.cfg
       echo Unscaled[$router'_cpu']: ymwd >>./mrtg.cfg
       echo ShortLegend[$router'_cpu']: '%' >>./mrtg.cfg
       echo XSize[$router'_cpu']: 380 >>./mrtg.cfg
       echo YSize[$router'_cpu']: 100 >>./mrtg.cfg
       echo YLegend[$router'_cpu']: CPU Utilization >>./mrtg.cfg
       echo Legend1[$router'_cpu']: 'CPU Utilization in %' >>./mrtg.cfg
       echo Legend2[$router'_cpu']: 'CPU Utilization in %' >>./mrtg.cfg
       echo Legend3[$router'_cpu']: >>./mrtg.cfg
       echo Legend4[$router'_cpu']: >>./mrtg.cfg
       echo LegendI[$router'_cpu']: ' 1 Min' >>./mrtg.cfg
       echo LegendO[$router'_cpu']: ' 5 Min' >>./mrtg.cfg
       echo Options[$router'_cpu']: gauge,growright >>./mrtg.cfg
       echo PageTop[$router'_cpu']: '<H1>'CPU Utilisation $sysname '</H1>'
>>./mrtg.cfg
       echo ' <TABLE>' >>./mrtg.cfg
       echo '    <TR><TD>System:</TD>     <TD>'$sysname in '</TD></TR>'
>>./mrtg.cfg 
       echo '    <TR><TD>Description:</TD><TD>'$descr'</TD></TR>'
>>./mrtg.cfg
       echo '    <TR><TD>Ip:</TD>         <TD>'$router'</TD></TR>'
>>./mrtg.cfg
       echo ' </TABLE>' >>./mrtg.cfg       

       echo '#Router Freier Speicher in Byte' >>./mrtg.cfg
       echo
Target[$router'_mem']:'1.3.6.1.4.1.9.2.1.8.0&1.3.6.1.4.1.9.2.1.8.0:'$communi
ty'@'$router >>./mrtg.cfg
       echo RouterUptime[$router'_mem']: $community@$router >>./mrtg.cfg
       echo MaxBytes[$router'_mem']: 100000000 >>./mrtg.cfg
       echo Directory[$router'_mem']: $router >>./mrtg.cfg
       echo Title[$router'_mem']: Free Mem >>./mrtg.cfg
       echo ShortLegend[$router'_mem']: 'Byte' >>./mrtg.cfg
       echo YLegend[$router'_mem']: Free Memmory >>./mrtg.cfg
       echo Legend1[$router'_mem']: 'Free Memmory in Byte' >>./mrtg.cfg
       echo Legend2[$router'_mem']: 'Free Memmory in Byte' >>./mrtg.cfg
       echo Legend3[$router'_mem']: >>./mrtg.cfg
       echo Legend4[$router'_mem']: >>./mrtg.cfg
       echo LegendI[$router'_mem']: '&nbsp;KB' >>./mrtg.cfg
       echo LegendO[$router'_mem']: '&nbsp;KB' >>./mrtg.cfg
       echo Options[$router'_mem']: gauge,growright >>./mrtg.cfg
       echo PageTop[$router'_mem']: '<H1>'Free Memmory $sysname '</H1>'
>>./mrtg.cfg
       echo ' <TABLE>' >>./mrtg.cfg
       echo '    <TR><TD>System:</TD>     <TD>'$sysname in '</TD></TR>'
>>./mrtg.cfg 
       echo '    <TR><TD>Description:</TD><TD>'$descr'</TD></TR>'
>>./mrtg.cfg
       echo '    <TR><TD>Ip:</TD>         <TD>'$router'</TD></TR>'
>>./mrtg.cfg
       echo ' </TABLE>' >>./mrtg.cfg   

      # erstellung der Kleinen und mittleren Buffer
      echo  '#Buffer Kl u md' $router $ifindex >>./mrtg.cfg
      echo Target[$router'_bsm']:
'1.3.6.1.4.1.9.2.1.19.0&1.3.6.1.4.1.9.2.1.27.0:'$community'@'$router
>>./mrtg.cfg
      echo MaxBytes[$router'_bsm']: 100000 >>./mrtg.cfg
      echo Directory[$router'_bsm']: $router >>./mrtg.cfg
      echo Title[$router'_bsm']: Small Buffer miss $sysname >>./mrtg.cfg
      echo YLegend[$router'_bsm']: SM Buff >>./mrtg.cfg
      echo Legend1[$router'_bsm']: 'Buffermiss Small' >>./mrtg.cfg
      echo Legend2[$router'_bsm']: 'Buffermiss Medium' >>./mrtg.cfg
      echo Legend3[$router'_bsm']: >>./mrtg.cfg
      echo Legend4[$router'_bsm']: >>./mrtg.cfg
      echo LegendI[$router'_bsm']: '&nbsp;miss' >>./mrtg.cfg
      echo LegendO[$router'_bsm']: '&nbsp;miss' >>./mrtg.cfg
      echo Colours[$router'_bsm']:
Red#ff0000,Yollow#ffff00,Violett#ff00ff,Xbg#ffff00 >>./mrtg.cfg
      echo PageTop[$router'_bsm']: '<H1>'Small and Md Buffer miss $sysname
'</H1>' >>./mrtg.cfg
      echo ' <TABLE>' >>./mrtg.cfg
      echo '    <TR><TD>System:</TD>     <TD>'$sysname in '</TD></TR>'
>>./mrtg.cfg 
      echo '    <TR><TD>Description:</TD><TD>'$descr'</TD></TR>'
>>./mrtg.cfg
      echo '    <TR><TD>Ip:</TD>         <TD>'$router'</TD></TR>'
>>./mrtg.cfg
      echo ' </TABLE>' >>./mrtg.cfg    



      # erstellung der Grossen  Buffer
      echo  '#Buffer Bg u Lg' $router $ifindex >>./mrtg.cfg
      echo Target[$router'_blg']:
'1.3.6.1.4.1.9.2.1.35.0&1.3.6.1.4.1.9.2.1.43.0:'$community'@'$router
>>./mrtg.cfg
      echo MaxBytes[$router'_blg']: 100000 >>./mrtg.cfg
      echo Directory[$router'_blg']: $router >>./mrtg.cfg
      echo Title[$router'_blg']: Big Buffer miss $sysname >>./mrtg.cfg
      echo YLegend[$router'_blg']: Bg Buff >>./mrtg.cfg
      echo Legend1[$router'_blg']: 'Buffermiss Big' >>./mrtg.cfg
      echo Legend2[$router'_blg']: 'Buffermiss Large' >>./mrtg.cfg
      echo Legend3[$router'_blg']: >>./mrtg.cfg
      echo Legend4[$router'_blg']: >>./mrtg.cfg
      echo LegendI[$router'_blg']: '&nbsp;miss' >>./mrtg.cfg
      echo LegendO[$router'_blg']: '&nbsp;miss' >>./mrtg.cfg
      echo Colours[$router'_blg']:
Red#ff0000,Yollow#ffff00,Violett#ff00ff,Xbg#ffff00 >>./mrtg.cfg
      echo PageTop[$router'_blg']: '<H1>'Big and Large Buffer miss $sysname
'</H1>' >>./mrtg.cfg
      echo ' <TABLE>' >>./mrtg.cfg
      echo '    <TR><TD>System:</TD>     <TD>'$sysname in '</TD></TR>'
>>./mrtg.cfg 
      echo '    <TR><TD>Description:</TD><TD>'$descr'</TD></TR>'
>>./mrtg.cfg
      echo '    <TR><TD>Ip:</TD>         <TD>'$router'</TD></TR>'
>>./mrtg.cfg
      echo ' </TABLE>' >>./mrtg.cfg    

mfg
	SIEMENS		Siemens AG
					Information and Communication
Networks
				
				
					Briefadresse:
					Siemens AG, ICN PCS
					Postfach 4844
					90327 Nürnberg

					Hausadresse:
					Von-der-Tann-Straße 30
					90439 Nürnberg

	Frank Wagner		Tel. (0 911) 654 - 6706
	Customer Operation		Fax (0 911) 654 - 6710
	Specialist                           	E-Mail:
Frank.Wagner at nbg.siemens.de
	________________________________

	HP Network Nodemanager Certified IT-Professional
	________________________________




--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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



More information about the mrtg mailing list