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
Run dependencies
Files
- /etc/mon/
- /etc/mon/auth.cf
- /etc/mon/mon.cf
- /etc/rc.d/mon
- /usr/local/bin/mon
- /usr/local/lib/mon/
- /usr/local/lib/mon/alert.d/
- /usr/local/lib/mon/alert.d/file.alert
- /usr/local/lib/mon/alert.d/irc.alert
- /usr/local/lib/mon/alert.d/mail.alert
- /usr/local/lib/mon/alert.d/netpage.alert
- /usr/local/lib/mon/alert.d/qpage.alert
- /usr/local/lib/mon/alert.d/snpp.alert
- /usr/local/lib/mon/alert.d/test.alert
- /usr/local/lib/mon/alert.d/trap.alert
- /usr/local/lib/mon/mon.d/
- /usr/local/lib/mon/mon.d/asyncreboot.monitor
- /usr/local/lib/mon/mon.d/cpqhealth.monitor
- /usr/local/lib/mon/mon.d/dialin.monitor
- /usr/local/lib/mon/mon.d/dialin.monitor.wrap
- /usr/local/lib/mon/mon.d/dns-query.monitor
- /usr/local/lib/mon/mon.d/dns.monitor
- /usr/local/lib/mon/mon.d/file_change.monitor
- /usr/local/lib/mon/mon.d/foundry-chassis.monitor
- /usr/local/lib/mon/mon.d/fping.monitor
- /usr/local/lib/mon/mon.d/freespace.monitor
- /usr/local/lib/mon/mon.d/ftp.monitor
- /usr/local/lib/mon/mon.d/hpnp.monitor
- /usr/local/lib/mon/mon.d/http.monitor
- /usr/local/lib/mon/mon.d/http_tppnp.monitor
- /usr/local/lib/mon/mon.d/imap.monitor
- /usr/local/lib/mon/mon.d/ldap.monitor
- /usr/local/lib/mon/mon.d/local-syslog.monitor
- /usr/local/lib/mon/mon.d/lpd.monitor
- /usr/local/lib/mon/mon.d/mon.monitor
- /usr/local/lib/mon/mon.d/msql-mysql.monitor
- /usr/local/lib/mon/mon.d/na_quota.monitor
- /usr/local/lib/mon/mon.d/netappfree.monitor
- /usr/local/lib/mon/mon.d/nntp.monitor
- /usr/local/lib/mon/mon.d/ntpdate.monitor
- /usr/local/lib/mon/mon.d/phttp.monitor
- /usr/local/lib/mon/mon.d/ping.monitor
- /usr/local/lib/mon/mon.d/pop3.monitor
- /usr/local/lib/mon/mon.d/process.monitor
- /usr/local/lib/mon/mon.d/radius.monitor
- /usr/local/lib/mon/mon.d/rd.monitor
- /usr/local/lib/mon/mon.d/reboot.monitor
- /usr/local/lib/mon/mon.d/rpc.monitor
- /usr/local/lib/mon/mon.d/seq.monitor
- /usr/local/lib/mon/mon.d/silkworm.monitor
- /usr/local/lib/mon/mon.d/smtp.monitor
- /usr/local/lib/mon/mon.d/smtp3.monitor
- /usr/local/lib/mon/mon.d/snmpdiskspace.monitor
- /usr/local/lib/mon/mon.d/snmpvar.monitor
- /usr/local/lib/mon/mon.d/tcp.monitor
- /usr/local/lib/mon/mon.d/telnet.monitor
- /usr/local/lib/mon/mon.d/trace.monitor
- /usr/local/lib/mon/mon.d/traceroute.monitor
- /usr/local/lib/mon/mon.d/up_rtt.monitor
- /usr/local/lib/mon/mon.d/xedia-ipsec-tunnel.monitor
- /usr/local/man/man8/mon.8
- /usr/local/share/doc/mon/
- /usr/local/share/doc/mon/README.alerts
- /usr/local/share/doc/mon/README.cgi-bin
- /usr/local/share/doc/mon/README.hints
- /usr/local/share/doc/mon/README.mon.cgi
- /usr/local/share/doc/mon/README.monitors
- /usr/local/share/doc/mon/README.msql-mysql.monitor
- /usr/local/share/doc/mon/README.paging
- /usr/local/share/doc/mon/README.protocol
- /usr/local/share/doc/mon/README.rpc.monitor
- /usr/local/share/doc/mon/README.snmpdiskspace.monitor
- /usr/local/share/doc/mon/README.snmpvar.monitor
- /usr/local/share/doc/mon/README.software
- /usr/local/share/doc/mon/README.syslog.monitor
- /usr/local/share/doc/mon/README.traps
- /usr/local/share/doc/mon/README.variables
- /usr/local/share/doc/pkg-readmes/mon
- /usr/local/share/examples/mon/
- /usr/local/share/examples/mon/auth.cf
- /usr/local/share/examples/mon/example.cf
- /usr/local/share/examples/mon/mon.cgi.cf
- /usr/local/share/examples/mon/na_quota.cf
- /usr/local/share/examples/mon/netappfree.cf
- /usr/local/share/examples/mon/snmpdiskspace.cf
- /usr/local/share/examples/mon/snmpopt.cf
- /usr/local/share/examples/mon/snmpvar.cf
- /usr/local/share/examples/mon/snmpvar.def
- /usr/local/share/examples/mon/syslog-monitor.conf
- /usr/local/share/examples/mon/very-simple.cf
- /var/mon/log.d/
- /var/mon/state.d/
- @newgroup _mon:643
- @newuser _mon:643:_mon::Mon Server:/var/empty:/bin/sh