Monit is a free open source utility for managing and monitoring processes, programs, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.

Released version 5.8 (27/Mar/2014) with features described in changelog.

Building from source on SmartOS operating system.

# cd /tmp;
# wget http://mmonit.com/monit/dist/monit-5.8.tar.gz;
# tar -xzvf monit-5.8.tar.gz;
# cd monit-5.8;
# ./configure --with-ssl-incl-dir=/opt/local/include \ 
 --with-ssl-lib-dir=/opt/local/lib --prefix=/opt/monit-5.8;

Building will finish with following information.

Monit Build Information:

           Architecture: SOLARIS
  SSL include directory: /opt/local/include
  SSL library directory: /opt/local/lib
         Compiler flags: -Wno-address -Wno-pointer-sign -g -O2 -Wall \ 
                         -Wunused -Wno-unused-label -funsigned-char \ 
                         -D_GNU_SOURCE -std=c99 -D _REENTRANT \
                         -D_POSIX_PTHREAD_SEMANTICS -D__EXTENSIONS__ \
                         -m64 -mtune=opteron -I/opt/local/include \
           Linker flags: -lpam -lpthread -lresolv -lnsl -lsocket \
                         -lkstat -L/opt/local/lib -lssl -lcrypto
      pid file location: /var/run
      Install directory: /opt/monit-5.8

Installation and running.

# cd /tmp/monit-5.8;
# make;
# make install;
# /opt/monit-5.8/bin/monit -h;

Read the Monit documentation to configure your monitoring.

Send me a digital donation if you find this information useful
Wireless Intelligent Lifeform Keen on Accurate Repair and Troubleshooting
brave