NetFlow Template

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

Moderators: Moderators, Developers

Post Reply
Author
Message
IQdan

NetFlow Template

#1 Post by IQdan » Thu Apr 01, 2004 11:44 am

For those that already have netflow reporting to an .rrd file here is a template to view the data within.
Attachments
cacti_graph_template_netflow.xml
NetFlow Template for Cacti
(12.41 KiB) Downloaded 4568 times

IQdan

Data Template

#2 Post by IQdan » Thu Apr 01, 2004 12:03 pm

Here's the Data Template to go with the Graph Template
Attachments
cacti_data_template_netflow.xml
(4.02 KiB) Downloaded 3284 times

oharel
Cacti User
Posts: 84
Joined: Wed Jan 07, 2004 11:16 am

Netflow Data Templates

#3 Post by oharel » Mon Apr 19, 2004 8:37 am

Hi,

can someone please explain the process of implementing these (assuming that i have netflow and flow-scan running)? just give the steps of what should be created like: 1. create data source 2. create graph template etc...
i get all confused when trying to implement it and get nowhere...

thanks
harel

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

#4 Post by TFC » Wed Apr 21, 2004 1:17 am

Hi,
When I try to import these templates I got "XML parse error" messages.
I must said that before installation, I change the daily rows value from 600 to 17280.

sandra

can not import the netflow template

#5 Post by sandra » Thu May 06, 2004 9:39 am

Hi,

I tried to import the netflow template into my cacti software, I'm doing this:

- cacti web page (with admin user), import template, browse... (to select the XML template), click SAVE button and the browser appears to load/send the archive but so far nothing else happen.

The netflow templates are not imported, I looked in the mysql and are not in there.

I'm using cacti 0.8.5a and my web server is running under apache user.

This is the first template that I tried to import.

Can somebody give me a lead to resolve this problem?

Thanks in advanced.

oharel
Cacti User
Posts: 84
Joined: Wed Jan 07, 2004 11:16 am

#6 Post by oharel » Sat Jul 31, 2004 3:44 am

Sandra,

hope i can help some:
i had the same problem with cacti 0.8.4 but in 0.8.5a it disappeared. now, i am not sure it has anything to do with the fact that i changed versions...
what i noticed is that after saving the template to my computer and double-clicking on the xml, instead of getting the xml template displayed, i got:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings/oharel/Desktop/Cacti/Netflow/cacti_graph_template_netflow.xml'. Line 1, Position 1

-
which did not happen with normal xmls.
compare your xml with one that is working - look at the first lines, as the error indicates. you might need to change the xml a bit...

-harel

knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

#7 Post by knobdy » Fri Jan 13, 2006 5:47 pm

Has anyone done anything more with this? I would very much prefer this to a third party graphing application.

I've tried to import the above mentioned XML files but I'm missing dependencies...and have no idea how to discover them.

Also, perhaps some guidance in how to configure cflowd (or the like) for use with cacti and these template???

phiz
Posts: 2
Joined: Tue Apr 04, 2006 1:25 am
Location: Phoenix
Contact:

cacti_graph_template_netflow.xml

#8 Post by phiz » Tue Apr 04, 2006 2:28 am

Hi, when I go to import the cacti_graph_template_netflow.xml I get the following warnings. I'm using cacti-0.8.6h. The .xml file is attached for reference. The other file, cacti_data_template_netflow.xml seems to import fine.

Cacti has imported the following items:

Round Robin Archive
[success] Daily (5 Minute Average) [update]
[success] Weekly (30 Minute Average) [update]
[success] Monthly (2 Hour Average) [update]
[success] Yearly (1 Day Average) [update]

CDEF
[success] Turn Bytes into Bits [update]

GPRINT Preset
[success] Normal [update]

Data Template
[success] NetFlow [update]

Graph Template
[success] NetFlow [new]
+ Found Dependency: (Data Template Item) in_bytes
+ Found Dependency: (CDEF) Turn Bytes into Bits
+ Found Dependency: (GPRINT Preset) Normal
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
Attachments
cacti_graph_template_netflow.xml
cacti_graph_template_netflow.xml
(11.9 KiB) Downloaded 1321 times
Quis custodiet ipsos custodes?

Skept
Posts: 12
Joined: Sun Jul 03, 2005 1:30 pm

Updated template

#9 Post by Skept » Sun Oct 01, 2006 3:20 pm

It's trivial to create a netflow template really.

I have followed the intructions from http://forums.cacti.net/viewtopic.php?t=12202 and later i have discovered http://forums.cacti.net/about12393.html ... ht=netflow

Thanks Reinhard and Loceur

Qwertz,

this error in flowscan logs means that CFlow is not compiled with flowtools support
Invalid index in cflowd flow file: 0xCF100103! Version 5 flow-export is required with *all* fields being saved.

to enable cflow support, ensure that you compile cflow from within flow-tools directory, right after you compile flow-tools. you will also see the -OSU flag during the compile process.

Hail Reinhard once again :D
Attachments
cacti_netflow_data_template.xml
(5.28 KiB) Downloaded 2088 times
cacti_netflow_grapha_template.xml
(24.19 KiB) Downloaded 2333 times

MichelSimard
Posts: 3
Joined: Wed Oct 03, 2007 8:22 am

netflow template in the Windows

#10 Post by MichelSimard » Wed Oct 03, 2007 8:58 am

Hello,

We have Ntop in the Windows(Ntop-xtra) , if one can use netflow template for go look the graph?

(Ntop create rdd file the netflow already)

Post Reply