Brocade Fibre Channel templates.
Moderators: Developers, Moderators
Hi Reinhard,gandalf wrote:Please follow generic debugging help given at the second link of my signature
Reinhard
I solved the problem already:
Changing from poller to cactid won't work on a running system:
- delete all devices
- delete all rrd files
- change to cactid
- setup the devices again.
Now I got to solve the not (yet) working ftp-export, then I'll setup the monitoring for the switches in a 1.6 PByte environment.
Thanks for your replies,
JUS
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
There should definately be NO reason for doing so. I often change between both simply by changing the poller at Settings->Poller. That's all. But if it's working for you, I won't bother you any morejus wrote: I solved the problem already:
Changing from poller to cactid won't work on a running system:
- delete all devices
- delete all rrd files
- change to cactid
- setup the devices again.
Reinhard
Problems with Brocade template
Hi,
I'm currently starting to use cacti to get some closer look at our SAN switches.
After installing the normal SuSE stuff (we are working with SuSE ...) Cacti
cacti-0.8.6h-36.2 is up and running. I've added a host (for testing) and also
both Brocades (SW 4100).
I can monitor fan and temp, but I see not a single fc port ...
Adding the data query for Brocade_ports shows this output.
So what's wrong with my setup ?
snmpwalk shows all values.
Thanks for your help !
Bye, Peer
Debug output is
+ Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ XML file parsed ok.
+ Executing script for list of indexes ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/brocade_interfaces.xml'
I'm currently starting to use cacti to get some closer look at our SAN switches.
After installing the normal SuSE stuff (we are working with SuSE ...) Cacti
cacti-0.8.6h-36.2 is up and running. I've added a host (for testing) and also
both Brocades (SW 4100).
I can monitor fan and temp, but I see not a single fc port ...
Adding the data query for Brocade_ports shows this output.
So what's wrong with my setup ?
snmpwalk shows all values.
Thanks for your help !
Bye, Peer
Debug output is
+ Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ XML file parsed ok.
+ Executing script for list of indexes ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/brocade_interfaces.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/brocade_interfaces.xml'
for testing I have added you my modified template for the Brocade 4100
[b]Please be careful - nyx said that some Interface graph templates will be changed while importing my host template......sorry for the confusion...
But that is a general problem of cacti when you want to import host templates - it does update all linked data sources and graph templates......[/b]
Alex
[b]Please be careful - nyx said that some Interface graph templates will be changed while importing my host template......sorry for the confusion...
But that is a general problem of cacti when you want to import host templates - it does update all linked data sources and graph templates......[/b]
Alex
- Attachments
-
- cacti_host_template_brocade_4100.xml
- (260.46 KiB) Downloaded 1043 times
Last edited by ame on Wed Dec 05, 2007 1:51 am, edited 1 time in total.
HI,
you mean the file brocade_interfaces.xml from the original source ?
It's there
sequoia:/usr/share/cacti/resource/snmp_queries # ll
total 24
-rw-r--r-- 1 root root 5472 Sep 5 09:20 brocade_interfaces.xml
So what I've done:
I've imported the templates and copied the file above into the resource/snmp_queries
folder. I have added a new device and I'm able to monitor fan and temperature.
The log file shows no error.
Can I call the xml file from the cli to get more informations what's going wrong ?
Bye, Peer
you mean the file brocade_interfaces.xml from the original source ?
It's there
sequoia:/usr/share/cacti/resource/snmp_queries # ll
total 24
-rw-r--r-- 1 root root 5472 Sep 5 09:20 brocade_interfaces.xml
So what I've done:
I've imported the templates and copied the file above into the resource/snmp_queries
folder. I have added a new device and I'm able to monitor fan and temperature.
The log file shows no error.
Can I call the xml file from the cli to get more informations what's going wrong ?
Bye, Peer
Get values, but no graphs ...
Hi,
I'm now seeing all devices, but creating a graph is not working correctly:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Brocade 3- Traffic Port 1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/var/lib/cacti/brocade_3_traffic_in_230.rrd":traffic_in:AVERAGE \
DEF:b="/var/lib/cacti/brocade_3_traffic_in_230.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
ERROR: opening '/var/lib/cacti/brocade_3_traffic_in_230.rrd': No such file or directory
In which step is "brocade_3_traffic_in_230.rrd" created (normaly) ?
Bye, Peer
I'm now seeing all devices, but creating a graph is not working correctly:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Brocade 3- Traffic Port 1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/var/lib/cacti/brocade_3_traffic_in_230.rrd":traffic_in:AVERAGE \
DEF:b="/var/lib/cacti/brocade_3_traffic_in_230.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
ERROR: opening '/var/lib/cacti/brocade_3_traffic_in_230.rrd': No such file or directory
In which step is "brocade_3_traffic_in_230.rrd" created (normaly) ?
Bye, Peer
gettin' new templates work
Hi,
I would like to update my brocade template with the newer one so that I can see the throughput in bytes.
I put the new templates in the appropriate places (the one into the filesystem <cacti/ressources/ >), the host template I removed and imported the new one.
HowTo get the new template working (see additional the bytes transmitted) without destroying the old graphs?
Would it be possible to expand the template to see two results (Rx bytes and Tx bytes per port) seperately?
Thanks for help,
cheers, JUS
I would like to update my brocade template with the newer one so that I can see the throughput in bytes.
I put the new templates in the appropriate places (the one into the filesystem <cacti/ressources/ >), the host template I removed and imported the new one.
HowTo get the new template working (see additional the bytes transmitted) without destroying the old graphs?
Would it be possible to expand the template to see two results (Rx bytes and Tx bytes per port) seperately?
Thanks for help,
cheers, JUS
Who is online
Users browsing this forum: No registered users and 1 guest