InterMapper: Network Monitoring and Alerting Software

Click here to request a 30-day evaluation serial number for InterMapper. InterMapper will not work without a license or serial number.


InterMapper for Solaris 8/9/10

InterMapper for Solaris is packaged as a "Sun Package" named "DARTinter", which contains the necessary programs and support files. To install the package "DARTinter", you will use the pkgadd -d "location" command. To query if InterMapper is already installed, type pkginfo -l DARTinter. To remove InterMapper from your system after installing it, type pkgrm DARTinter.

Installing InterMapper for the First Time

The following directions will install InterMapper from the package. InterMapper Server will be configured to run at startup:

$ /bin/su -
# cd <directory containing DARTinter-5.5.4-sol8-sparc.gz>
# gunzip DARTinter-5.5.4-sol8-sparc.gz
# pkgadd -d DARTinter-5.5.4-sol8-sparc

You will see the following prompt. Press return to continue:

The following packages are available:
1 DARTinter InterMapper is a network monitoring and alerting program.
(sparc) 5.5.4

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

After this, you may also see the following prompt. Type y and press return:

The following files are being installed with setuid and/or setgid
permissions:
/usr/local/bin/intermapperauthd <setuid root>

Do you want to install these as setuid/setgid files [y,n,?,q] y

Finally, you may also see the following prompt. Type y and press return:

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <DARTinter> [y,n,?]

When InterMapper Server begins running, it can run under any uid on your system. You may specify the user name to run as in the intermapperd.conf file, located at /usr/local/etc/intermapperd.conf. By default, the package's postinstall script will create a user named 'intermap' and set the configuration file to use that user.

User "intermap"

The InterMapper Server is now installed and running. By default, it will save its files in the /var/lib/intermapper/InterMapper_Settings/ directory. To manually start the server, type:

$ /bin/su -
# /etc/init.d/intermapperd start

If the server started successfully, you will see the startup message:

Starting InterMapper Server

To stop the server, use the similar "stop" command

$ /bin/su -
# /etc/init.d/intermapperd stop

The first time you start the InterMapper Server, it will only accept "control" connections from the local machine. If you have a window system (ie X-Windows) and JVM already installed, you can launch InterMapper Console by typing:

$ /usr/local/bin/intermapper

InterMapper with Compiz, Beryl or Enlightenment

There is a bug when using Java with Compiz or certain other window managers that affects InterMapper, resulting in blank windows when starting either the InterMapper console or InterMapper RemoteAccess. This bug has been mitigated somewhat by Java 6 Update 1, but problems still remain. As a work-around, you can set the AWT_TOOLKIT environment variable to "MToolkit" prior to starting the InterMapper GUI. This tells Java to revert to an older rendering method, which will not integrate as well with modern desktop environments, but doesn't suffer from the same bug.
$ AWT_TOOLKIT=MToolkit /usr/local/bin/intermapper
If you wish to set this option for future sessions, add the following line to ~/.bashrc:
$ echo -e "\nexport AWT_TOOLKIT=MToolkit" >> ~/.bashrc
Any new terminal windows that you open will have this setting in them by default as soon as you have run this command, but applications started from the menu will not pick it up until after you log out and log back in again. This will work for all Java applications on your system (which were probably similarly broken), not just InterMapper.

Configuring the InterMapper Server Remotely

If you do not have a window system, you must use "InterMapper RemoteAccess" to administer the InterMapper Server. Before the server will accept connections from Remote, you must launch the server with a command-line argument telling it where you will connect from. Type the following commands to kill the intermapperd process, then restart it manually using the -A option:

$ /bin/su -
# /etc/init.d/intermapperd stop
# /usr/local/bin/intermapperd -f /usr/local/etc/intermapperd.conf -A "remote:password@*.*.*.*"

The InterMapper server will now accept Administrator connections from any IP address (*.*.*.*) with the user ID "remote" and the password "password". You should immediately launch InterMapper RemoteAccess on another computer and login to this new InterMapper system to set up your InterMapper users and groups.

Upgrading an existing InterMapper Installation

To upgrade InterMapper while retaining your current settings, you will perform a four-step procedure:

  1. Make a backup copy of your customized intermapperd.conf file.
  2. Although you will not lose any data from the InterMapper_Settings folder, this might still be a good time to make a backup of the InterMapper_settings folder.
  3. Un-install the old InterMapper version.
  4. Install the new InterMapper version.
  5. Restore your customized intermapperd.conf file from your backup copy.

Your custom maps, logs, and the other files stored in the 'InterMapper_Settings' directory are not affected by removing InterMapper. However, the intermapped.conf file will revert to its default contents when the new version is installed; hence, you will need to preserve any modifications to this file.

The IM_UPGRADE.sh shell script will automate the upgrade process for you. To use it, enter the directory containing the new Solaris package and type:

$ /bin/su -
# cd <directory containing DARTinter-5.5.4-sol8-sparc.gz>
# gunzip DARTinter-5.5.4-sol8-sparc.gz
# sh IM_UPGRADE.sh DARTinter-5.5.4-sol8-sparc

When the script begins to install the new package, you will be prompted to answer 'y', just as described above.

Removing InterMapper Server

To remove InterMapper Server, you will use the "pkgrm" command. The "pkgrm" command will not remove any files created by InterMapper, such as those stored in your "InterMapper_Settings" directory. To completely remove all remnants of the software, you must also locate and remove the "InterMapper_Settings" directory.

$ /bin/su -
# pkgrm DARTinter
# rm -rf <Path to InterMapper_Settings Directory>

Appendix: IM_UPGRADE.sh Shell Script

Here is the source code for the IM_UPGRADE.sh utility script. This script automates the InterMapper upgrade process on Solaris.

#!/bin/sh
# Shell script to upgrade an InterMapper Server installation on Solaris.

set -e

if [ -z "$1" ]; then
   echo "Usage: sh IM_UPGRADE.sh 'package-file'"
   echo "Please specify the package file to install as the first argument."
   exit 1
fi

pkg_name="$1"
if [ ! -f "${pkg_name}" ]; then
   echo "ERROR: File '${pkg_name}' does not exist."
   exit 1 
fi

echo "\nUpgrading your installation of 'DARTinter'."
echo "Your current configuration will be preserved.\n"

conf="/usr/local/etc/intermapperd.conf"
conf_bak="/tmp/intermapperd.$$.conf"

cp "${conf}" "${conf_bak}"
pkgrm DARTinter
pkgadd -d "${pkg_name}"
mv -f "${conf_bak}" "${conf}"

echo "Done."
exit 0