Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Jun 20, 2019 8:28 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: NetFlow Template
PostPosted: 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:
File comment: NetFlow Template for Cacti
cacti_graph_template_netflow.xml [12.41 KiB]
Downloaded 4514 times
Top
  
 
 Post subject: Data Template
PostPosted: 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 3230 times
Top
  
 
 Post subject: Netflow Data Templates
PostPosted: Mon Apr 19, 2004 8:37 am 
Offline
Cacti User

Joined: Wed Jan 07, 2004 11:16 am
Posts: 84
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 21, 2004 1:17 am 
Offline
Cacti Pro User
User avatar

Joined: Wed Apr 09, 2003 2:17 am
Posts: 722
Location: Izmir/Turkey
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.


Top
 Profile  
 
 Post subject: can not import the netflow template
PostPosted: 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.


Top
  
 
 Post subject:
PostPosted: Sat Jul 31, 2004 3:44 am 
Offline
Cacti User

Joined: Wed Jan 07, 2004 11:16 am
Posts: 84
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 13, 2006 5:47 pm 
Offline
Cacti User

Joined: Wed Sep 28, 2005 1:39 pm
Posts: 495
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???


Top
 Profile  
 
 Post subject: cacti_graph_template_netflow.xml
PostPosted: Tue Apr 04, 2006 2:28 am 
Offline

Joined: Tue Apr 04, 2006 1:25 am
Posts: 2
Location: Phoenix
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:
File comment: cacti_graph_template_netflow.xml
cacti_graph_template_netflow.xml [11.9 KiB]
Downloaded 1193 times

_________________
Quis custodiet ipsos custodes?
Top
 Profile  
 
 Post subject: Updated template
PostPosted: Sun Oct 01, 2006 3:20 pm 
Offline

Joined: Sun Jul 03, 2005 1:30 pm
Posts: 12
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_grapha_template.xml [24.19 KiB]
Downloaded 2199 times
cacti_netflow_data_template.xml [5.28 KiB]
Downloaded 1954 times
Top
 Profile  
 
 Post subject: netflow template in the Windows
PostPosted: Wed Oct 03, 2007 8:58 am 
Offline

Joined: Wed Oct 03, 2007 8:22 am
Posts: 3
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)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group