AsItHappens is a real-time network statistics collector and grapher. It collects data from devices over a network via ICMP and SNMP and displays them on a graph, optionally storing collected data in a database for later retrieval. Collection types include network response, bandwidth usage, processor usage, memory usage, Cisco NBAR, and Cisco NetFlow. AsItHappens polls data in regular intervals, which can be in the order of milliseconds, to give immediate feedback on network performance, and it can also graph flow information from packet capture files. AsItHappens includes the Self Defending Network, a horizontal shoot-em-up based on collected graph data.