Installation
Currently, the only way to obtain resmon is via subversion. Check it out into the installation directory (/opt/resmon is a good choice):
svn co https://labs.omniti.com/resmon/trunk /opt/resmon
You will need to create a configuration file in order for resmon to work. Start by copying the resmon.conf.sample file to /opt/resmon/resmon.conf and editing it. See the Configuration Section for help configuring resmon.
Starting resmon
Resmon can be started simply by running the resmon command. By default, it will use the config file at /opt/resmon/resmon.conf and will detach and become a daemon. To prevent resmon from daemonizing, add the -d option.
Once you have things up and running, you will probably want to install resmon as a service. A Redhat init script and Solaris SMF manifest file are provided to help you with this. You can use these as follows:
Redhat
cp /opt/resmon/rc/resmon /etc/init.d chkconfig resmon on /etc/init.d/resmon start
Solaris
svccfg import /opt/resmon/smf/resmon.xml svcadm enable resmon
Relocating from the old svn server
If you have a current checkout from the old subversion server, then run the following command to switch repository locations:
svn switch --relocate https://svn.omniti.com/resmon https://labs.omniti.com/resmon /opt/resmon
(replacing /opt/resmon with the path to your working copy)
