WEB Interface
A WEB Interface to display all the informations generated by and related to the NDPMon daemon have been developed. It uses a WEB server running on the same host than the daemon. It requires the XSLT module in that server to display the XML files. The interface contains:
- a configuration section displaying the configuration of the daemon
- a neighbors section displaying the neighbors list
- an alerts section displaying the alerts and the reports
- a statistics section displaying statistics graphics
You can find some screenshots of the interface at the SourceForge Project Page.
Installation
To install the WEB Interface:
- Untar the tarball in a folder or directly in the WEB server root directory (typically /var/www/ndpmon
- Make sure you put links to the files neighbor_list.xml, config_ndpmon.xml and alerts.xml at the root of this folder. By default, the links should be:
- alerts.xml -> /var/local/ndpmon/alerts.xml
- config_ndpmon.xml -> /usr/local/etc/ndpmon/config_ndpmon.xml
- neighbor_list.xml -> /var/local/ndpmon/neighbor_list.xml
- Make sure you have the module XSLT for your WEB server installed and working, as these files are automatically translated to HTML via XSL.
- To generate the statistic graphics, it is recommended to put in a crontab the following entries:
- # m h dom mon dow command
- */5 * * * * python /var/www/ndpmon/stats/mac/vendorsStats.py /var/local/ndpmon/neighbor_list.xml /var/www/ndpmon/img/mac_vendors.png 1>/dev/null 2>/dev/null
- */5 * * * * python /var/www/ndpmon/stats/discovery/discoveryStats.py /var/local/ndpmon/discovery_history.dat /var/www/ndpmon/img/neighbor_discovery_history.png 1>/dev/null 2>/dev/null
You can then access to the WEB interface via the URL http://myhost.mydomain.com/ndpmon/.
Download
Requirements
- A WEB Server with XSLT module
- NDPMon version 1.3a or later
- Python and Python-XML
- GNUPlot and the python binding
-

ndpmon-web-interface.tgz: NDPMon WEB Interface
The source code of these extras can be retrieved thanks to SourceForge's SubVersion service with the command:
svn co https://svn.sourceforge.net/svnroot/ndpmon/extras extras
