Unpack the archive in your directory
Within the distribution directory, run:
./configure make install
If needed, --prefix (default is /usr/local/nmstools) and --localstatedir (default is PREFIX/var) may be changed. Futher in this manual, we refer to $NMSTOOLS_HOME as the value of --prefix, and $NMSTOOLS_DATA as the value of --localstatedir. These and other variables are defined and exported in $NMSTOOLS_HOME/bin/envvars.sh.
Edit $NMSTOOLS_HOME/etc/devlogin.conf. Configuration options are:
Edit $NMSTOOLS_HOME/etc/atm.conf. Set the option PNNISEEDNODE to one of your ATM switches. See atm_getpnnitopo.pl manual for more details.
Edit $NMSTOOLS_HOME/etc/mpls.conf. Set the option ISISSEEDNODE to one of your MPLS routers. See mpls_getisistopo.pl manual for more details.
Edit $NMSTOOLS_HOME/etc/ospf.conf. Set the option SEEDNODES to one or more OSPF router names separated by commas. See ospf_getnodelist.pl manual for more details.
On the next run of make install, the contents of $NMSTOOLS_HOME/etc/ are not overwritten, thus all local settings are preserved.
Template | Replaced with | Default value | Description |
---|---|---|---|
%%NMSTOOLS_HOME%% | ${prefix} | /usr/local/nmstools | Installation Directory for NMS Tools |
%%NMSTOOLS_DATA%% | ${localstatedir} | /usr/local/nmstools/var | Data produced by the tools |
%%NMSTOOLS_HTML%% | ${localstatedir}/htdocs | /usr/local/nmstools/var/htdocs | HTML and other web-accessed files generated |
%%PERL%% | Local site Perl binary | Perl executable location |
The file $NMSTOOLS_HOME/lib/httpd.conf needs to be included into HTTPD confoguration, as follows:
# Include NMSTOOLS definitions Include /usr/local/nmstools/lib/httpd.conf
The contents of $NMSTOOLS_HOME/lib/httpd.conf define the aliases and the ability to see the contents of the directories, as follows:
Alias /nmstools "%%NMSTOOLS_HTML%%" ScriptAlias /cgi-bin/nmstools "%%NMSTOOLS_HOME%%/cgi-bin" <Directory "%%NMSTOOLS_HTML%%"> Options Indexes AllowOverride None </Directory>
This very documentation is written in accordance to DocBook XML standard. Docbook sources are located in doc/docbook directory.
DocBook XSL Stylesheets are used for transforming the DocBook sources into HTML. The Makefile in doc/ directory creates HTML files in doc/html/, in two forms: a single file called nmstools-singlefile.html, and a set of chunked HTML files, one per section, starting with index.html. At the moment of writing, two versions of XSL stylesheets are tested: 1.47-exp and 1.45.
In the main distribution directory, make install puts all HTML documentation files into $NMSTOOLS_HTML/doc directory.