The files sum.pl, db-cgi.pl, ip.pl, list.pl, select.pl, signature.pl and dbh.pm can be used to build a small web interface in order to query the database for some statistics and alerts. All you have to do is to put them in a cgi directory of your database.
All perl script expect that they are invoked via the directory
/cgi.bin/. Further at the beginning of each script
there is a BEGIN statement which extends the perl search
paht. This path should contain the file dbh.pm.
The file dbh.pm defines the database access method. It should be easy to change the parameter in this file to the needed ones.
This script gives a summary overview of the sensors in the database and the different kinds of alerts. This is useful as a starting point.
This is used to display on single alert.
This is used to display a list of search results. From each result the script db-cgi.pl can be invoked for displaying further details.
This script is used to display results based on an IP address or protocol.
This program can be used to fetch an alert from the database by a given sensor id SID and counter id CID.
This script fetches informations based on a special signature.
All these scripts are at least a framework and can be used as starting point to build some useful applications. So one idea was to create HTML links to an alert in the database which can be send via the alert. This can easily be implemented since the SID and CID are already known.