Commit 57e0325d authored by cvslasan's avatar cvslasan

ports

parent a52e8ae7
$Id: ChangeLog,v 1.67 2009/09/08 21:37:45 cvslasan Exp $
$Id: ChangeLog,v 1.68 2009/09/17 22:55:42 cvslasan Exp $
2009/09/16 - version: 0.9.7.5
2009/09/15 - systemgraph.cgi: createGraphNetIOrS modified.
from now on it is much easier to add/remove/modify
the UDP/TCP ports for the detailed protocol statistic.
the important variables in systemgraph.cgi are:
@graphNetPorts
@graphNetPortsColors
in rrd_iptraf.pl, rrd_shorewallstats.pl :
@ports
2009/09/09 - version: 0.9.7.4
......
......@@ -3,7 +3,7 @@
systemgraph - a RRDtool frontend for various system statistics
by Jochen Schlick <j.schlick_at_decagon.de>
$Id: README,v 1.35 2009/08/07 00:29:56 cvslasan Exp $
$Id: README,v 1.36 2009/09/17 22:55:42 cvslasan Exp $
-----------------------------------------------------
......@@ -108,6 +108,24 @@ systemgraph is made of some scripts:
Finally you need to define the interfaces for shorewall / iptraf in your
systemgraph.sysconfig file.
At the moment the following protocols (UDP/TCP ports) are part of the
detailed protocol statistic:
#22 ssh
#25 smtp
#53 dns
#80 http
#110 pop3
#119 nntp
#143 imap
#443 https
#873 rsync
[You can change this by editing the '@ports' line in the rrd_shorewallstats.pl /
rrd_iptraf.pl line. Then you have to remove your old rrd-database file because
it is no longer compatible. The same modifications must done in the systemgraph.cgi
file's concerning @graphNetPorts... lines too.
When using shorewall you have to modify also the /etc/shorewall/accounting file.]
- systemgraph.cron.d
------------------
......
#
# systemgraph's example accounting file for eth0 and ppp0
#
# $Id: accounting,v 1.7 2007/11/01 22:21:07 cvspassaun Exp $
# $Id: accounting,v 1.8 2009/09/17 22:55:42 cvslasan Exp $
#
###############################################################################
#
# This file is part of systemgraph.
#
# Copyright (C) 2004, 2005, 2006, 2007 Jochen Schlick
# Copyright (C) 2004-2009 Jochen Schlick
#
# systemgraph is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -38,8 +38,16 @@
# If you have other interfaces to account simply replace eth0/ppp0
# with your interface names.
#
# - systemagraph wants accounting data for port 22, 25, 53, 80,
# 110, 119, 143, 443, 873
# - systemagraph wants accounting data for port
# 22
# 25
# 53
# 80
# 110
# 119
# 143
# 443
# 873
#
#..............................................................................
###################
......@@ -144,6 +152,13 @@ inSGeth0_873:COUNT - eth0 - udp 873
inSGeth0_873:COUNT - eth0 - udp - 873
DONE inSGeth0_873
#..............................................................
# ... add entries for additional protocols here ...............
#..............................................................
#
#
#
#
#
#
###################
# ppp0 #
......@@ -246,5 +261,8 @@ inSGppp0_873:COUNT - ppp0 - tcp - 873
inSGppp0_873:COUNT - ppp0 - udp 873
inSGppp0_873:COUNT - ppp0 - udp - 873
DONE inSGppp0_873
#
#..............................................................
# ... add entries for additional protocols here ...............
#..............................................................
#
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment