|
|
| Author |
Message |
jus
Joined: 23 Jul 2007 Posts: 7
|
Posted: Tue Aug 07, 2007 9:06 am Post subject: |
|
|
I changed to cactid - snmp walking works perfect.
Now the system produces no graphs and I can't find no hints in the logs at all.
There are not even rra files for the added hosts in rra dir.....
JUS
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12206 Location: Muenster, Germany
|
Posted: Wed Aug 08, 2007 1:23 pm Post subject: |
|
|
Please follow generic debugging help given at the second link of my signature
Reinhard
|
|
| Back to top |
|
 |
jus
Joined: 23 Jul 2007 Posts: 7
|
Posted: Wed Aug 08, 2007 2:23 pm Post subject: |
|
|
| gandalf wrote: | Please follow generic debugging help given at the second link of my signature
Reinhard |
Hi 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
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12206 Location: Muenster, Germany
|
Posted: Wed Aug 08, 2007 2:40 pm Post subject: |
|
|
| jus 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. | 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 more
Reinhard
|
|
| Back to top |
|
 |
pkompibgc
Joined: 20 Sep 2007 Posts: 5
|
Posted: Thu Sep 20, 2007 3:33 am Post subject: 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'
|
|
| Back to top |
|
 |
ame Cacti User
Joined: 25 Nov 2005 Posts: 68
|
Posted: Fri Sep 21, 2007 6:06 am Post subject: |
|
|
Hi,
I have no problems querying a Brocade 4100....community settings correct? I am using SNMP V2.....
Alex
|
|
| Back to top |
|
 |
ame Cacti User
Joined: 25 Nov 2005 Posts: 68
|
Posted: Fri Sep 21, 2007 6:13 am Post subject: |
|
|
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
| Description: |
|
 Download |
| Filename: |
cacti_host_template_brocade_4100.xml |
| Filesize: |
260.46 KB |
| Downloaded: |
442 Time(s) |
Last edited by ame on Wed Dec 05, 2007 1:51 am; edited 1 time in total |
|
| Back to top |
|
 |
pkompibgc
Joined: 20 Sep 2007 Posts: 5
|
Posted: Fri Sep 21, 2007 6:41 am Post subject: |
|
|
Hi,
thanks for your help.
When I try to import the template I get an error message
Error: XML: Hash version does not exist.
What does it mean ?
snmpwalk is working for the switch. The Temp and FAN values are all correct.
Bye, Peer
|
|
| Back to top |
|
 |
ame Cacti User
Joined: 25 Nov 2005 Posts: 68
|
Posted: Fri Sep 21, 2007 6:51 am Post subject: |
|
|
I am using 0.86i - so that is the problem with the import.....have you saved the xml-file at .../resource/snmp_queries ?
All interfaces will be queried over the xml-file....so it seems that this file is missing
Alex
|
|
| Back to top |
|
 |
pkompibgc
Joined: 20 Sep 2007 Posts: 5
|
Posted: Fri Sep 21, 2007 7:02 am Post subject: |
|
|
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
|
|
| Back to top |
|
 |
pkompibgc
Joined: 20 Sep 2007 Posts: 5
|
Posted: Fri Sep 21, 2007 7:16 am Post subject: |
|
|
OK,
as expected: my fault. Somehow the data query was NOT set to snmp....
Don't know how this could happen. Now all 32 ports are found.
Waiting for the graphs ....
Thanks a lot !
Bye, peer
|
|
| Back to top |
|
 |
pkompibgc
Joined: 20 Sep 2007 Posts: 5
|
Posted: Fri Sep 21, 2007 8:47 am Post subject: 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
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12206 Location: Muenster, Germany
|
Posted: Mon Oct 01, 2007 11:51 am Post subject: |
|
|
Please see second link of my signature and pay attention to the section talking about "Downed Host Detection"
Reinhard
|
|
| Back to top |
|
 |
jus
Joined: 23 Jul 2007 Posts: 7
|
Posted: Thu Oct 18, 2007 5:00 am Post subject: 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
|
|
| Back to top |
|
 |
nyx
Joined: 13 Jul 2005 Posts: 12
|
Posted: Tue Dec 04, 2007 11:58 pm Post subject: |
|
|
| ame, can you please add to your post with the updated .xml for the 4100 and warn people that you have changed the default interfaces bits/s and the 95th percentile? I installed it and just spent 15mins getting all my graphs back to the standard formats we use.
|
|
| Back to top |
|
 |
|