Aktuelle Bandbreitenauslastung anzeigen html

Du suchst ein Programm für einen bestimmten Zweck?
Antworten
Springer10
Beiträge: 10
Registriert: 10.10.2008 22:30:15

Aktuelle Bandbreitenauslastung anzeigen html

Beitrag von Springer10 » 10.10.2008 22:33:36

Hallo

Falls das Thema hier falsch ist bitte verschieben

Ist es irgendwie möglich das ich mir vom meinen server per Firefox die aktuelle Bandbreitenauslastung anschauen kann?

gibt es da ein Modul für Munin?
Sollte eben etwa so aussehen: http://stats.germanstuntserver.com/Germ ... tstat.html

Danke

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: Aktuelle Bandbreitenauslastung anzeigen html

Beitrag von rendegast » 11.10.2008 05:13:47

ntop ?
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

Springer10
Beiträge: 10
Registriert: 10.10.2008 22:30:15

Re: Aktuelle Bandbreitenauslastung anzeigen html

Beitrag von Springer10 » 11.10.2008 15:00:46

SO ich habs nun hinbekommen das zu installieren aber ich bekomme nie mehr wie das:

Code: Alles auswählen

uh1002503:~/ntop/ntop-3.3.8# ntop -w 3005
Sat Oct 11 14:53:07 2008  NOTE: Interface merge enabled by default
Sat Oct 11 14:53:07 2008  Initializing gdbm databases
Sat Oct 11 14:53:07 2008  ntop will be started as user nobody
Sat Oct 11 14:53:07 2008  ntop v.3.3.8
Sat Oct 11 14:53:07 2008  Configured on Oct 11 2008 12:07:26, built on Oct 11 2008 12:08:21.
Sat Oct 11 14:53:07 2008  Copyright 1998-2007 by Luca Deri <deri@ntop.org>
Sat Oct 11 14:53:07 2008  Get the freshest ntop from http://www.ntop.org/
Sat Oct 11 14:53:07 2008  NOTE: ntop is running from 'ntop'
Sat Oct 11 14:53:07 2008  NOTE: (but see warning on man page for the --instance parameter)
Sat Oct 11 14:53:07 2008  NOTE: ntop libraries are in '/usr/local/lib'
Sat Oct 11 14:53:07 2008  Initializing ntop
Sat Oct 11 14:53:07 2008  No patterns to load: protocol guessing disabled.
Sat Oct 11 14:53:07 2008  Checking venet0 for additional devices
Sat Oct 11 14:53:07 2008  Added virtual interface: 'venet0:0'
Sat Oct 11 14:53:07 2008  Resetting traffic statistics for device venet0
Sat Oct 11 14:53:07 2008  Initializing device venet0 (0)
Sat Oct 11 14:53:07 2008  **WARNING** DLT: Device 0 [venet0] MTU value unknown
Sat Oct 11 14:53:07 2008  **WARNING** DLT: Processing continues OK
Sat Oct 11 14:53:07 2008  DLT: Device 0 [venet0] is 113, mtu 65355, header 0
Sat Oct 11 14:53:07 2008  Initializing gdbm databases
Sat Oct 11 14:53:07 2008  VENDOR: Loading MAC address table.
Sat Oct 11 14:53:07 2008  VENDOR: Checking for MAC address table file
Sat Oct 11 14:53:07 2008  VENDOR: File './specialMAC.txt.gz' does not need to be reloaded
Sat Oct 11 14:53:07 2008  VENDOR: ntop continues ok
Sat Oct 11 14:53:07 2008  VENDOR: Checking for MAC address table file
Sat Oct 11 14:53:07 2008  VENDOR: File './oui.txt.gz' does not need to be reloaded
Sat Oct 11 14:53:07 2008  VENDOR: ntop continues ok
Sat Oct 11 14:53:07 2008  Fingerprint: Loading signature file
Sat Oct 11 14:53:07 2008  Fingerprint: Checking for Fingerprint file... file
Sat Oct 11 14:53:07 2008  Fingerprint: Loading file './etter.finger.os.gz'
Sat Oct 11 14:53:07 2008  Fingerprint: ...loaded 0 records
Sat Oct 11 14:53:07 2008  ASN: Checking for Autonomous System Number table file
Sat Oct 11 14:53:07 2008  ASN: Loading file './AS-list.txt.gz'
Sat Oct 11 14:53:08 2008  ASN: ...found 111435 lines
Sat Oct 11 14:53:08 2008  ASN: ....Used 3780 KB of memory (12 per entry)
Sat Oct 11 14:53:08 2008  IP2CC: Checking for IP address <-> Country Code mapping file
Sat Oct 11 14:53:08 2008  IP2CC: Loading file './p2c.opt.table.gz'
Sat Oct 11 14:53:08 2008  IP2CC: ...found 52395 lines
Sat Oct 11 14:53:08 2008  Database support not compiled into ntop
Sat Oct 11 14:53:08 2008  Initializing external applications
Sat Oct 11 14:53:08 2008  THREADMGMT[t3045276592]: SFP: Started thread for fingerprinting
Sat Oct 11 14:53:08 2008  THREADMGMT[t3036887984]: SIH: Started thread for idle hosts detection
Sat Oct 11 14:53:08 2008  THREADMGMT[t3028499376]: DNSAR(1): Started thread for DNS address resolution
Sat Oct 11 14:53:08 2008  THREADMGMT[t3020110768]: DNSAR(2): Started thread for DNS address resolution
Sat Oct 11 14:53:08 2008  THREADMGMT[t3011722160]: DNSAR(3): Started thread for DNS address resolution
Sat Oct 11 14:53:08 2008  Calling plugin start functions (if any)
Sat Oct 11 14:53:08 2008  SSL is present but https is disabled: use -W <https port> for enabling it
Sat Oct 11 14:53:08 2008  INITWEB: Initializing web server
Sat Oct 11 14:53:08 2008  THREADMGMT[t3045276592]: SFP: Fingerprint scan thread starting [p28541]
Sat Oct 11 14:53:08 2008  THREADMGMT[t3036887984]: SIH: Idle host scan thread starting [p28541]
Sat Oct 11 14:53:08 2008  THREADMGMT[t3028499376]: DNSAR(1): Address resolution thread running
Sat Oct 11 14:53:08 2008  THREADMGMT[t3020110768]: DNSAR(2): Address resolution thread running
Sat Oct 11 14:53:08 2008  INITWEB: Initializing TCP/IP socket connections for web server
Sat Oct 11 14:53:08 2008  INITWEB: Initialized socket, port 3005, address (any)
Sat Oct 11 14:53:08 2008  INITWEB: Waiting for HTTP connections on port 3005
Sat Oct 11 14:53:08 2008  INITWEB: Starting web server
Sat Oct 11 14:53:08 2008  THREADMGMT[t3003333552]: INITWEB: Started thread for web server
Sat Oct 11 14:53:08 2008  Listening on [venet0,venet0:0]
Sat Oct 11 14:53:08 2008  Loading Plugins
Sat Oct 11 14:53:08 2008  Searching for plugins in ./plugins
Sat Oct 11 14:53:08 2008  LASTSEEN: Welcome to Host Last Seen. (C) 1999 by Andrea Marangoni
Sat Oct 11 14:53:08 2008  **WARNING** Plugin './plugins/lastSeenPlugin.so' contains a wrong filter specification
Sat Oct 11 14:53:08 2008  **WARNING**     "ip or (vlan and ip)" on interface venet0 (no VLAN support for data link type 113)
Sat Oct 11 14:53:08 2008  The filter has been discarded
Sat Oct 11 14:53:08 2008  ICMP: Welcome to ICMP Watch. (C) 1999-2005 by Luca Deri
Sat Oct 11 14:53:08 2008  RRD: Welcome to Round-Robin Databases. (C) 2002-07 by Luca Deri.
Sat Oct 11 14:53:08 2008  NETFLOW: Welcome to NetFlow.(C) 2002-08 by Luca Deri
Sat Oct 11 14:53:08 2008  PDA: Welcome to PDA. (C) 2001-2005 by L.Deri and W.Brock
Sat Oct 11 14:53:08 2008  Remote: Welcome to Remote. (C) 2006-07 by L.Deri
Sat Oct 11 14:53:08 2008  SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Deri
Sat Oct 11 14:53:08 2008  CPACKET: Welcome to cPacket.(C) 2008 by Luca Deri
Sat Oct 11 14:53:08 2008  Calling plugin start functions (if any)
Sat Oct 11 14:53:08 2008  RRD: Welcome to the RRD plugin
Sat Oct 11 14:53:08 2008  RRD: Mask for new directories is 0700
Sat Oct 11 14:53:08 2008  RRD: Mask for new files is 0066
Sat Oct 11 14:53:08 2008  RRD_DEBUG: Parameters:
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpInterval 300 seconds
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpShortInterval 10 seconds
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpHours 72 hours by 300 seconds
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpDays 90 days by hour
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpMonths 36 months by day
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpDomains no
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpFlows no
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpSubnets no
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpHosts no
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpInterfaces yes
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpASs no
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpMatrix no
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     dumpDetail medium
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     hostsFilter
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     rrdPath /usr/local/var/ntop/rrd [normal]
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     rrdPath /usr/local/var/ntop/rrd [dynamic/volatile]
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     umask 0066
Sat Oct 11 14:53:08 2008  RRD_DEBUG:     DirPerms 0700
Sat Oct 11 14:53:08 2008  THREADMGMT: RRD: Started thread (t2994580400) for data collection
Sat Oct 11 14:53:08 2008  INIT: Created pid file (/var/run/ntop.pid)
Sat Oct 11 14:53:08 2008  THREADMGMT[t3011722160]: DNSAR(3): Address resolution thread running
Sat Oct 11 14:53:08 2008  THREADMGMT[t3003333552]: WEB: Server connection thread starting [p28541]
Sat Oct 11 14:53:08 2008  Note: SIGPIPE handler set (ignore)
Sat Oct 11 14:53:08 2008  THREADMGMT[t3003333552]: WEB: Server connection thread running [p28541]
Sat Oct 11 14:53:08 2008  WEB: ntop's web server is now processing requests
Sat Oct 11 14:53:08 2008  THREADMGMT[t3073685184]: ntop RUNSTATE: INITNONROOT(3)
Sat Oct 11 14:53:08 2008  Now running as requested user 'nobody' (65534:65534)
Sat Oct 11 14:53:08 2008  Note: Reporting device initally set to 0 [venet0] (merged)
Sat Oct 11 14:53:08 2008  THREADMGMT[t3073685184]: ntop RUNSTATE: RUN(4)
Sat Oct 11 14:53:08 2008  THREADMGMT[t2986191792]: NPS(1): Started thread for network packet sniffing [venet0]
Sat Oct 11 14:53:08 2008  THREADMGMT[t2994580400]: RRD: Data collection thread starting [p28541]
Sat Oct 11 14:53:08 2008  THREADMGMT[t2986191792]: NPS(venet0): pcapDispatch thread starting [p28541]
Sat Oct 11 14:53:08 2008  THREADMGMT[t2986191792]: NPS(venet0): pcapDispatch thread running [p28541]
Sat Oct 11 14:53:08 2008  THREADMGMT[t3045276592]: SFP: Fingerprint scan thread running [p28541]
Sat Oct 11 14:53:08 2008  THREADMGMT[t3036887984]: SIH: Idle host scan thread running [p28541]
Sat Oct 11 14:53:18 2008  THREADMGMT[t2977803184]: RRD: Started thread for throughput data collection
Sat Oct 11 14:53:18 2008  THREADMGMT[t2994580400]: RRD: Data collection thread running [p28541]
Sat Oct 11 14:53:18 2008  THREADMGMT[t2977803184]: RRD: Throughput data collection: Thread starting [p28541]
Sat Oct 11 14:53:18 2008  THREADMGMT[t2977803184]: RRD: Throughput data collection: Thread running [p28541]
Nachdem das ne ewigkeit da steht dürck ich @ ssh mal strg+c dann bekomm ich das:

Code: Alles auswählen

Sat Oct 11 14:54:43 2008  CLEANUP[t3073685184]: ntop caught signal 2 [state=4]
Sat Oct 11 14:54:43 2008  THREADMGMT[t3073685184]: ntop RUNSTATE: SHUTDOWN(7)
Sat Oct 11 14:54:43 2008  CLEANUP[t3073685184] catching thread is unknown
Sat Oct 11 14:54:43 2008  THREADMGMT[t2986191792]: NPS(venet0): pcapDispatch thread terminated [p28541]
Sat Oct 11 14:54:43 2008  CLEANUP: Running threads SFP SIH WEB DNSAR1 DNSAR2 DNSAR3
Sat Oct 11 14:54:43 2008  Joining thread DNSAR1
Sat Oct 11 14:54:43 2008  THREADMGMT[t3011722160]: DNSAR(3): Address resolution thread terminated [p28541]
Sat Oct 11 14:54:48 2008  THREADMGMT[t3003333552]: WEB: Server connection thread terminated [p28541]
Sat Oct 11 14:54:48 2008  THREADMGMT[t3045276592]: SFP: Fingerprint scan thread terminated [p28541]
Sat Oct 11 14:54:48 2008  THREADMGMT[t3036887984]: SIH: Idle host scan thread terminated [p28541]
Sat Oct 11 14:54:48 2008  THREADMGMT[t2977803184]: RRD: Throughput data collection: Thread stopping [p28541] State>RUN
Sat Oct 11 14:54:48 2008  THREADMGMT[t2977803184]: RRD: Throughput data collection: Thread terminated [p28541]
Sat Oct 11 14:54:53 2008  THREADMGMT[t2994580400]: RRD: Data collection thread stopping [p28541] State>RUN
Sat Oct 11 14:54:53 2008  THREADMGMT[t2994580400]: RRD: Data collection thread terminated [p28541]
Sat Oct 11 14:54:53 2008  CLEANUP[t3073685184]: ntop caught signal 14 [state=7]
Sat Oct 11 14:54:53 2008  ntop is now quitting...
uh1002503:~/ntop/ntop-3.3.8#
Weiß wer warum es nicht funktioniert?

Benutzeravatar
mikrokosmos
Beiträge: 225
Registriert: 26.07.2006 19:38:24

Re: Aktuelle Bandbreitenauslastung anzeigen html

Beitrag von mikrokosmos » 11.10.2008 16:17:33

Was funktioniert denn nicht? Hast du mal mit einem Webbrowser deiner Wahl den entsprechenden Rechner auf Port 3005 angesurft?
Edit: Port geändert.
Zuletzt geändert von mikrokosmos am 11.10.2008 18:00:41, insgesamt 1-mal geändert.

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: Aktuelle Bandbreitenauslastung anzeigen html

Beitrag von rendegast » 11.10.2008 17:04:37

uh1002503:~/ntop/ntop-3.3.8# ntop -w 3005
Du startest als normales Programm,
hast die manpage bis '-w' gelesen, aber '-d' übersprungen?
Der daemonprozeß 'ntop -d' wird unix-typisch über /etc/init.d/ntop gestartet.
Und Port 3005 nicht angesurft?
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

Springer10
Beiträge: 10
Registriert: 10.10.2008 22:30:15

Re: Aktuelle Bandbreitenauslastung anzeigen html

Beitrag von Springer10 » 11.10.2008 20:22:11

ach danke.. jetzt gehts .. -d fehlte mir

nepos
Beiträge: 5238
Registriert: 05.01.2005 10:08:12

Re: Aktuelle Bandbreitenauslastung anzeigen html

Beitrag von nepos » 12.10.2008 17:41:08

Und das nächste mal bitte die Tonnen von Output ins NoPaste packen.
Danke dir :)

Antworten