Brocade Fibre Channel templates.

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

Moderators: Moderators, Developers

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

Brocade Fibre Channel templates.

#1 Post by royce » Tue Feb 08, 2005 7:23 am

Hi!

I wrote theese templates for monitoring Brocade Fibre Channel switches (and relabled ones).

Graphs included in the package;

Switch-port monitoring
Fan sensors monitoring
Temperature sensors monitoring

If you find errors, please post to this thread.

brocade_interfaces.xml should be in resources/snmp_queries

The other template should be imported from GUI.


Templates exported from Cacti 0.8.6c (with all patches applied)


Regards,
Christofer
Attachments
brocade_interfaces.xml
should be in resources/snmp_queries
(5.18 KiB) Downloaded 11060 times
cacti_host_template_brocade_fc_switch.xml
Import from GUI.
(254.28 KiB) Downloaded 12688 times

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

#2 Post by royce » Tue Feb 08, 2005 7:24 am

And the graphs (preview).
Attachments
brocade-fan.jpg
brocade-fan.jpg (47.95 KiB) Viewed 96870 times
brocade-temp.jpg
brocade-temp.jpg (44.83 KiB) Viewed 96870 times
brocade.jpg
brocade.jpg (69.91 KiB) Viewed 96869 times

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

#3 Post by royce » Tue Feb 08, 2005 10:05 am

found a typo in the "Brocade FC Temp (Sensor 3)" -Datatemplate.

Please edit;

1) Click "Data Templates"

2) Click "Brocade FC Temp (Sensor 3)"

3) Under Custom Data, OID - replace with

.1.3.6.1.4.1.1588.2.1.1.1.1.22.1.4.3


4) Click "save".

Thanks!

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

Re: Brocade Fibre Channel templates.

#4 Post by gandalf » Wed Feb 09, 2005 12:11 pm

I'm quite interested in this templates. Downloaded everything and tried to import (cacti 0.8.6.b with patches applied).
Am receiving
Error: XML: Hash version does not exist.
So import fails. Does anybody know about version conflicts for export/import?
royce wrote: Templates exported from Cacti 0.8.6c (with all patches applied)
[/quote]

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

#5 Post by royce » Wed Feb 09, 2005 5:23 pm

No idea. import worked on my other cacti instance. (0.8.6c)

Try install cacti 0.8.6c on a new location, downgrade to 0.8.6b, and export the templates and reimport it on your working environment.

Christofer

dimi
Posts: 4
Joined: Thu Feb 10, 2005 5:12 am
Location: Germany

#6 Post by dimi » Thu Feb 10, 2005 5:17 am

Hi,

I tried to import this template to my cactiversion, but it does not work. When I click on the save button nothing happens. The website is reloaded, but I don't see that the import worked. When I past the content of the xml-file I get the same result.
Does anybody has any ideas?

I have running cacti-version 0.8.6c. (I think :-)))


Thanks
dimi

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

brocade

#7 Post by gandalf » Thu Feb 10, 2005 12:46 pm

royce wrote: Try install cacti 0.8.6c on a new location, downgrade to 0.8.6b, and export the templates and reimport it on your working environment.
Christopher,

I updated my cacti to 0.8.6c this morning. Now import works well. I just added all our 10 switches. Graphs are populating. Seems to work alright. But some values are "nan". Don't know why at the moment.
We're using IBM 2109-S16 and 2109-F32 (re-labeled brocades as to my knowledge). I'm not exactly sure, whether the MIB is exactly identical.

A loud and great thanx for your work. Saved me hours of investigation!

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

#8 Post by royce » Thu Feb 10, 2005 5:45 pm

You get nan if you're missing that particular sensor in your switch. (different switches got different amount of sensors :) ..

Just edit the graph templates to get rid of the Nan entries..

The real & hard way to solve this issue, is a indexed query that's used in order to index up the sensors.. Quite a job.

Thanks
Christofer

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

#9 Post by royce » Thu Feb 10, 2005 5:51 pm

dimi wrote:Hi,

I tried to import this template to my cactiversion, but it does not work. When I click on the save button nothing happens. The website is reloaded, but I don't see that the import worked. When I past the content of the xml-file I get the same result.
Does anybody has any ideas?

I have running cacti-version 0.8.6c. (I think :-)))


Thanks
dimi
I think you're version is more equal to 0.8.5a.

Do verify your version. Apply all patches.

Christofer

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

#10 Post by gandalf » Fri Feb 11, 2005 2:49 am

royce wrote:You get nan if you're missing that particular sensor in your switch. (different switches got different amount of sensors :) ..
Christofer,
the temp and fan sensors are ok for me. I'm worrying about the port statistics (see first image). On the same switch, port 2 reports all values (see second image). Do you have any explanation?
Attachments
FC image2.png
port statistics on same switch
FC image2.png (13.08 KiB) Viewed 96712 times
FC image1.png
port statistics with "nan" value
FC image1.png (14.74 KiB) Viewed 96712 times

dimi
Posts: 4
Joined: Thu Feb 10, 2005 5:12 am
Location: Germany

#11 Post by dimi » Fri Feb 11, 2005 5:49 am

Thats right. I just updated to 0.8.6c and now everything is working.
:D


dimi

dimi
Posts: 4
Joined: Thu Feb 10, 2005 5:12 am
Location: Germany

#12 Post by dimi » Fri Feb 11, 2005 8:32 am

Hi,

I was searching the web for the mib files for brocade switches. Can somebody provide me this things? I didn't found anything ...


Thanks

Thomas
Cacti User
Posts: 112
Joined: Thu Dec 09, 2004 1:51 pm
Location: Austria

#13 Post by Thomas » Fri Feb 11, 2005 8:52 am

Go to http://www.oidview.com/mibs/detail.html and select Enterprise # 1558.
Thomas Rupp

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

#14 Post by royce » Sat Feb 12, 2005 1:37 pm

Thomas wrote:Go to http://www.oidview.com/mibs/detail.html and select Enterprise # 1558.
That's 1588 :)

Christofer

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

#15 Post by royce » Sat Feb 12, 2005 1:41 pm

lvm wrote:
royce wrote:You get nan if you're missing that particular sensor in your switch. (different switches got different amount of sensors :) ..
Christofer,
the temp and fan sensors are ok for me. I'm worrying about the port statistics (see first image). On the same switch, port 2 reports all values (see second image). Do you have any explanation?
All I can think about is that the counter havnt changed since first poll. Cacti wont tell any values until there are a difference.

Please verify this with snmpwalk.

Christofer

Post Reply