Changeset 73 for trunk/tool
- Timestamp:
- 07/24/08 10:47:32 (15 years ago)
- Location:
- trunk/tool
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/tool/check.sh
r57 r73 14 14 echo "renetcolMsgCtl started" 15 15 sleep 2 16 $1/src/renetcol $1/src/info_routeur_netflow.txt $1/src/donneesblocsadresses2 $1/src/rules.txt16 $1/src/renetcol 17 17 echo "renetcol restarted" 18 $1/src/renetcolSender $1/src/renetcol 1 $1/src/rules.txt18 $1/src/renetcolSender $1/src/renetcol 1 19 19 echo "renetcolSender restarted" 20 20 $1/src/renetcolAgg -
trunk/tool/renetcolGUI.py
r72 r73 52 52 collectorAddr = "127.0.0.1" 53 53 collectorAddr6 = "0::" 54 collectorPort = 52571 # if you change it, apply the modification on 55 # the renetcolSender.h file and recompil the collector 54 collectorPort = 52571 # if you change this port number, apply the 55 # modification on the renetcolSender.h file 56 # and you'll need a new compilation of the colllector 56 57 ############################################################################## 57 58 … … 599 600 old_record_file.close() 600 601 now2 = time.time() 601 reste = 86400-(operator.mod(now2,86400))602 myTimer = threading.Timer(3 00.0,timer_action)602 reste = 360-(operator.mod(now2,360)) 603 myTimer = threading.Timer(360.0,timer_action) 603 604 myTimer.start() 604 605 … … 612 613 print "STARTING RECORD ROTATION" 613 614 now2 = time.time() 614 reste = 86400-(operator.mod(now2,86400))615 myTimer = threading.Timer(3 00.0,timer_action)615 reste = 360-(operator.mod(now2,360)) 616 myTimer = threading.Timer(360,timer_action) 616 617 myTimer.start() 617 618 if widget.get_active() == 0: … … 695 696 coll_window.show_all() 696 697 if (is_already_see==0): 697 info_dialog(widget, None, "You should register edonly one rule for each GUI parser ! Think of using the DELETE button !")698 info_dialog(widget, None, "You should register only one rule for each GUI parser ! Think of using the DELETE button !") 698 699 is_already_see=1 699 700