Brocade Fibre Channel templates.

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

Moderators: Developers, Moderators

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

Post by royce »

I have no idea. Try do a search on this forum for the errors.

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

Post by gandalf »

jbiel wrote:Warning: Variable passed to each() is not an array or object in /var/apache/htdocs/cacti/lib/data_query.php on line 490

Warning: Cannot modify header information - headers already sent by (output started at /var/apache/htdocs/cacti/lib/data_query.php:490) in /var/apache/htdocs/cacti/host.php on line 121
jbiel,

I remember a similar error I had in the past. It may be related to a file access problem (chmod ...). I'm pretty sure it does not relate to the templates themselves (as I'm using them without any problems)

good luck
Reinhard
bdearlove
Posts: 19
Joined: Thu Jun 09, 2005 8:51 am

Perfect!

Post by bdearlove »

Great. This Worked perfectly. I just wanted to say thanks!
cybersloth
Posts: 5
Joined: Tue Aug 02, 2005 6:55 am

Are the scripts the latested upto date?

Post by cybersloth »

Hi all,

Ive installed the scripts you have listed here and have a questions..

1. Are the scripts listed here the latest? as looking at follow ups looks like changes have been made? to correct data gathering and display?!

2. The port we are monitoring is 1GBit and I know the port is currently running at around 512Mbit.. Looking at Broc1.jpg below is showing me RX Words is running at 5 Units? but looking at the other Current: items I can see TX Words at 612.00 m ?!! why dont we see that on the chart and what are the Units Per Second Really showing me? is the small m Mbits per seconds and the capital M MBytes per second? look at Broc2.jpg how the large Spike for TX 1.8M has killed the other detail?

Thanks Rob
Attachments
broc2.JPG
broc2.JPG (66.4 KiB) Viewed 16192 times
broc1.JPG
broc1.JPG (68.44 KiB) Viewed 16192 times
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

m = milli
M = mega

What should be done is some maths in order to get the correct values. Read the thread, reset the MAX and MIN values in the datasources, create some calculations to get the Words in bits instead of the values you see today.

When you feel your values are correct. Post your new templates to the thread.

Currently I'm overwelmed with work. Quite frankly, I dont have the time to do this myself.

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

Post by ScOp3 »

The previous mentioned CDEF seems to work fine. My Storage Guys are satisfied with the results.

I added the fixes for the MaxValues and also added a graph which is being generated by the above mentioned CDEF.

I exported the templates so you guys might give them a try.
Thanks for those templates btw Royce, you saved me a LOT of work.

Greetings

ScOp3


EDIT: Attachment deleted - try the new one below.
Last edited by ScOp3 on Wed Sep 21, 2005 3:16 am, edited 1 time in total.
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

Thanks! Good work!

/C
jvlalonde
Posts: 14
Joined: Mon Mar 21, 2005 10:01 am

export

Post by jvlalonde »

Could you please post the whole host export of your updated Brocade FC Switch template.
Otherwise I'll have to downgrade to import the first release, upgrade and the import your updated version, 'cause I'm still facing HASH Errors during the import. I'm running 0.8.6g.

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

Re: export

Post by ScOp3 »

jvlalonde wrote:Could you please post the whole host export of your updated Brocade FC Switch template.
Otherwise I'll have to downgrade to import the first release, upgrade and the import your updated version, 'cause I'm still facing HASH Errors during the import. I'm running 0.8.6g.

Rgds,
Joris
I will give that a try tomorrow, when i am back at work. I just did export template in the gui. I will have a look if there are different ways to do it.
jvlalonde
Posts: 14
Joined: Mon Mar 21, 2005 10:01 am

export

Post by jvlalonde »

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

Post by ScOp3 »

Updated Host Template for Brocade Switches.

The previous template had a bug in calculation this one should be better.
Anyway feel free the check it out and correct me if i am wrong.
Attachments
brocade_interfaces.zip
Brocade Interfaces.xml

should be in resources/snmp_queries
(930 Bytes) Downloaded 2799 times
Looks like this...
Looks like this...
brocade-bytes.png (18.9 KiB) Viewed 16000 times
cacti_host_template_brocade_fc_switch-092105.zip
Updated Brocade Silkworm Host Template
Includes MaxValue Fix, FanFix and Throughput Calcs in Bytes
(26.94 KiB) Downloaded 2617 times
Last edited by ScOp3 on Wed Sep 21, 2005 5:46 am, edited 1 time in total.
jvlalonde
Posts: 14
Joined: Mon Mar 21, 2005 10:01 am

new version

Post by jvlalonde »

Hi,
I'm still unable to get it import in both versions of cacti I have installed:
086c & 086g.
Which version do you used to export the template?

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

Post by ScOp3 »

Did you copy the brocade_interfaces.xml from the first post into you're "resources/snmp_queries"? before you did the import?

I exported the template in 0.8.6g with -> Export Templates -> Host Template including dependencies and then saved it locally. So that should be okay imho.


Edit: I added the brocade_interface.xml in my post above.
jvlalonde
Posts: 14
Joined: Mon Mar 21, 2005 10:01 am

import

Post by jvlalonde »

Yes, I copied it b4.
On 086c I got: Error: XML: Hash version does not exist.
On 086g: Error: XML: Cacti version does not exist.

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

Post by ScOp3 »

Sorry but i have no idea what is wrong. I remember reading something about the Version in some other thread. Maybe someone else can post if it worked for him.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests