Traffic monitor for WRT54GS-UK v5.1

Hello all!
I know I can get software monitors for each PC/notebook that I want to monitor but for a very long time I've been interested to know how much bandwidth Xbox Live uses but have never found a way to do it.
As you can see from the title I have got a WRT54GS-UK v5.1 and it's running Linksys firmware v1.50.5.
Is there a way to find out this information without resorting to a third party firmware? Is there a software solution (free?) that can do this?
Thank you in advance.

Go to ftp://ftp.linksys.com/pub/network/ and download log viewer utility for router…check whether it helps you or not.

Similar Messages

  • Traffic monitoring for Coherence 3.1

    The objective of our small project is to monitor the traffic on our coherence clusters. We also were trying to put the cache traffic as a object in the same cache name. The problem we encountered was during performance tests something happened to the coherence clusters and there appears to be some kind of lock not being released for others which made all the weblogic cluster go down. Weblogic went down with "too many open files". We have thread dumps which I can send if you guys need it nevertheless I have attached a part which I suspect is the reason.
    Heres the Code that was trying to do the monitoring. The doPut Servlet method does the put , after the put it calls a method RegisterTraffic which has a small logic to increment the count & put back into the cache. It has a Lock for the particular "Traffic" key.
    * The Servlets doPut method - Handles the Cache Put Requests
    * @param HttpServletRequest request, HttpServletResponse response
    * @return void
    * @throws CacheException
    public void doPut(HttpServletRequest request, HttpServletResponse response) throws
    ServletException, IOException {
         ServletOutputStream out = response.getOutputStream();
         String value = "";
         try {
              String id = request.getPathInfo();
              String expires = request.getHeader("Expires");
              String contentType = request.getContentType();
              String app_name = request.getHeader("App-Name");
              int contentLength = request.getContentLength();
              if (contentLength > 0) {
                   byte valueArray[] = new byte[contentLength];
                   ServletInputStream in = request.getInputStream();
                   int bytesRead = 0;
                   int offset = 0;
                   while (bytesRead > -1) {
                        bytesRead =
                             in.read(valueArray, offset, valueArray.length - offset);
                        offset += bytesRead;
                        if (offset == contentLength) {
                        break;
                   DataObject myValue = new DataObject();
                   myValue.setByte(valueArray);
                   myValue.setExpirationTime((Long.parseLong(expires))*1000);
                   Cache_Manager.put(id, myValue);
                   response.setContentType("application/octet-stream");
                   value = "ID "+id+" Stored";
                   out.write(value.getBytes());
                   out.flush();
                   RegisterTraffic(app_name,"PUT");
         } catch (Exception ex) {
              response.setContentType("application/octet-stream");
              value = "CACHE_ERROR:"+ErrorCode.INTERNAL_PROBLEM_CODE+":"+"doPut:"+ErrorCode.INTERNAL_PROBLEM_MSG;
              response.setContentLength(value.length());
              out.write(value.getBytes());
              throw new ServletException(value+"\n"+ex.getMessage());
    * The Servlets Traffic Monitor method - Handles the Traffic monitoring
    * @param appname, get or put or clear
    * @return void
    * @throws CacheException
    public void RegisterTraffic(String appName, String action) {
         String trafficKey = "Traffic";
         try {
              HashMap hmTotal = new HashMap();
              HashMap hmToday = new HashMap();
              Object obj = null;
              HIDataObject dObj = null;
              String today = (new java.util.Date().toString()).substring(0,3);
              //String today = "SAT";
              Long totalTrafficCount = new Long(1);
              Long todayTrafficCount = new Long(1);
              long totalCnt = 0;
              long todayCnt = 0;
              // Lock the Object.
              Cache_Manager.lock(trafficKey,-1);
              try{
                   dObj = (HIDataObject)Cache_Manager.get(trafficKey);
              } catch(java.lang.NullPointerException nex) {
                   // If this Exception then we are doing it for the first time.
                   // Ignore this exception
              } catch(Exception exe) {
                   CacheLog.error("CACHE_ERROR: RegisterTraffic Failed with Following Exception\n"+exe.getMessage());
              if (dObj != null) {
                   hmTotal = dObj.getTotalTrafficHashMap();
                   hmToday = dObj.getTodayTrafficHashMap();
              // HashMap.get will throw error for the first time , so initialize to 1.
              try{
                   totalTrafficCount = (Long)hmTotal.get(appName+"-"+action);
              } catch(java.lang.NullPointerException nex) {
                   CacheLog.error("CACHE_ERROR: RegisterTraffic Failed with Following Exception\n"+nex.getMessage());
              try{
                   todayTrafficCount = (Long)hmToday.get(today+"-"+appName+"-"+action);
              } catch(java.lang.NullPointerException nex) {
                   CacheLog.error("CACHE_ERROR: RegisterTraffic Failed with Following Exception\n"+nex.getMessage());
              try{
                   totalCnt = totalTrafficCount.longValue();
                   todayCnt = todayTrafficCount.longValue();
              } catch (Exception e) {
              // Increase the counn here
              totalCnt++;todayCnt++;
              hmTotal.put(appName+"-"+action,new Long(totalCnt));
              hmToday.put(today+"-"+appName+"-"+action,new Long(todayCnt));
              try{
                   HIDataObject myValue = new HIDataObject();
                   myValue.setTotalTrafficHashMap(hmTotal);
                   myValue.setTodayTrafficHashMap(hmToday);
                   myValue.setExpirationTime(86400000);
                   Cache_Manager.put(trafficKey, myValue);
              } catch (Exception exe){
                   CacheLog.error("CACHE_ERROR: RegisterTraffic Failed with Following Exception\n"+exe.getMessage());
         } catch (Exception ex) {
              CacheLog.error("CACHE_ERROR: RegisterTraffic Failed with Following Exception\n"+ex.getMessage());
         } finally {
              Cache_Manager.unlock(trafficKey);
    Weblogic Thread Dumps
    "TcpRingListener" id=76 idx=0x96 tid=19164 prio=6 alive, in native, daemon
    at java/net/PlainSocketImpl.socketAccept(Ljava/net/SocketImpl;)V(Native Method)
    at java/net/PlainSocketImpl.accept(Ljava/net/SocketImpl;)V(PlainSocketImpl.java:353)
    ^-- Holding lock: java/net/PlainSocketImpl@0xc5f4238[thin lock]
    at java/net/ServerSocket.implAccept(Ljava/net/Socket;)V(ServerSocket.java:448)
    at java/net/ServerSocket.accept()Ljava/net/Socket;(ServerSocket.java:419)
    at com/tangosol/coherence/component/net/socket/TcpSocketAccepter.accept()Lcom/tangosol/coherence/component/net/socket/TcpSocket;(TcpSocketAccepter.CDB:17)
    at com/tangosol/coherence/component/util/daemon/TcpRingListener.acceptConnection()V(TcpRingListener.CDB:9)
    at com/tangosol/coherence/component/util/daemon/TcpRingListener.onNotify()V(TcpRingListener.CDB:1)
    at com/tangosol/coherence/component/util/Daemon.run()V(Daemon.CDB:34)
    at java/lang/Thread.run()V(Unknown Source)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace
    "DistributedCache" id=78 idx=0x98 tid=19165 prio=5 alive, in native, waiting, daemon
    -- Waiting for notification on: com/tangosol/coherence/component/util/daemon/QueueProcessor$Queue@0xc5c6998[fat lock]
    at jrockit/vm/Threads.waitForSignal(J)Z(Native Method)
    at java/lang/Object.wait(J)V(Native Method)[optimized]
    at com/tangosol/coherence/component/util/Daemon.onWait()V(Daemon.CDB:9)[optimized]
    ^-- Lock released while waiting: com/tangosol/coherence/component/util/daemon/QueueProcessor$Queue@0xc5c6998[fat lock]
    at com/tangosol/coherence/component/util/Daemon.run()V(Daemon.CDB:31)
    at java/lang/Thread.run()V(Unknown Source)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace
    "ListenThread.Default" id=79 idx=0x9a tid=19166 prio=5 alive, in native
    at java/net/PlainSocketImpl.socketAccept(Ljava/net/SocketImpl;)V(Native Method)
    at java/net/PlainSocketImpl.accept(Ljava/net/SocketImpl;)V(PlainSocketImpl.java:353)
    ^-- Holding lock: java/net/PlainSocketImpl@0x1729efc8[thin lock]
    at java/net/ServerSocket.implAccept(Ljava/net/Socket;)V(ServerSocket.java:448)
    at java/net/ServerSocket.accept()Ljava/net/Socket;(ServerSocket.java:419)
    at weblogic/socket/WeblogicServerSocket.accept()Ljava/net/Socket;(WeblogicServerSocket.java:26)
    at weblogic/t3/srvr/ListenThread.accept()Ljava/net/Socket;(ListenThread.java:735)
    at weblogic/t3/srvr/ListenThread.run()V(ListenThread.java:301)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace
    Blocked lock chains
    ===================
    Chain 2:
    "ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" id=53 idx=0x70 tid=18903 waiting for java/lang/String@0x102fb4d8 held by:
    "ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" id=52 idx=0x6e tid=18902 in chain 1
    Coherence Thread Dumps
    "PacketPublisher" id=21 idx=0x32 tid=20248 prio=6 alive, in native, waiting, daemon
    at jrockit/vm/Threads.waitForSignal(J)Z(Native Method)
    at java/lang/Object.wait(J)V(Native Method)
    at com/tangosol/coherence/component/util/Daemon.onWait()V(Daemon.CDB:9)
    ^-- Lock released while waiting: com/tangosol/coherence/component/net/Cluster$PacketPublisher$Queue@0xcb36648[fat lock]
    at com/tangosol/coherence/component/util/Daemon.run()V(Daemon.CDB:31)
    at java/lang/Thread.run()V(Unknown Source)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace
    "Cluster" id=22 idx=0x34 tid=20249 prio=5 alive, in native, waiting, daemon
    -- Waiting for notification on: com/tangosol/coherence/component/net/Cluster$ClusterService$Queue@0xcb30190[fat lock]
    at jrockit/vm/Threads.waitForSignal(J)Z(Native Method)
    at java/lang/Object.wait(J)V(Native Method)
    at com/tangosol/coherence/component/util/Daemon.onWait()V(Daemon.CDB:9)
    ^-- Lock released while waiting: com/tangosol/coherence/component/net/Cluster$ClusterService$Queue@0xcb30190[fat lock]
    at com/tangosol/coherence/component/util/Daemon.run()V(Daemon.CDB:31)
    at java/lang/Thread.run()V(Unknown Source)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace
    "PO Async Executor" id=27 idx=0x36 tid=20436 prio=5 alive, in native, waiting, daemon
    -- Waiting for notification on: java/lang/Object@0xa7573d8[fat lock]
    at jrockit/vm/Threads.waitForSignal(J)Z(Native Method)
    at jrockit/vm/Locks.wait(Ljava/lang/Object;J)V(Unknown Source)
    at java/lang/Object.wait()V(Native Method)
    at com/wily/EDU/oswego/cs/dl/util/concurrent/BoundedLinkedQueue.take()Ljava/lang/Object;(BoundedLinkedQueue.java:225)
    ^-- Lock released while waiting: java/lang/Object@0xa7573d8[fat lock]
    at com/wily/EDU/oswego/cs/dl/util/concurrent/QueuedExecutor$RunLoop.run()V(QueuedExecutor.java:82)
    at java/lang/Thread.run()V(Unknown Source)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace
    "TcpRingListener" id=24 idx=0x38 tid=20252 prio=6 alive, in native, daemon
    at java/net/PlainSocketImpl.socketAccept(Ljava/net/SocketImpl;)V(Native Method)
    at java/net/PlainSocketImpl.accept(Ljava/net/SocketImpl;)V(PlainSocketImpl.java:353)
    ^-- Holding lock: java/net/PlainSocketImpl@0xd441530[thin lock]
    at java/net/ServerSocket.implAccept(Ljava/net/Socket;)V(ServerSocket.java:448)
    at java/net/ServerSocket.accept()Ljava/net/Socket;(ServerSocket.java:419)
    at com/tangosol/coherence/component/net/socket/TcpSocketAccepter.accept()Lcom/tangosol/coherence/component/net/socket/TcpSocket;(TcpSocketAccepter.CDB:17)
    at com/tangosol/coherence/component/util/daemon/TcpRingListener.acceptConnection()V(TcpRingListener.CDB:9)
    at com/tangosol/coherence/component/util/daemon/TcpRingListener.onNotify()V(TcpRingListener.CDB:1)
    at com/tangosol/coherence/component/util/Daemon.run()V(Daemon.CDB:34)
    at java/lang/Thread.run()V(Unknown Source)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)

    Hi user638596.
    Frankly, there is not enough information to go by. The code you pointed to is definitely not "bullet proof". First, after the lock has been acquired, it only catches Exceptions, so any Errors (e.g. OutOfMemoryError) would "leak" a lock. In general, the locking-protected code should look like (in pseudo-code):
    lock();
    try
      operations();
    finally
      unlock();
      }However, without seeing the log files and entire thread dump, it's impossible to figure out a real reason. I'd suggest you to submit those to our support at Oracle Metalink.
    Regards,
    Gene

  • Looking for an internal traffic monitor for a RV042

    I have an RV042 router and I'm looking to monitor the total upstream and downstream traffic from within the router. I know there is tons of software that I can put on a network computer to monitor traffic, but is there any software that I can put on the router itself that will monitor the traffic from within the router?                  

    James,
    This doesn't reside on the RV042, but I think its as close as you're going to get. Check out these threads:
    http://www.dslreports.com/forum/remark,16725884
    http://forums.cacti.net/about35626.html
    Another popular one is Kiwi (Solarwinds now)
    There are also many other SNMP monitoring tools you could use.
    Best,
    David
    Please rate helpful posts and identify correct answers.

  • L4 Traffic Monitor question

    In the IronPort web security appliance documentation, it indicates that the L4 traffic monitor ports (T1 and/or T2) should be connected to either a network tap or switch span.
    I'm a little confused as to how this is supposed to be set up.
    Does it mean that you take 2 ports on a switch, one on the same subnet/vlan as the P1 interface (data) on the IronPort, and the other that is on the subnet/vlan as the firwall (outbound Internet traffic) and create 2 monitor sessions (spans)? If so, where are these sessions pointed to?
    Isn't the IronPort supposed to be doing the tapping/inspection?
    The whole external tap thing has me confused.

    Colin,
    One way to think of it is that the WSA has 2 inspection engines that don't actually talk to one another...
         1. the web proxy, where you're using WCCP to send specific traffic to
         2. the L4TM engine that you send a spanned port to to catch all of the other weird stuff.
    The web proxy does all of the user tracking/policy stuff, etc. Watching a specific set of ports.
    The L4TM is intended for malware that might be running on your net... sort of like the Botnet Traffic filter that's available on ASA.
    That said, you'll use 1 port for P1 on whatever vlan, redirection to that happens via WCCP or explicit proxy. 
    For the L4TM tap you can use 1 or 2 ports on the swtich, or none if you use an external tap.  In the Network/Interfaces page, you set whether you want L4TM to use simplex or Duplex.  If you use Duplex, just do a span session off the port the firewall is plugged into to the port that you connect T1 into...
    If you use Simplex, you do 2 span sessions off of the port the firewall is connected to... ingress traffic on the port (eg. out of the firewall) to the port T1 is connected to, egress traffic on the port (eg. going to the firewall) spanned to the port T2 is hooked up to. 
    If you use an external tap, put it inline between the firewall and the switch, set the WSA for duplex and connect the "monitor" port to T1...
    Hope that helps!
    Ken

  • L4 traffic monitor - blocking traffic ?

    Hello
    How does L4 traffic monitor is blocking traffic if T1/T2 ports are "tap/sniffed ports" ?
    For SPAN we might have "ingress vlan feature" which would allow us to send TCP RST (like IPS does),
    but for hardware TAP we do not have such a feature.
    So - maybe L4 traffic monitor can not block any traffic, just make a decision what to block and execution is on WebProxy and P1/2 ports ?
    Thanks

    Michael,
    Yes, the reset is sent via P1
    Ken
    Sent from Cisco Technical Support iPad App

  • Can an Ironport work in both WCCPv2 and L4 Traffic monitoring modes at the same time?

    Hello Ciscoers,
    We have an ironport installed and we use WCCPv2 to redirect the traffic. And as it occurs, I have a need to forward the traffic for another network, that uses another path to the Internet.
    So I was thinking using the L4 Traffic Monitoring.
    To the best of your knowledge, is there a way to have the appliance use both WCCPv2 and L4 Traffic monitoring at the same time? From the configuration, it's one or the other.
    Thanks,
    J.

    Ok. I'll try.
    As a matter of fact, I plan to use policy-based routing to forward all the "interesting" traffic to the appliance.
    For your TCP-Resets not seen, do you allow ingress on the span session?
    J.

  • Canbus traffic monitoring problem

    As a part of a test application I want to have an indicator that shows abolutely all traffic on the CAN network...receive and transmit...I can use the Read Multiple Interface Object VI on a separate port to do this, however I want to only use one port....the problem then however is to also register the outgoing traffic....and to fetch incoming traffic that is also read for other purposes other places in the code using Read Object...
    Unless there is a way to make Read Multiple or some other of the NICAN VIs to do this, I can solve the problem by making an additional VI that I feed everything I send out...and the objects I also read other places in the code...and merge that data with the data from the Read Multiple Interface Object VI.
    ..but is there not a more elegant way to do this?
    MTO

    Hello-
    This sounds pretty good so far. Datasocket could probably help a lot in this situation. Datasocket can be used to send info concerning incoming and outgoing CAN messages to any other process, even processes on other machines. This can get very tricky when doing a periodic transmit. It might help to have a while loop that constant monitors for a read available. Then, writes the read CAN message through Datasocket.
    Randy Solomonson
    Application Engineer
    National Instruments

  • [Request] NTM - Network Traffic Monitor

    Hi to everyone:
    Could anyone package this?: NTM - Network Traffic Monitor
    NTM is a monitor of the network and internet traffic for GNU/Linux. Some characteristics:
        * Choice of the interface to monitoring.
        * Period to monitoring: Day, Week, Month, Year or Custom Days. With autoupdate.
        * Threshold: Autodisconnection if a limit is reached (by NetworkManager).
        * Traffic Monitoring: Inbound, outbount and total traffic; Show the traffic speed.
        * Time Monitoring: Total time of connections in the period.
        * Time Slot Monitoring: Number of sessions used.
        * Reports: Show of average values and daily traffic of a configurable period.
        * Online checking with NetworkManager or by "Ping Mode".
        * The traffic is attributed to the day when the session began.
        * Not need root privilege.
        * Not invasive, use a system try icon.
    NTM is useful for the people that have a internet plan with a limit, and moreover the exceed traffic is expensive.
    NTM is write in python and is a open source software, the license is the GNU GPL v2.
    A lot of thanks.

    #Maintairner: Brieuc Roblin <brieuc.roblin at gmail dot com>
    pkgname='ntm'
    pkgver='1.2.2'
    pkgrel='1'
    pkgdesc="Monitor of the network and internet traffic"
    arch=('i686' 'x86_64')
    license=('GPL')
    depends=('pywebkitgtk' 'lsb-release' 'networkmanager')
    makedepends=('dpkg')
    url=('http://netramon.sourceforge.net/eng/index.html')
    source=('http://freefr.dl.sourceforge.net/project/netramon/NTM/ntm-1.x/ntm-1.2.2.deb')
    md5sums=('ec438b8c952ac866ffdaa57538d189b7')
    build() {
    cd "$srcdir"
    # Extracting deb
    msg2 "Extracting .deb ..."
    dpkg-deb -x ntm-*.deb deb
    cd "deb"
    # Installing
    msg2 "Installing..."
    cp -r . "$pkgdir"/
    I can't really test the program as I'm not using NetworkManager.
    Last edited by PyrO_70 (2010-08-20 19:18:24)

  • Guidelines for Health Monitoring for TimesTen

    This document provides some guidance on monitoring the health of a TimesTen
    datastore. Information is provided on monitoring the health of the
    datastore itself, and on monitoring the health of replication.
    There are two basic mechanisms for monitoring TimesTen:
    1. Reactive - monitor for alerts either via SNMP traps (preferred) or
    by scanning the Timesten daemon log (very difficult) and reacting
    to problms as they occur.
    2. Proactive - probe TimesTen periodically and react if problems, or
    potential problems, are detected.
    This document focusses on the second (proactive) approach.
    First, some basic recommendations and guidelines relating to monitoring
    TimesTen:
    1. Monitoring should be implemented as a separate process which maintains
    a persistent connection to TimesTen. Monitoring schemes (typically based
    on scripts) that open a connection each time they check TimesTen impose
    an unnecessary and undesireable loading on the system and are discouraged.
    2. Many aspects of monitoring are 'stateful'. They require periodic
    sampling of some metric maintained by TimesTen and comparing its
    value with the previous sample. This is another reason why a separate
    process with a persistent connection is desireable.
    3. A good monitoring implementation will be configurable since the values
    used for some of the chcks may depend on e.g. the TimesTen configuration
    in use or the workload being handled.
    MONITORING THE HEALTH OF A DATASTORE
    ====================================
    At the simples level, this can be achieved by performing a simple SELECT
    against one of the system tables. The recommended table to use is the
    SYS.MONITOR table. If this SELECT returns within a short time then the
    datastore can be considered basically healthy.
    If the SELECT does not return within a short time then the datastroe is
    stuck in a low level hang situation (incredibly unlikely and very serious).
    More likely, the SELECT may return an error such as 994 or 846 indicating
    that the datastore has crashed (again very unlikely, but possible).
    A slightly more sophisticated version would also include an update to a
    row in a dummy table. This would ensure that the datastore is also capable
    of performing updates. This is important since if the filesystem holding
    the trsnaction logs becomes full the datastore may start to refuse write
    operations while still allowing reads.
    Now, the SYS.MONITOR table contains many useful operational metrics. A more
    sphisticated monitoring scheme could sample some of these metrics and
    compute the delta between subsequent samples, raising an alert if the
    delta exceeds some (configurable) threshold.
    Some examples of metrics that could be handled in this way are:
    PERM_IN_USE_SIZE and PERM_IN_USE_HIGH_WATER compared to PERM_ALLOCATED_SIZE
    (to detect if datastore is in danger of becoming full).
    TEMP_IN_USE_SIZE and TEMP_IN_USE_HIGH_WATER compared to TEMP_ALLOCATED_SIZE
    (ditto for temp area).
    XACT_ROLLBACKS - excessive rollbacks are a sign of excessive database
    contention or application logic problems.
    DEADLOCKS - as for XACT_ROLLBACKS.
    LOCK_TIMEOUTS - excessive lock timeouts usually indicate high levels of
    contention and/or application logic problems.
    CMD_PREPARES & CMD_REPREPARES - it is very important for performance that
    applications use parameterised SQL statements that they prepare just once
    and then execute many times. If these metrics are continuously increasing
    then this points to bad application programming which will be hurting
    performance.
    CMD_TEMP_INDEXES - if this value is increasing then the optimiser is
    comntinually creating temporary indices to process certain queries. This
    is usually a serious performance problem and indicates a missing index.
    LOG_BUFFER_WAITS - of this value is increasing over timne this indicates
    inadequate logging capacity. Yiou may need to increase the size of the
    datastore log buffer (LogBuffSize) and log file size (LogFileSize). If that
    does not alleviate the problem you may need to change your disk layout or
    even obtain a higher performance storage subsystem.
    LOG_FS_READS - this indicates an inefficieny in 'log snoop' processing as
    performed by replication and the XLA/JMS API. To alleviate this you should
    try increasing LogBuffSize and LogFileSize.
    Checking these metrics is of course optional and not necessary for a basic
    healthy/failed decision but if you do check them then you will detect more
    subtle problems in advance and be able to take remedial action.
    MONITORING THE HEALTH OF REPLICATION
    ====================================
    This is a little more complex but is vital to achieve a robust and reliable
    system. ideally, monitorting should be implemented at both datstores, the
    active and the standby. There are many more failure modes possible for
    a replicated system than for a standalone datastore and it is not possible
    to ennumerate them all here. However the information provided here should
    be sufficient to form the basis of a robist monitoring scheme.
    Monitoring replication at the ACTIVE datastore
    1.     CALL ttDataStoreStatus() and check result set;
    If no connections with type 'replication' exists, conclude that
    replication agents are stopped, restart the agents and skip
    next steps.
    It is assumed here that the replication start policy is 'norestart'.
    An alarm about unstable replication agents should be raised
    if this is Nth restart in M seconds (N and M are configuration parameters).
    The alarm can later be cleared when the agents stayed alive K
    seconds (K is configuration parameter).
    2.     CALL ttReplicationStatus() and check result set;
    This returns a row for every replication peer for this datastore.
    If the pState is not 'start' for any peer, raise an alarm about paused or
    stopped replication and skip rest of the steps.
    It is assumed that master cannot help the fact that state is not
    'start'. An operator may have stopped/paused the replication or
    TimesTen stopped the replication because of fail threshold
    strategy. In former case the operator hopefully starts the replication
    sooner or later (of course, after that TimesTen may stop it again
    because of the fail threshold strategy). In latter case the standby
    side monitor process should recognise the fact and duplicate the data
    store with setMasterRepStart-option which sets state back to 'start'.
    If for any peer, lastMsg > MAX (MAX is a configuration parameter), raise
    an alarm for potential communication problems.
    Note that if replication is idle (nothing to replicate), or there is
    very little replication traffic, the value for lastMsg may become as
    high as 60 seconds without indicating any problem. The test logic
    should cater for this (i.e. MAX must be > 60 seconds).
    3.     CALL ttBookmark();
    Compute the holdLSN delta between the values from this call and the
    previous call and if the delta is greater than maximum allowed
    (configuration parameter), raise an alarm about standby
    that is too far behind. Continue to next step.
    Notice that maximum delta should be less than FAILTHRESHOLD * logSize.
    4.     CALL ttRepSyncSubscriberStatus(datastore, host);
    This step is only needed if you are using RETURN RECEIPT or RETURN TWOSAFE
    with the optional DISABLE RETURN feature.
    If disabled is 1, raise an alarm for disabled return service.
    Continue to next step. If RESUME RETURN policy is not enabled we could,
    of course, try to enable return service again (especially when DURABLE
    COMMIT is OFF).
    There should be no reason to reject TimesTen own mechanisms that
    control return service. Thus, no other actions for disabled return
    service.
    Monitoring replication at the STANDBY datastore
    1.     CALL ttDataStoreStatus();
    If no connections with type 'replication' exists, conclude that
    replication agents are stopped, restart the agents and skip
    next steps.
    It is assumed that replication start policy is 'norestart'.
    An alarm about unstable replication agents should be raised
    if this is Nth restart in M seconds (N and M are configuration parameters).
    The alarm can later be cleared when the agents stayed alive K
    seconds (K is configuration parameter).
    2.     Call SQLGetInfo(...,TT_REPLICATION_INVALID,...);
    If the status is 1, this indicates that the active store has marked this store
    as failed due to it being too far out of sync due to log FAILTHRESHOLD.
    Start recovery actions by destroying the datastore and recreating via a
    'duplicate' operation from the active.
    3.     Check 'timerecv' value for relevant row in TTREP.REPPEERS
    If (timerecv - previous timerecv) > MAX (MAX is a configuration parameter),
    raise an alarm for potential communication problems.
    You can determine the correct row in TTREP.REPPEERS by first getting the
    correct TT_STORE_ID value from TTREP.TTSTORES based on the values in
    HOST_NAME and TT_STORE_NAME (you want the id corresponding to the active
    store) and then using that to query TTREP.REPPEERS (you can use a join if
    you like).
    The recovery actions that should be taken in the event of a problem with
    replication depend on several factors:
    1. The application requirements
    2. The type of replication configuration
    3. The replication mode (asynchronous, return receipt or return twosafe)
    that is in use
    Consult the Timesten replication guide for information on detailed recovery
    procedures for each combination.
    ================================ END ==================================

    The information in the forum article is the abridged text of a whitepaper I wrote recommending best practice for building a monitoring infrastructure for TimesTen. i.e. you write an 'application' in C, C++ or Java that performs these monitoring activities and run it continually in production against your datastores. Various aspects of the behaviour of the application could be controlled by configurable parameters; these are not TimesTen parameters but parameters defined and used by the monitoring application.
    In the specific case you mentioned, the 'lastMsg' value returned by ttReplicationStatus is the number of seconds since the last message was received from that peer. The monitoring application would compare this against some meaningful threshold (maybe 30 seconds) and if lastMsg is > that value, raise an alarm. To allow flexibility, the value compared against )MAX) should be configurable.
    Does that make sense?
    Chris

  • Cisco WSA : no data found in L4 traffic monitor summary

    Hello !
    Does L4 traffic monitor only display rogue traffic ? Because, I made a packet capture on the T1 interface and i saw that there was a lot of traffic but in the overview, no data was found in the field "L4 Traffic Monitor Summary". Is it normal ? There is a screenshot in enclosed files.
    Thank you,
    Stephane Walker

    UDP ports will not be blocked.
    The L4TM will use the T1 interface to detect traffic to destinations that are on its blacklist.  Once detected, the the data interface on the WSA will send a packet with the TCP reset flag to the client to prevent a TCP connection.
    I have not tested this so someone correct me if I am wrong.  I am answering this based on my understanding of the L4TM feature, and how it works.  Since UDP is connectionless, there is no connection for it to kill.
    Now this makes me wonder about the Monitor feature though.  But I am almost certain it will not block if the action is set to block.
    I'll check this out when I'm in the office and will get back to you.
    -Vance

  • UDP traffic analyzed in L4 traffic monitor?

    Dear all,
    I just wonder if anyone knows whether UDP traffic is analyzed by the WSA's L4 traffic monitor?
    It just tells "all ports" in the settings and reports also only reflect port numbers but no details like
    which protocol (tcp/udp).
    Anyone?
    Best,
    Hascha

    UDP ports will not be blocked.
    The L4TM will use the T1 interface to detect traffic to destinations that are on its blacklist.  Once detected, the the data interface on the WSA will send a packet with the TCP reset flag to the client to prevent a TCP connection.
    I have not tested this so someone correct me if I am wrong.  I am answering this based on my understanding of the L4TM feature, and how it works.  Since UDP is connectionless, there is no connection for it to kill.
    Now this makes me wonder about the Monitor feature though.  But I am almost certain it will not block if the action is set to block.
    I'll check this out when I'm in the office and will get back to you.
    -Vance

  • Layer 4 Traffic monitoring

    Hi,
    Just want to ask the proper way to deploy layer 4 monitoring for Ironport WSA, so below is the diagram.
    Lets say the switch has 5 available ports. From fa0/3 to fa0/7.
    Do I just use Duplex mode and Tap a line from T1 to the switch? eX. T1 of Ironport to fa0/3
    Or use Simplex mode? ex T1 to Fa0/3 then T2 to Fa0/4.
    Thanks
    Clients -------------------------Fa0/0 SWITCH Fa0/1 -------------------------- Fa0/0 FIREWALL
                                                        Fa0/2
                                                            |
                                                            |
                                                            |
                                                        Ironport

    Richard,
    You've got it right, either way.  If you put it in duplex, you echo everything from Fa0/1 to Fa0/2.  If you go "Simplex", echo traffic leaving Fa0/1 (on the way to the firewall) Fa0/3, and incoming traffic to Fa0/4.  On a busy network the duplex port on the Ironport could get overloaded...
    I'd probably put all of the "security" stuff on a seperate VLAN so that any broadcasts on the client network don't add to the load.
    Ken

  • How do I use my iMac(late 2009) as a monitor for my MBP(2012) or my MBP(late 2010) without software?

    I currently have a late 2009 iMac, a 2012 MBP, a mid 2010 MBP and a MinDisplay Port (MDP) male to male cable. I am trying to either use the iMac a second monitor for one of the MBPs or mirror the display.
    The iMac has a MDP port and is running OS X 10.7.5 (Lion)
    The MBP 2010 has a MDP port and is running OS X 10.8.4 (Mountain Lion)
    The MBP 2012 has a Thunderbolt port and is running OS X 10.9 (Maverics)
    When I connect the 2010 MBP to the iMac with the MDP cable the screen of the iMac goes black and the MBP flashes blue. I have been looking for a solution and I have tried:
    Rebooting them in the order of: connecting the cable, turing on the MBP, then turing on the iMac
    Whilst they are on simply plugging the cable between the two
    Connecting them with the cable while they are on, then pressing cmd-f1 on the MBP
    Connecting them with the cable while they are on, then pressing cmd-f1 on the iMac
    Pressing cmd-f2 on the iMac, whilst there are connected, only toggles a black screen on the iMac
    Pressing cmd-f2 on the MBP doesn't do anything
    Every time I connect the MBP 2012 to the iMac with the MDP cable, the MBP screen goes black and the computor screen becomes unresponsive but the screen stays on and I have to reboot the MBP.
    I will really appreciate anyone who has any information on this topic.
    Thanks

    If the iMac is a 21-inch model, not without using a product such as ScreenRecycler over a network.
    If the iMac is a 27-inch model, click here for information.
    (127021)

  • How do I use my late 2011 iMac ( with thunderbolt) as external monitor for laptop/Xbox or other device with hdmi as output.

    May be this question has been asked thousand times. how do I use my mid 2011 iMac ( with thunderbolt) as external monitor for laptop/Xbox or other device with hdmi as output. if apple hasn't removed that feature and has just moved that functinoality to thunderbolt then how can I use it. currently there is no laptop available with thunderbolt output. no 3rd party converter available. whats the use of having feature on latest functionality if we cant use it. I wish they would have made one port has mini-dvi and other thunderbolt for backward compatibility untill some vendor comes up with converter.

    It Says :
    Mac (21.5-inch, Mid 2011) and iMac (27-inch, Mid 2011) and later computers support Target Display Mode via Thunderbolt to Thunderbolt cable (2 m) when the source is another Thunderbolt-equipped computer.
    Name one computer model/vendor which has thunderbolt as output for display + audio. this is so stupid to move to new technology without availbility of its compatible devices.

  • How do I use my Macbook pro retina display as a monitor for a PC?

    How do I use my Macbook pro retina display as a monitor for a PC?

    MacQueries wrote:
    How do I use my Macbook pro retina display as a monitor for a PC?
    Unfortunately, that is not possible. The computer only can "output" your display image, it cannot "input" an image from an external computer and display it on your MacBook's retina display.

Maybe you are looking for

  • HP Laserjet Pro 300 won't power up fully

    I've had an HP Laserjet Pro 300 for 4 months and I haven't had any issues until today. I ran a few scans without issue and then in the middle of a scan, it just quit scanning. It seems to have lost connectivity.  I shut the printer down and attempted

  • Update a Table Field of QMEL Table Using Function Module

    hello Guru I want to update a field of QMEL table suing FM which was created by user. how to write code for that. i have some idea but it is not helpful for us..... Moderator Message: Searching the forums/Google is a good start. Edited by: kishan P o

  • Trigger Batch Jobs in order

    Hi, I have four batch jobs under one project. I need to run each batch job in order and trigger one by one in order of execution. For example, first job should run then once it finishes, second job should start and on and on. Can this be done in DI d

  • Parallel sequence-Process Industry

    Hi All, Following is the scenario req in SAP Stage-1: Crude prep- (Done in 10 reactors, R1, R2,R3......R10)-Parallel sequence Stage-2  Pure prep- Done in single Reactor (P1) Stage-3  Storage-(4 silos) Stage-4 Packing How to address this in Master rec

  • InDesign CS6 opens all documents from the previous day on startup

    First of all I am on a Mac using a Mobile Account. I have no admin control over this setup. Every 2 hours or the local environment syncs with the server and saves my 'computer'. The problem is when opening InDesign in the morning to start the day hun