Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Brocade Fibre Channel templates.
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
ScOp3
Cacti User


Joined: 03 Aug 2005
Posts: 59
Location: Cologne Germany

PostPosted: Fri Dec 29, 2006 4:47 pm    Post subject: Reply with quote

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
Back to top
sam33



Joined: 14 Jan 2007
Posts: 4

PostPosted: Fri Jan 19, 2007 5:23 pm    Post subject: Reply with quote

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

I don't now the language XML.
Back to top
royce
Cacti User


Joined: 29 Dec 2004
Posts: 79
Location: Sweden

PostPosted: Fri Jan 19, 2007 7:00 pm    Post subject: Reply with quote

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

Christofer
Back to top
ajeffco



Joined: 31 Jan 2007
Posts: 10

PostPosted: Wed Jan 31, 2007 9:45 am    Post subject: Reply with quote

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
Back to top
ajeffco



Joined: 31 Jan 2007
Posts: 10

PostPosted: Wed Jan 31, 2007 4:49 pm    Post subject: Reply with quote

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.
Back to top
nsx-animal



Joined: 09 Jun 2004
Posts: 1
Location: Miami, FL

PostPosted: Wed Feb 07, 2007 3:56 pm    Post subject: Reply with quote

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'
Back to top
nbourbon



Joined: 30 May 2006
Posts: 1
Location: France

PostPosted: Mon Apr 09, 2007 9:41 am    Post subject: Wrong values for trafic avore 54 MB/s Reply with quote

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



graph.png
 Description:
 Filesize:  55.3 KB
 Viewed:  4607 Time(s)

graph.png


Back to top
TechMason



Joined: 28 Sep 2006
Posts: 4
Location: Kitchener

PostPosted: Mon Apr 30, 2007 1:28 pm    Post subject: Data query returned 0 rows Reply with quote

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:
Quote:
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:
Quote:

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
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12206
Location: Muenster, Germany

PostPosted: Wed May 02, 2007 5:48 am    Post subject: Reply with quote

Which version of everything?
Reinhard
Back to top
TechMason



Joined: 28 Sep 2006
Posts: 4
Location: Kitchener

PostPosted: Wed May 02, 2007 9:31 am    Post subject: Reply with quote

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?
Back to top
boydbria



Joined: 25 May 2007
Posts: 1

PostPosted: Fri May 25, 2007 8:26 am    Post subject: port numbers? Reply with quote

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.
Back to top
farnsworth



Joined: 31 May 2007
Posts: 5

PostPosted: Thu May 31, 2007 6:18 am    Post subject: Reply with quote

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:
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
Back to top
jus



Joined: 23 Jul 2007
Posts: 7

PostPosted: Mon Aug 06, 2007 10:40 am    Post subject: Reply with quote

Hi,

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

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
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12206
Location: Muenster, Germany

PostPosted: Mon Aug 06, 2007 12:05 pm    Post subject: Reply with quote

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
Back to top
jus



Joined: 23 Jul 2007
Posts: 7

PostPosted: Tue Aug 07, 2007 6:22 am    Post subject: Reply with quote

gandalf wrote:
At least with a dedicated server, your target size should not be that problem. Are you using cactid?

No - is this recommended?
Quote:

Are you using SNMP V2?

Yes
Quote:

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 6 of 9

 



Powered by phpBB © 2001, 2005 phpBB Group