[mrtg] mrtg on a Mcdata 4700 fibre switch...

Steven Jones Steven.Jones at vuw.ac.nz
Mon Sep 1 03:18:53 CEST 2008


Hi,

 

Has anyone got MRTG to report stats on the FC ports? Do you have a howto
or docs please?

 

I have found a doc on brocade, but I am having difficulty converting it
to McData...

 

:-(

 

This is my first attempt,

 

#--

#--

#-- swFCPortTxWords = This object counts the number of Fibre Channel

#--                   words that the port has transmitted.

#--

#--                   let's multiply by 4 to calculate the correct
number of bytes

#--

#--

#--

#--        Switchport Nr + 1     -----+       Switchport Nr + 1
-----+

#--                                   V
V

#--
1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.1&1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.1

#--

#--

#-----------------------------------------------------------------------
--------

 


#-----------------------------------------------------------------------
--------

#-- Global Config Options

#-----------------------------------------------------------------------
--------

LoadMIBs: /usr/share/snmp/mibs/v2_2SW.mib

#LoadMIBs: /home/mrtg/misc/v2_2SW.mib

WorkDir:  /var/www/mrtg/san/

#WorkDir:  /var/www/mrtg/san/fcswitch

#LogDir:   /home/mrtg/log

IconDir:  /icons

WriteExpires: Yes

Refresh: 300

 


#-----------------------------------------------------------------------
--------

#-- Global Defaults

#-----------------------------------------------------------------------
--------

Options[_]: noinfo, growright

MaxBytes[_]: 104857600

LegendI[_]:  read 

LegendO[_]:  write 

Legend1[_]:  read 

Legend2[_]:  write 

YLegend[_]: port throughput

WithPeak[_]: dwmy

 


#-----------------------------------------------------------------------
--------

Target[fcswitch_port0]:
1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.1&1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.1:
public at 130.195.85.171 * 4

#Target[fcswitch_port0]:
1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.1&1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.1:
public at fcswitch * 4

Title[fcswitch_port0]: fc throughput on switch fcswitch port 0 (mysun
jnic0 slot7)

PageTop[fcswitch_port0]: <H1>fc throughput on switch fcswswitch port 0
(mysun jnic0 slot7)</H1>

 


#-----------------------------------------------------------------------
--------

Target[fcswitch_port3]:
1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.4&1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.4:
public at 130.195.85.171 * 4

#Target[fcswitch_port3]:
1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.4&1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.4:
public at fcswitch * 4

Title[fcswitch_port3]: fc throughput on switch fcswitch port 3
(mypingu_fcs0 port 3) - My application

PageTop[fcswitch_port3]: <H1>fc throughput on switch fcswitch port 3
(myibm_fcs0 port 3) - My application</H1>

 


#-----------------------------------------------------------------------
--------

Target[fcswitch_port15]:
1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.16&1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.1
6:public at fcswitch * 4

#Target[fcswitch_port15]:
1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.16&1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.1
6:public at 130.195.85.171 * 4

Title[fcswitch_port15]: undefined or not in use

PageTop[fcswitch_port15]: <H1>undefined or not in use</H1>

8><-----

 

Also I need to find something called "v2_2SW.mib"

 

Or create it...?

 

regards

 

Steven Jones
Technical Specialist Linux/Unix/San/Vmware

APG -Technology Integration Team
Victoria University of Wellington
Phone: +64 4 463 6272

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080901/4106961d/attachment-0001.html 


More information about the mrtg mailing list