Testy kompatibility meracej platformy MONICA

NetFlow Tracker

link na oficialnu stranku projektu NetFlow Tracker

NetFlow Tracker from Fluke Networks Systems is the solution that uses Cisco IOS NetFlow and IPFIX information for in-depth LAN/WAN and application troubleshooting, trend analysis and capacity planning. This real time monitoring of NetFlow and IPFIX data allows network managers to have the detailed information necessary to identify, isolate and troubleshoot network performance issues.

- v slovniku Monici je NetFlow Tracker kolektorom a analyzerom

Instalacia Linux

podporovanymi distribuciami su:

  • Red Hat Enterprise Linux 5
  • Fedora Core 8

Poziadavky

  • Java (najnovsia verzia)
  • MySQL (najnovsia verzia)

1.) stiahnut http://www.flukenetworks.com/FNet/en-gb/findit?Document=9823147

2.) nainstalovat alien a konvertovat .rpm do .deb

sudo apt-get install alien
sudo alien --scripts nftracker-6.0-25.i386.rpm

3.) nainstalovat .deb balicek

sudo dpkg -i nftracker_6.0-26_i386.deb

!!! instalacia neprebehla korektne !!!

bm@bm:~/install$ sudo dpkg -i nftracker_6.0-26_i386.deb 
Selecting previously deselected package nftracker.
(Reading database ... 112712 files and directories currently installed.)
Unpacking nftracker (from nftracker_6.0-26_i386.deb) ...
... Pre-install-processing ...
Setting up nftracker (6.0-26) ...
session    required   pam_limits.so
... Post-install-processing ...
... Installing mysql ...
/home/bm/install
... Setting users and permissions ...
... Setting up services ...
/var/lib/dpkg/info/nftracker.postinst: 1369: chkconfig: not found
/var/lib/dpkg/info/nftracker.postinst: 1370: chkconfig: not found
... Configuring miscellaneous elements ...
... Setting Java Home ...
/usr/lib
Setting HTTP port
HTTP port is 8000
Ensure the firewall is not blocking port 8000
... Creating databases ...
Starting Netflow Tracker Database
.... * 
... Starting Tracker Service...
Starting NetFlow Tracker
/opt/fnet/Tracker/start: 3: Syntax error: "(" unexpected

v poslednom riadku je vidiet chybu pri spustani suboru start (ktory je tu k nahladu):

bm@bm:/opt/fnet/Tracker$ ./start
./start: 3: Syntax error: "(" unexpected

nasledny pokus o preinstalovanie balicka - neuspesny:

bm@bm:~/install$ sudo dpkg -i nftracker_6.0-26_i386.deb 
(Reading database ... 113887 files and directories currently installed.)
Preparing to replace nftracker 6.0-26 (using nftracker_6.0-26_i386.deb) ...
... Pre-uninstall-processing ...
... Removing services ...
/var/lib/dpkg/info/nftracker.prerm: 27: /sbin/service: not found
/var/lib/dpkg/info/nftracker.prerm: 28: /sbin/chkconfig: not found
... Removing databases ...
/var/lib/dpkg/info/nftracker.prerm: 48: /sbin/service: not found
/var/lib/dpkg/info/nftracker.prerm: 49: /sbin/chkconfig: not found
dpkg: warning - old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
... Pre-uninstall-processing ...
... Removing services ...
/var/lib/dpkg/tmp.ci/prerm: 27: /sbin/service: not found
/var/lib/dpkg/tmp.ci/prerm: 28: /sbin/chkconfig: not found
... Removing databases ...
/var/lib/dpkg/tmp.ci/prerm: 48: /sbin/service: not found
/var/lib/dpkg/tmp.ci/prerm: 49: /sbin/chkconfig: not found
dpkg: error processing nftracker_6.0-26_i386.deb (--install):
subprocess new pre-removal script returned error exit status 127
chown: cannot access `/opt/fnet/Tracker/.fonts/fonts.dir': No such file or directory
chown: cannot access `/opt/fnet/Tracker/.fonts/zysong.ttf': No such file or directory
chown: cannot access `/opt/fnet/Tracker/setenvs.template': No such file or directory
chmod: cannot access `/opt/fnet/Tracker/setenvs.template': No such file or directory
session    required   pam_limits.so
session required pam_limits.so
... Post-install-processing ...
... Setting users and permissions ...
... Setting up services ...
/var/lib/dpkg/info/nftracker.postinst: 1369: chkconfig: not found
/var/lib/dpkg/info/nftracker.postinst: 1370: chkconfig: not found
... Configuring miscellaneous elements ...
... Setting Java Home ...
mv: cannot stat `/opt/fnet/Tracker/setenvs.template': No such file or directory
chown: cannot access `/opt/fnet/Tracker/setenvs': No such file or directory
chmod: cannot access `/opt/fnet/Tracker/setenvs': No such file or directory
chmod: cannot access `/opt/fnet/Tracker/setenvs': No such file or directory
.: 4: Can't open ./setenvs
.: 3: Can't open ./setenvs
.: 3: Can't open ./setenvs
.: 3: Can't open ./setenvs
... Creating databases ...
Starting Netflow Tracker Database
* 
.: 3: Can't open ./setenvs
.: 3: Can't open ./setenvs
... Starting Tracker Service...
Starting NetFlow Tracker
.: 112: Can't open /opt/fnet/Tracker/setenvs
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
nftracker_6.0-26_i386.deb

ani brute-force pokus o odstranenie balicka pomocou sudo dpkg --force-all -r nftracker nebol uspesnejsi. vyhlasil toto:

bm@bm:~/install$  sudo dpkg --force-all -r nftracker
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
.
.
.
potom nasledoval takmer totozny vystup ako pri predchadzajucom  sudo dpkg -i nftracker_6.0-26_i386.deb

Instalacia pod Linuxom nebola uspesna

Instalacia Win

1.) stiahnut http://www.flukenetworks.com/FNet/en-gb/findit?Document=9822602

2.) naistalovat stiahnuty .exe subor (staci klikat na next)

Instalacia prebehla bez problemov

Testovaci scenar Win - Linux

Kedze instalacia pod Linuxom nebola uspesna, musel som vyuzit instalaciu pod Win. Testovaci scenar bol takyto: NetFlow Tracker v roli kolektora a analyzera beziaci na PC s Win a mybeem beziaci na inom PC s Linuxom. Mybeem bol nakonfigurovany tak aby exportoval data na IP 192.168.1.44, port 4739. NetFlow Tracker tu pocuval. (pozri screen1). V dolnej casti obrazku je potvrdene Wiresharkom, ze PC s Win prijimal IPFIX pakety smerujuce na dany port.

Napriek tomu na obrazku screen2 vidiet, ze NetFlow Tracker data nespracoval.

  • screen1:
    screen1.JPG

  • screen2:
    screen2.JPG
Topic attachments
I Attachment Action Size Date Who Comment
pdfPDF install_guide.PDF manage 696.1 K 04 Apr 2010 - 19:20 UnknownUser  
pdfpdf manual.pdf manage 1282.4 K 05 Apr 2010 - 17:50 UnknownUser  
pdfPDF overview.PDF manage 2169.2 K 04 Apr 2010 - 19:17 UnknownUser  
jpgJPG screen1.JPG manage 331.9 K 05 Apr 2010 - 23:55 UnknownUser  
jpgJPG screen2.JPG manage 20.7 K 05 Apr 2010 - 23:56 UnknownUser  
elseEXT start manage 1.2 K 05 Apr 2010 - 18:18 UnknownUser  
Topic revision: r12 - 19 Apr 2010 - 23:53:01 - RastislavKudla
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback