[mrtg] Re: monitoring port on a 3com SuperStack II 3300 24 Port Switch

Alegria, Luis lalegria at ics-canada.net
Tue Mar 7 23:35:17 MET 2006




My example



#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits


######################################################################
# System: Main Switch 3300
# Description: 3Com SuperStack II
# Contact: Jim C
# Location: Aylmer Computer Room
######################################################################

Workdir: C:\Inetpub\wwwroot\rrds

LogFormat: rrdtool
PathAdd: C:\rrdtool\src\tool_release
LibAdd: C:\rrdtool\perl-shared
interval: 1

### Interface 30555 >> Descr: '3Com Switch on Unit  1' | Name: '' | Ip:
'x.x.x.x' | Eth: '00-90-04-53-94-98' ###

Target[x.x.x.x_30555]: 30555:public at x.x.x.x:
SetEnv[x.x.x.x_30555]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="3Com Switch on
Unit  1"
MaxBytes[x.x.x.x_30555]: 1250000
Title[x.x.x.x_30555]: Traffic Analysis for 30555 -- Main Switch 3300
Background[x.x.x.x_30555]: #5f9ea0


### Interface 39145 >> Descr: '3Com Switch  type:SLIP on Unit  1' | Name: ''
| Ip: '192.168.101.1' | Eth: '' ###

Target[x.x.x.x_39145]: 39145:public at x.x.x.x:
SetEnv[x.x.x.x_39145]: MRTG_INT_IP="192.168.101.1" MRTG_INT_DESCR="3Com
Switch  type:SLIP on Unit  1"
MaxBytes[x.x.x.x_39145]: 2400
Title[x.x.x.x_39145]: Traffic Analysis for 39145 -- Main Switch 3300
Background[x.x.x.x_39145]: #5f9ea0

### Interface 40734 >> Descr: 'RMON:10/100 Port 1 on Unit 1' | Name: '' |
Ip: '' | Eth: '' ###

Target[x.x.x.x_40734]: 40734:public at x.x.x.x:
SetEnv[x.x.x.x_40734]: MRTG_INT_IP="" MRTG_INT_DESCR="S1489 - Aylras - Port
1"
MaxBytes[x.x.x.x_40734]: 1250000
Title[x.x.x.x_40734]: S1489 - Aylras - Port 1
Background[x.x.x.x_40734]: #5f9ea0


routers.cgi*GraphStyle[^]: stack 

PageTop[^]: <div align="center"><center>

 <table border="1" width="98%" height="87">
  <tr>
    <td width="14%" height="52"><p align="center"><font
face="Arial"><small><img src="ics.gif" alt="ICS" align="absmiddle"
width="120" height="60"></small></font></td>
    <td width="76%" height="52"><p align="center"><strong><font
face="Arial"><big>3COM SuperStack 2 - Traffic Analisys
</big></font></strong></td>
    <td width="14%" height="52"><strong><big><p
align="center"></big></strong><font
    face="Arial"><small><img src="MyLogo.gif" alt="Company name"
align="absmiddle" width="120"
    height="60"></small></font><strong><big></big></strong></td>
  </tr>
    
  <tr>
    <td width="100%" colspan="3" height="23"><p align="center"><font
face="Arial"><big><big>My title</font></td>
  </tr>

   <tr>
      <td width="100%" colspan="3" height="23"><p
align="center"><strong><font face="Arial"><medium><medium>Maintainer: Jon
DOE Max Speed: 12.5mbytes/s === Peer Ip:x.x.x.x</strong></font></td>
  </tr>

 </table>
 </center></div>
 <P></P>





Sorry I use ROUTERS2.cgi as a front end

Luis Alegria
ICS Courier _ network Administrator




-----Original Message-----
From: enediel gonzalez [mailto:enediel at hotmail.com] 
Sent: Tuesday, March 07, 2006 4:20 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] monitoring port on a 3com SuperStack II 3300 24 Port Switch

Hello
  I need to monitor the traffic on a port of a 3com SuperStack II 3300 24 
Port Switch, I have problems on the target declaration
The interface description for example (for the port 2 is the following)
  RMON:10/100 Port 2 on Unit 1

on the target definition  I declared
Target[192.168.0.10_3com-Port2]: \RMON:10/100\ Port\ 2\ on\ Unit\ 
1:public at 192.168.0.10:

It doesn't work, for another model of 3com switches I have the following 
declaration working.
Target[192.168.0.10_3com-Port1]: \RMON\ Port\ 1\ on\ unit\ 
1:public at 192.168.0.10:

Thanks in advance for any help to find out my mistake.

Regards
Enediel
Linux user 300141
Debian GNU/Linux


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list