Script help

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
area51
Posts: 12
Joined: Wed Jul 13, 2005 7:17 am

Script help

Post by area51 »

Hi, how i need to configure cacti to monitoring traffic on Pcs in my LAN network ?
with this script >
#!/bin/sh
#
printf "`/sbin/ipfw show $1 | awk '{ print "traffic_in:" $3 }'`"
printf "`/sbin/ipfw show $2 | awk '{ print " traffic_out:" $3 }'`"
10x
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

there are plenty of examples on this board. Here's one I'm using : http://forums.cacti.net/viewtopic.php?p ... ght=#36403
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
area51
Posts: 12
Joined: Wed Jul 13, 2005 7:17 am

Post by area51 »

fmangeant wrote:Hi

there are plenty of examples on this board. Here's one I'm using : http://forums.cacti.net/viewtopic.php?p ... ght=#36403
10x but this is not good for me i'm not using smtp

my server is on freebsd and other pcs are on winxp
Thomas
Cacti User
Posts: 112
Joined: Thu Dec 09, 2004 1:51 pm
Location: Austria

Post by Thomas »

If you just want to graph the network traffic on your PC's you could simply use the "Windows 2000/XP Host" template.
On the "Data Query [SNMP - Interface Statistics]" simply select the interface you're interested in and the "graph type:".
That's the way we did it.
Thomas Rupp
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests