srvfreenas01:~# pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/sysutils/monit-5.5.tbz
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/sysutils/monit-5.5.tbz... Done.
**************************************************************************
USAGE:
To enable monit you need to add monit_enable="YES" to rc.conf file.
Before running monit you have to configure monitrc file. There is
example configuration file monitrc.sample.
/usr/local/etc/monitrc.sample
**************************************************************************

# Add the following lines to /etc/rc.conf to enable monit:
# monit_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable monit
# monit_flags (str): Flags passed to monit on startup.
# Default is "".
#

Création d'un test ping avec monit :

microferennes.dyndns.org

root@vks36337:~# aptitude install monit
The following NEW packages will be installed:
monit
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 524 kB of archives. After unpacking 950 kB will be used.
Get:1 http://mirror.ovh.net/debian/ squeeze/main monit amd64 1:5.1.1-1 [524 kB]
Fetched 524 kB in 1s (492 kB/s)
Selecting previously deselected package monit.
(Reading database ... 22529 files and directories currently installed.)
Unpacking monit (from .../monit_1%3a5.1.1-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up monit (1:5.1.1-1) ...
Starting daemon monitor: monit won't be started/stopped
unless it it's configured
please configure monit and then edit /etc/default/monit
and set the "startup" variable to 1 in order to allow
monit to start
localepurge: Disk space freed in /usr/share/locale: 53996 KiB
localepurge: Disk space freed in /usr/share/man: 14852 KiB
Total disk space freed by localepurge: 68848 KiB
root@vks36337:~# nano /etc/default/monit