Projects / NISCA


NISCA (Network Interface Statistics Collection Agent) is a more flexible PHP4-based MRTG replacement. It supports both SNMP and reading localhost's /proc/net/dev device file directly for statistics gathering. It uses MySQL to store collected data in, and stores statistics for bytes transferred, packets transferred, transfer errors, and dropped packets separated into a per interface incoming and outgoing set. It generates both graphs and a textual report table using the data from any timeframe contained in the database. The entire package runs using PHP4; it uses the CGI binary version of PHP for stats collection (running in the background as a "daemon") and either the CGI or Apache module versions to generate the GUI form and reports. It can also import existing MRTG logfiles.

Operating Systems

Recent releases

  •  15 Oct 2003 15:57

    Release Notes: "95th-percentile" data massaging and the ability to make the text-only reports "time-zoomable" (the same way the graphs are) were added. A few minor bugfixes were also made.

    •  24 Feb 2003 14:04

      Release Notes: Everything wrong with versions 2.3 and 2.3.1 was fixed. The look and feel was made more attractive and easier to customize.

      •  15 Feb 2003 05:46

        Release Notes: The PHP SNMP functions were replaced with calls to the snmpwalk and snmpget binaries from the ucd-snmp package. Graphs are now image maps that allow zooming into a time range with one click. The SNMP collector completely rewritten and can now cache collected stats if the database connection is lost. Watermarks of any kind can be added to graph images, and a few bugfixes were made.

        •  04 Jul 2001 08:06

          Release Notes: This release includes support for multiple-interface total bytes transferred graphing, a data re-averaging utility, multiple interface naming methods ("ifIndex", "ifPhysAddress", etc), a Committed Information Rate line to graphs, aliases for hosts, and one or two bugfixes.

          •  04 May 2001 15:42

            Release Notes: Minor bug fixes were made. Context-sensitive help is now available on all pages that need it. The database was restructured, resulting in a 44% smaller database and much faster report generation. New features include the ability to generate graphs as PNG or JPEG, and the ability to use 64-bit counters on some interfaces but not others on the same host.

            Recent comments

            09 Aug 2002 12:29 ascii2k

            Great package!!
            Just wanted to add my 2cents. This is an excellent product! I highly recommend it. If/When we get to see 3.0 it is going to be even better!!

            23 Apr 2001 03:31 fabbione

            Re: MRTG Import Script
            Well done Brett!

            22 Apr 2001 05:32 pieffe

            I use it...
            well, 2.0 it's finally out.
            Please test it on a fast mysql server, I need to understand
            if it's my machine that's too slow of if we need some more
            work to better support large networks.
            Support for 64 bits counters is there but you need to recompile
            your php snmp library. Blame php developers, not Brett on this. I use it with Cisco routers and it works well.


            10 Feb 2001 02:24 Phee

            MRTG Import Script
            There is now a script available for NISCA that will import data from MRTG logfiles. Come 'n' get it! :)


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.