AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/tcp/SRTG.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Simple Router Traffic Grapher for MiamiDx, a MRTG like tool.
Author: bruyere at nerim.net
Uploader:Michael Bruyere (bruyere nerim net)
Type:comm/tcp
Version:1.0
Architecture:m68k-amigaos
Date:2000-09-23
Requires:MiamiDx1.0c (perhaps miami) , OS3.0, gnuplot, grep & cut
Download:comm/tcp/SRTG.lha - View contents
Readme:comm/tcp/SRTG.readme
Downloads:789

SRTG monitor your network global traffic load and round trip time,
and plot it in a picture.
It is only a fast made and simple tool. Port of MRTG is difficult
as MiamiDX has no SNMP interface.

It use an arexx script (for monitoring) and a Gnuplot script (for plotting)


Features
--------
	- monitor 
		the global traffic load
		the roundtrip time (ping)

	- log all results
		you can show a daily graph with 5mn step (Default)
		or monthly grap, current hour graph ...
		or what you want, just play with the gnnuplot script.
 

Install
-------
	- First you need ta have Gnuplot installed, 
	  and have it in you command path.
	  (you can get it from aminet/gfx/misc/gnuplot-bin.lha)

	- I use grep and cut command too (mine are from GeekGadgets)

	- Put the SRTG directory somewhere 
	  (in 'miami:scripts/' for example)

	- Edit the SRTG.rexx script to correct path

	- Edit the gnuplot script (SRTG.cmd) if you want to change the name 
          and place of the generated picture.


Usage
-----
	- start the script rx <path/to/SRTG>/SRTG.rexx [interface]
	  You can start it from MiamiDx->Events->Start

	The optionnal interface is the name of the interface to monitor.
	(default is default miami interface)

	You can put the picture directly on your web server, 
	or ready to be upload on it, with a page to monitor results.
	

Note
----
	- If, your battery backed-up clock is dead, 
	  and you're using an NTP server
	  to set your computer time, BE CAREFULL !
	  Miami start before your call to NTP, so every info
	  it return (like onlinetime) take origin at the date and time
          before NTP call ...
	  
	  I use the following workaround (not nice, but it work)

	  copy the NTPdelta.rexx script somewhere
	  Correct it to use your NTP client (It use facts in french)

	  and change line 36 of SRTG.rexx
	      < timeOffset = 0
	  bye > timeOffset = GetTimeOffSet()


Todo
----

If i found time, a C/C++ program using callback hook feature of Miami should be better.


Feedback
--------

Comments, criticisms or suggestions may be addressed to -
bruyere@homemail.com


Contents of comm/tcp/SRTG.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1183    2353  50.3% -lh5- 4d2c Sep 19  2000 SRTG.readme
[generic]                  536    1219  44.0% -lh5- 7d6d Sep 12  2000 SRTG/NTPDelta.rexx
[generic]                  391     675  57.9% -lh5- 682e Sep 10  2000 SRTG/SRTG.cmd
[generic]                55629  157679  35.3% -lh5- c094 Sep 10  2000 SRTG/SRTG.dat
[generic]                 1308    3394  38.5% -lh5- 2fc8 Sep 19  2000 SRTG/SRTG.rexx
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files   59047  165320  35.7%            Sep 23  2000
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>