Simple Brocade FC Switch Query

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
mattcowger
Posts: 1
Joined: Tue Oct 19, 2004 1:41 pm

Simple Brocade FC Switch Query

Post by mattcowger »

I couldn't find any Brocade monitoring XML's already written, so I slogged through and wrote one that monitors a brocade silkworm switch for frames and words on each port.

Confirmed working with my 3250 8 port switch, but should work fine with others from Brocade and HP (who rebrand the 3250 as the 2/8V).

Export from 0.8.6
Attachments
cacti_data_query_brocade_fc_switch.xml
(13.84 KiB) Downloaded 3227 times
sabey
Posts: 11
Joined: Tue Nov 09, 2004 6:15 am

Missing brocade_interfaces.xml file

Post by sabey »

Are you able to post an example of your brocade_interfaces.xml file ? This information is not include in your export

:D

Thanks

Sabey
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

Dito.
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

brocade

Post by royce »

This template didnt work at all so i wrote one myself... would be nice if anyone wants to help me out with this graph and correct bugs or whatever.

Christofer
Attachments
brocade.jpg
brocade.jpg (68.86 KiB) Viewed 31935 times
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

templates

Post by royce »

Here are my templates

*** PLEASE NOTE THESE TEMPLATES WHERE WRITTEN IN A RUSH = Quick and dirty ***

Please do help me out if you find any errors, also some cosmetic changes would be good :-)

brocade_interfaces.xml should be in resource/snmp_queries

the rest should be imported from GUI.

Christofer
Attachments
brocade.zip
(13.9 KiB) Downloaded 2304 times
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

forgot to mention that theese where exported from cacti 0.8.6c ...
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

Update:

You have to change each polling method to COUNTER instead of GAUGE, mu fault.

I will post a new template shortly.

Do anyone use this template?

/C
dave
Posts: 11
Joined: Tue Apr 02, 2002 3:30 am
Location: North Yorks

Post by dave »

Just setup a test brocade using it, changed the template slightly so it picked up host description for graph titles but so far looks good
sabey
Posts: 11
Joined: Tue Nov 09, 2004 6:15 am

Help required with the template

Post by sabey »

Hi

Thanks for the template, I import it in Cacti v0.8.6c and I have few issue.

1. I didn't find where to change the pooling method from GAUGE to COUNTER
2. After a put in place the graph, I have those error in the output of the poller.php:

OK u:0.05 s:0.12 r:74.04
ERROR: Duplicate DS name: swFCPortRxBadEofs
OK u:0.05 s:0.12 r:75.12
ERROR: Duplicate DS name: swFCPortRxBadEofs
OK u:0.05 s:0.12 r:76.19
ERROR: Duplicate DS name: swFCPortRxBadEofs
OK u:0.05 s:0.12 r:77.29
ERROR: opening '/home/bb/bb/1.0.3/www/cacti-0.8.6c/rra/dvsan7e1_swfcporttxwords_298.rrd': No such file or directory
OK u:0.05 s:0.13 r:77.29
ERROR: Duplicate DS name: swFCPortRxBadEofs

Can someone help me with that ? Do you have an update version of the templace that may fix that ?

Thank you very much for your help.
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

Hi.

1)

Under 'Data Templates', select Brocade FC data-template.

At the middle of the page (I'm using 1280x1024) there are 12 polling options beginning with swFCPortRxBadEofs, Each one of them have a "Data Source Type" stanza with a scroll-list on where GAUGE is selected, change this to COUNTER and dont forget to save on each item.

The new template will be posted shortly but I dont think it will help you with the issue you've got.


It seems to me that you've imported the template twize or something. Cant really figure out why - search for the error message on this forum...

Christofer
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

sam33
Posts: 4
Joined: Sun Jan 14, 2007 11:25 am

Post by sam33 »

have-you a simple example rrdtool, graphe in shell UNIX (brocade).

Thank's
xoudan
Posts: 17
Joined: Tue Mar 27, 2007 10:33 pm

very confused

Post by xoudan »

I was confused very much/
I own 4 4G brocade san swtich,implement this template,successfully
but the out is 2M,16M ,50K and son on
but in fact , it is most like 20m,10M,100M ....


what is the traffic stand for?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests