Ethernet Stats(RFC1643) - XML

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

Moderators: Developers, Moderators

Zap

Post by Zap »

Hi k.c.o.r.e

Thanks for the fix. I have tested it on a 2924 and it worked fine. I do not have aa 2950 handy but I am sure it will work. I was pouring over the XML files whan I should of been looking else where.

Thanks again for the templates and the fix.

Zap
alanyoung1979
Posts: 13
Joined: Mon May 03, 2004 5:26 pm

How do I install these xmls files

Post by alanyoung1979 »

I have an install of 0.8.5a but I can't for some reason import xml files (I get no error). Can some one explain to me what files I need to copy and where to copy them so i can get this to work with my install. I would also need steps for any relvant GUI steps.

Thanks

Alan
kiko84
Posts: 15
Joined: Mon May 17, 2004 4:06 am

Post by kiko84 »

Hey

Excuse me but I have just installed Cacti and you script seems to be very usefull. What must I write in the fields :

Index Type
Index Value
OutputID

Thanks
websi
Posts: 37
Joined: Wed Apr 21, 2004 7:50 am
Contact:

Post by websi »

Same qyuestion...


It didn't works...

The probleme is that no rrd file is written in the database, so, it's normal that no graph appears.


-make a new graph on my switch HP Procurve.
-select "SNMP(INDEXED) dot3starts (RFC1643)"
-check the eth0 on the switch that is ethernetCsmacd(6).
- hit Create
- If index, Of value and Output... -> do nothing
- re hit Create
- Go to the Graph section and....

2 graph are created (is it normal?)

Switch procurve traffic 1
Switche Procurve(|query_ifDescr|) - dot3Stats(RFC1643)

So i look the source of the second and it need "switche_procurve_alignmenterrors_47.rrd":AlignmentErrors" to appear.

BUT!!!! no record like this name is in the database !!!
Why?
(whitout this record, it's normal that nothing is done to make this .rrd)

I'va already have this probleme witch available disk space, but the solution is to be a little more inteligent ( i don't have chosen a partition...sorry)

Do i've forgotten to choose something?


Please help :roll:
websi
Posts: 37
Joined: Wed Apr 21, 2004 7:50 am
Contact:

Post by websi »

Ok, i've foud...

To check the interface, you have to list them witch data query named "SNMP(INDEXED) - dot3Stats(RFC1643)" and not" interface statistic" that is installed.


It's logic, but not easy to understand at the begining...
websi
Posts: 37
Joined: Wed Apr 21, 2004 7:50 am
Contact:

Post by websi »

Juste a little more questions...

It's impossible for the SNMP(INDEXED) - dot3Stats(RFC1643) check to list the port of my server. Is it normal?
It's a dell poweredge on a debian. May all the linux machine have this probleme?

Thanks
Guest

Post by Guest »

hum?
User avatar
hufnmouth
Posts: 10
Joined: Mon Jun 21, 2004 1:19 pm

RFC1643

Post by hufnmouth »

I'm trying to get this working on a Pix 515E. However when I view Data Queries>>Associated Graph Templates I receive the following:
Warning: Variable passed to each() is not an array or object in /home/httpd/cacti/snmp.php on line 322
It's only happening with this script. Any help is appreciated.
fletch
Cacti User
Posts: 132
Joined: Mon Oct 06, 2003 5:40 pm
Location: Stanford, CA

Creating the graphs using these templates for an HP Procurve

Post by fletch »

My HP Procurve Switch has:

IF-MIB::ifDescr.1 = STRING: 1
IF-MIB::ifDescr.2 = STRING: 2
IF-MIB::ifDescr.3 = STRING: 3
IF-MIB::ifDescr.4 = STRING: 4
...
...
IF-MIB::ifDescr.45 = STRING: 45
IF-MIB::ifDescr.46 = STRING: 46
IF-MIB::ifDescr.47 = STRING: 47
IF-MIB::ifDescr.48 = STRING: 48
IF-MIB::ifDescr.99 = STRING: DEFAULT_VLAN
IF-MIB::ifDescr.4194 = STRING: HP ProCurve Switch software loopback interface

I imported the templates fine, and put the snmp query xml in the right place, but the new graphs I created have:

irt-sw-02(|query_ifDescr|) - dot3Stats(RFC1643)

for titles and no data.

Are these stats available from the HP switch?

How do I setup the graph for say interface 17?
type ethernetCsmacd(6)

Thanks!
User avatar
Pumpi
Cacti User
Posts: 259
Joined: Wed Jan 14, 2004 3:23 am
Location: Germany

Post by Pumpi »

Please explain me the values for this fields:

Index Type
Index Value
Output Type ID
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

Thanks for a great graph, k.c.o.r.e.

Any news/updates on atm interfaces?

Christofer
User avatar
Morgan
Cacti User
Posts: 187
Joined: Wed Feb 25, 2004 3:38 am

Post by Morgan »

any1 tried to add crc's to that as well ?
mait
Posts: 16
Joined: Wed Feb 23, 2005 2:14 am

Post by mait »

hey,

are'nt these values of type 'counter'?
you have specified type of value to be gauge ... this would make the graphs to be rising all the time ...

Mait
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Re: Ethernet Stats(RFC1643) - XML

Post by TFC »

k.c.o.r.e wrote:Hi,

Let's try this: extract the tarball and import the xml's.

data_template_rfc1643.xml
graph_template_rfc1643.xml
data_query_rfc1643.xml

Should work. Post a reply, if it's not working.

Chris
I import only this three files. But now working. When I add SNMP(INDEXED) - dot3stats(RFC1643) to the Associated data queries and I want to create a graph about it
I get:
Warning: reset(): Passed variable is not an array or object in /www/htdocs/cacti/graphs_new.php on line 530

Warning: Variable passed to each() is not an array or object in /www/htdocs/cacti/graphs_new.php on line 531
Data Query [SNMP(INDEXED) - dot3Stats(RFC1643)]


Warning: reset(): Passed variable is not an array or object in /www/htdocs/cacti/graphs_new.php on line 606

Warning: Variable passed to each() is not an array or object in /www/htdocs/cacti/graphs_new.php on line 607
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

Look at graphic.
Is it normal?
and What "G" mean?
Attachments
RFC1643.jpg
RFC1643.jpg (100.17 KiB) Viewed 26836 times
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests