I have previously installed ourmon 2.7 on FreeBSD that you can find here, since ourmon is great with all its meaningful graphs(of which I think it makes sense to network security analyzt instead of those I have seen in commercial systems(don't ask me which one) where all the graphs are generated on behalf of your management that has little or no value to us.
To get what I mean, you can check out the demo here -
After the installation via unofficial FreeBSD port that offered by Jim Binkley, we can now moving to setup and configure our web server so that we can view our statistical data via web interface, here's the step by step -
Installing apache 1.3 using FreeBSD port -
shell>pkg_add -vr apache
Add these two lines to /etc/rc.conf -
Then edit apache configuration file which is /usr/local/etc/apache/httpd.conf, you have to change the values below to where ourmon data is stored -
Since those data are sensitive, therefore we need at least basic authentication to read the data, I use .htaccess for this matter, just create .htaccess file and put in /usr/local/www/data/ourmon, the file shoud look like this -
AuthName "Access Denied!"
Last I generate .htpasswd with the command -
shell>htpasswd -c -b /usr/local/mrourmon/.htpasswd trinity matrix
The user I have just created is trinity and the password is matrix. By now we can start apache -
Just launch the web browser and point it to the box that running ourmon will do. You will see the similar web interface like the demo above. Please keep in mind this is not the best deployment but quick example to get it work.