Brocade Fibre Channel templates.

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

Moderators: Developers, Moderators

Post Reply
User avatar
ScOp3
Cacti User
Posts: 61
Joined: Wed Aug 03, 2005 4:14 am
Location: Cologne Germany
Contact:

Post by ScOp3 »

Yup there is a CDEF function for RX and TX Words. I included it in my modified template to be found somewhere in the thread.
As we kicked out the Brocade's for some MacData i have no need for this template anymore. So if anyone feels the urge to maintain i guess a lot ppl will be happy.

ScOp3
fear leads to anger, anger leads to hate and dancing leads to sex!
sam33
Posts: 4
Joined: Sun Jan 14, 2007 11:25 am

Post by sam33 »

do you have a complete example of rrdtool in the scriptshell language.

I don't now the language XML.
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

Try the rrdtool docs. It's all documented how everything works.

Christofer
ajeffco
Posts: 10
Joined: Wed Jan 31, 2007 1:51 am

Post by ajeffco »

I've got this working so far, with a few oddities on a few Brocade switches. I'm curious though, when creating the graphs for the devices, what I should be selecting for "Data Source [Summary of RX & TX Word]"?

I tried "Translate Brocade words into Bytes", and it gave some funky results. So then I tried "None" on another graph, and it looked more reasonable based on what I saw earlier in this post on how Throughput is derived from TX and RX words.

What's the correct choice?

Al
ajeffco
Posts: 10
Joined: Wed Jan 31, 2007 1:51 am

Post by ajeffco »

ajeffco wrote:I've got this working so far, with a few oddities on a few Brocade switches. I'm curious though, when creating the graphs for the devices, what I should be selecting for "Data Source [Summary of RX & TX Word]"?

I tried "Translate Brocade words into Bytes", and it gave some funky results. So then I tried "None" on another graph, and it looked more reasonable based on what I saw earlier in this post on how Throughput is derived from TX and RX words.

What's the correct choice?

Al
Ok, so I think I've figured it out. If I select "Translate Brocade words into Bytes", then I get the funky results, the txWords, rxWords, and Throughput are all equal on the graph.

If I select "None", then it gives me the same output that I get in portperfshow.

Just thought I'd put in my .02c in for anyone else looking for the same info.
nsx-animal
Posts: 1
Joined: Wed Jun 09, 2004 3:37 pm
Location: Miami, FL
Contact:

Post by nsx-animal »

I am still getting this error. The brocade_interfaces.xml file is there with the correct rights. I don't get it. I am running Version 0.8.6j

Data Query Debug Information
+ Running data query [16].
+ Found type = '3' [snmp query].
+ Could not find data query XML file at '/var/www/html/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ Error parsing XML file into an array.
+ Could not find data query XML file at '/var/www/html/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ Could not find data query XML file at '/var/www/html/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ Could not find data query XML file at '/var/www/html/cacti/resource/snmp_queries/brocade_interfaces.xml'
nbourbon
Posts: 1
Joined: Tue May 30, 2006 2:36 pm
Location: France

Wrong values for trafic avore 54 MB/s

Post by nbourbon »

Hi all,

I'm trying to monitor trafic on brocade switchs using cacti but I get wrong values for trafic over 54 MBytes/second.
I think it's normal because we are using 32 bits SNMP counters so with a 300 seconds step we should have :

((2^37)-1)/((2^23)*300) = 54,61 MBytes/second

Is this correct ?
Does anyone solved this issue ?

Best regards,
Nicolas
Attachments
graph.png
graph.png (55.3 KiB) Viewed 12567 times
TechMason
Posts: 4
Joined: Thu Sep 28, 2006 9:46 pm
Location: Kitchener

Data query returned 0 rows

Post by TechMason »

I am new to Cacti so please excuse my ignorance.
I followed the instructions to add the newest Brocade Fibre Channel Template posted by ScOp3 on Wed Sep 21, 2005.
Unfortunately I can't graph any port stats as I get a message stating:
This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information.
for Data Query [Brocade FC Switch] and Data Query [SNMP - Interface Statistics]

Is there something obvious that I am missing?

When I run the data query in debug mode I get this:
Data Query Debug Information
+ Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/srv/www/intel/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.1588.2.1.1.1.6.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.1588.2.1.1.1.6.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
--- snip ---
+ Found item [ifIndex='31'] index: 31 [from value]
+ Found item [ifIndex='32'] index: 32 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.1588.2.1.1.1.6.2.1.4'
+ Found item [ifOperStatus='1'] index: 1 [from value]
+ Found item [ifOperStatus='1'] index: 2 [from value]
+ Found item [ifOperStatus='1'] index: 3 [from value]
--- snip ---
+ Found item [ifOperStatus='1'] index: 30 [from value]
+ Found item [ifOperStatus='1'] index: 31 [from value]
+ Found item [ifOperStatus='1'] index: 32 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.1588.2.1.1.1.6.2.1.36'
+ Found item [ifDescr=''] index: 1 [from value]
+ Found item [ifDescr=''] index: 2 [from value]
+ Found item [ifDescr=''] index: 3 [from value]
--- snip ---
+ Found item [ifDescr=''] index: 30 [from value]
+ Found item [ifDescr=''] index: 31 [from value]
+ Found item [ifDescr=''] index: 32 [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.1588.2.1.1.1.6.2.1.7'
+ Found item [ifType='3'] index: 1 [from value]
+ Found item [ifType='3'] index: 2 [from value]
+ Found item [ifType='3'] index: 3 [from value]
--- snip ---
+ Found item [ifType='3'] index: 30 [from value]
+ Found item [ifType='3'] index: 31 [from value]
+ Found item [ifType='3'] index: 32 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.1588.2.1.1.1.6.2.1.34'
+ Found item [ifHwAddr='HEX-00:20:00:00:60:69:90:54:86'] index: 1 [from value]
+ Found item [ifHwAddr='HEX-00:20:01:00:60:69:90:54:86'] index: 2 [from value]
+ Found item [ifHwAddr='HEX-00:20:02:00:60:69:90:54:86'] index: 3 [from value]
--- snip ---
+ Found item [ifHwAddr='HEX-00:20:1D:00:60:69:90:54:86'] index: 30 [from value]
+ Found item [ifHwAddr='HEX-00:20:1E:00:60:69:90:54:86'] index: 31 [from value]
+ Found item [ifHwAddr='HEX-00:20:1F:00:60:69:90:54:86'] index: 32 [from value]
+ Found data query XML file at '/srv/www/intel/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/snmp_queries/brocade_interfaces.xml'
Last edited by TechMason on Wed May 02, 2007 10:33 pm, edited 1 time in total.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Which version of everything?
Reinhard
TechMason
Posts: 4
Joined: Thu Sep 28, 2006 9:46 pm
Location: Kitchener

Post by TechMason »

I think I have bigger problems as I can't seem to get any index values from any of the other devices that I previously had. I will post to a more general troubleshooting Forum.

Cacti Version 0.8.6h
PHP Version 4.4.0
Apache/2.0.54

What other versions would I need?
boydbria
Posts: 1
Joined: Fri May 25, 2007 8:21 am

port numbers?

Post by boydbria »

Forgive me but I'm a total cacti newb.

Cacti Version 0.8.6i
Apache2
PHP 4.4.4-8+etch2 (using debian if it matters)

I can't seem to get the port numbers on my brocades to display properly.
I followed the directions earlier in this thread.
For example
I'm seeing ports 1-16, 1-32
when i should see 0-15, 0-31
These are all brocade 16 or 32 port 4gb switches.

I'm probably missing something really stupid, but I was banging my head this morning and it shouldn't be this hard on a Friday.
farnsworth
Posts: 5
Joined: Thu May 31, 2007 6:08 am

Post by farnsworth »

Hello,
I'm trying to import the template cacti_host_template_brocade_fc_switch.xml but I encounter the following message in the web gui:

Code: Select all

Error: XML parse error.
I'm using Cacti 0.8.6i on a debian 4.0, PHP 4.4.4 and apache 2.2.3.
brocade_interfaces.xml is in .../resource/snmp_queries.
Any idea?
Thx,
Max

Edit: solved, firefox (last version) was making something wrong, switched to IE and import works immediately :-?
jus
Posts: 7
Joined: Mon Jul 23, 2007 10:05 am

Post by jus »

Hi,

Anybody else with the problem, that brocade FC switches stop communicating SNMP with the cacti poller? :evil:

I start with one switch (64 ports), add another - for a while it works fine and then I get SNMP error when I look into the Device (where I define Hostname/description etc).

It's the VirtualMachine appliance freshly downloaded from rpath. No big thing in performance analysis of the VM - no swapping whatever, the win$ host with the VMWare Server is not very busy as well.

Log is talking about 4 hosts, 1557 DataSources, RRDs processed 149

When it should be a perf_prob, this would be no good - the final plan is to monitor several thousands of switchports........

Thnx for reading

JUS
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

At least with a dedicated server, your target size should not be that problem. Are you using cactid? Are you using SNMP V2? What is given at Settings -> Poller -> The Maximum SNMP OID's Per SNMP Get Request? You may want to reduce this value step by step.
Reinhard
jus
Posts: 7
Joined: Mon Jul 23, 2007 10:05 am

Post by jus »

gandalf wrote:At least with a dedicated server, your target size should not be that problem. Are you using cactid?
No - is this recommended?
Are you using SNMP V2?
Yes
What is given at Settings -> Poller -> The Maximum SNMP OID's Per SNMP Get Request? You may want to reduce this value step by step.
Reinhard
Now 2 Switches are running OK - as soon as I add a third one I get SNMP Errors in the GUI.
Furthermore the log says something about SQL Exec failed "insert into poller_output".
Mmmhh - there's no load to observe and no high network traffic.

JUS
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest