Home

The net/mon/server port

mon-1.2.0p13 – service monitoring daemon (cvsweb github mirror)

Description

mon is a tool for monitoring the availability of services, and sending alerts
on prescribed events. Services are defined as anything tested by a "monitor"
program, which can be something as simple as pinging a system, or as complex
as analyzing the results of an application-level transaction. Alerts are
actions such as sending emails, making submissions to ticketing systems, or
triggering resource fail-over in a high-availability cluster.

A design goal of mon is to maintain simplicity and provide the right
abstractions for monitoring so that the system can be scalable, easy to use,
and trivial to extend for the widest variety of applications. The learning
curve is very shallow for initial installation, configuration, and
customization. Monitors and alerts are simple to write using any language, and
simple to incorporate into a site configuration. Reporting and control
functionality is easily customized with the aid of a TCP-based protocol
interface.
WWW: http://mon.wiki.kernel.org

Readme

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

mon is a tool for monitoring the availability of services and sending alerts 
on prescribed events.

This is a small howto to get mon running in a basic setup.

 1. Edit ${SYSCONFDIR}/mon/mon.cf to fit your needs.
 
 2. You may need additional perl modules in order to use some monitors.
    Check your monitor file with perl -c.
    Example: perl -c ${TRUEPREFIX}/lib/mon/mon.d/dns.monitor

 3. Launch mon in debug mode:
    /usr/bin/install -d -o _mon /var/run/mon
    su -l _mon -c "${TRUEPREFIX}/bin/mon -c /etc/mon/mon.cf -d -P /var/run/mon/mon.pid"

 4. When everything is ok, launch mon as a daemon:
    ${RCDIR}/mon start

 Random hints:

 * To use fping.monitor you must install fping.
 
 * If you need a graphical interface, please install mon-client which contains 
   a simple cgi.

Maintainer

Pierre-Emmanuel Andre

Categories

net

Run dependencies

Files

Search