Can we use cacti to monitor a server's total traffic

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
pandachina
Posts: 2
Joined: Fri Nov 27, 2009 4:40 am

Can we use cacti to monitor a server's total traffic

Post by pandachina »

For example, I want to draw a graph of a server's total traffic of each day, each month or each year

If we can do it, how can we achieve it? Please do me a favor!
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Install net-snmp on the server (if it's unix) or Windows SNMP server (if it's windows). Then use the "Interface Traffic - Total Traffic" template.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
pandachina
Posts: 2
Joined: Fri Nov 27, 2009 4:40 am

Post by pandachina »

Howie wrote:Install net-snmp on the server (if it's unix) or Windows SNMP server (if it's windows). Then use the "Interface Traffic - Total Traffic" template.
Thank you! But I didn't find "Interface Traffic - Total Traffic" template, in my Cacti, there're some templates as follows:
graph template
Interface Traffic - Traffic(bits/sec)
Interface Traffic - Traffic(bits/sec,95th Percentile)
Interface Traffic - Traffic(bits/sec,Total Bandwidth)
Interface Traffic - Traffic(bytes/sec)
Interface Traffic - Traffic(bytes/sec,Total Bandwidth)
data template
Interface - Traffic

If I can build a "Interface Traffic - Total Traffic" template, how can I do it
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

It's part of the Data Query "Interface Traffic".
Associate that Data Query to your host (or, better, use the Host Template "ucd/net snmp"). Then "Create Graphs for this Host". You'll see the traffic stuff at the very bottom of the page. There's a dropdown to select the Graph.
All this is described in detail at 1st link of my sig
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest