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 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
royce
Cacti User


Joined: 29 Dec 2004
Posts: 79
Location: Sweden

PostPosted: Tue Feb 08, 2005 7:23 am    Post subject: Brocade Fibre Channel templates. Reply with quote

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



cacti_host_template_brocade_fc_switch.xml
 Description:
Import from GUI.

Download
 Filename:  cacti_host_template_brocade_fc_switch.xml
 Filesize:  254.28 KB
 Downloaded:  4760 Time(s)


brocade_interfaces.xml
 Description:
should be in resources/snmp_queries

Download
 Filename:  brocade_interfaces.xml
 Filesize:  5.18 KB
 Downloaded:  3670 Time(s)

Back to top
royce
Cacti User


Joined: 29 Dec 2004
Posts: 79
Location: Sweden

PostPosted: Tue Feb 08, 2005 7:24 am    Post subject: Reply with quote

And the graphs (preview).


brocade-temp.jpg
 Description:
 Filesize:  44.83 KB
 Viewed:  32641 Time(s)

brocade-temp.jpg



brocade-fan.jpg
 Description:
 Filesize:  47.95 KB
 Viewed:  32641 Time(s)

brocade-fan.jpg



brocade.jpg
 Description:
 Filesize:  69.91 KB
 Viewed:  32640 Time(s)

brocade.jpg


Back to top
royce
Cacti User


Joined: 29 Dec 2004
Posts: 79
Location: Sweden

PostPosted: Tue Feb 08, 2005 10:05 am    Post subject: Reply with quote

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


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

PostPosted: Wed Feb 09, 2005 12:11 pm    Post subject: Re: Brocade Fibre Channel templates. Reply with quote

I'm quite interested in this templates. Downloaded everything and tried to import (cacti 0.8.6.b with patches applied).
Am receiving
Quote:
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]
Back to top
royce
Cacti User


Joined: 29 Dec 2004
Posts: 79
Location: Sweden

PostPosted: Wed Feb 09, 2005 5:23 pm    Post subject: Reply with quote

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



Joined: 10 Feb 2005
Posts: 4
Location: Germany

PostPosted: Thu Feb 10, 2005 5:17 am    Post subject: Reply with quote

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


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

PostPosted: Thu Feb 10, 2005 12:46 pm    Post subject: brocade Reply with quote

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!
Back to top
royce
Cacti User


Joined: 29 Dec 2004
Posts: 79
Location: Sweden

PostPosted: Thu Feb 10, 2005 5:45 pm    Post subject: Reply with quote

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
Back to top
royce
Cacti User


Joined: 29 Dec 2004
Posts: 79
Location: Sweden

PostPosted: Thu Feb 10, 2005 5:51 pm    Post subject: Reply with quote

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


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

PostPosted: Fri Feb 11, 2005 2:49 am    Post subject: Reply with quote

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?



FC image1.png
 Description:
port statistics with "nan" value
 Filesize:  14.74 KB
 Viewed:  32483 Time(s)

FC image1.png



FC image2.png
 Description:
port statistics on same switch
 Filesize:  13.08 KB
 Viewed:  32483 Time(s)

FC image2.png


Back to top
dimi



Joined: 10 Feb 2005
Posts: 4
Location: Germany

PostPosted: Fri Feb 11, 2005 5:49 am    Post subject: Reply with quote

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



dimi
Back to top
dimi



Joined: 10 Feb 2005
Posts: 4
Location: Germany

PostPosted: Fri Feb 11, 2005 8:32 am    Post subject: Reply with quote

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
Back to top
Thomas
Cacti User


Joined: 09 Dec 2004
Posts: 112
Location: Austria

PostPosted: Fri Feb 11, 2005 8:52 am    Post subject: Reply with quote

Go to http://www.oidview.com/mibs/detail.html and select Enterprise # 1558.
Back to top
royce
Cacti User


Joined: 29 Dec 2004
Posts: 79
Location: Sweden

PostPosted: Sat Feb 12, 2005 1:37 pm    Post subject: Reply with quote

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


That's 1588

Christofer
Back to top
royce
Cacti User


Joined: 29 Dec 2004
Posts: 79
Location: Sweden

PostPosted: Sat Feb 12, 2005 1:41 pm    Post subject: Reply with quote

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
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 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 1 of 9

 



Powered by phpBB © 2001, 2005 phpBB Group