Monit is a utility for managing and monitoring processes,
files, directories, devices and network services on a Unix system.
Monit conducts automatic maintenance and repair and can execute
meaningful causal actions in error situations.
monit supports:
* Daemon mode - poll services at a specified interval
* Group and manage groups of services, service dependencies
* Logging - syslog or own logfile
* Alert, start, stop and restart of services based on it's characteristics
* MD5 and SHA1 checksums
* Runtime Unix socket and TCP/IP port checking (TCP and UDP)
* Process status, timeout, memory and cpu usage, etc.
* Device usage monitoring (inodes and space)
* File monitoring (timestamp, checksum, permission, owner, etc.)
* Directory monitoring (timestamp, permission, owner, etc.)
* Remote network services monitoring (ping, response time, protocol, etc.)
* System load average monitoring
* Flexible and customizable email alert messages and notifications
* Protocol verification such as HTTP, FTP, SMTP, POP, IMAP, NNTP, NTP, etc.
* A HTTP interface with XML output option
and many more features :)
===> The following configuration options are available for monit-6.0.0:
DOCS=on: Build and/or install documentation
PAM=on: Pluggable authentication module support
SSL=on: SSL protocol support
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build
it brings bison as a run dependency in case it is set the following way:
USES= bison:run
it brings bison both as a run and build dependency in case it the set the
following way:
USES= bison:both
While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- Add patch to fix MySQL protocol testing with MySQL 5.1.57+ and 5.5.12+.
Taken from vendor repo (r372).
- Remove CPPFLAGS from CONFIGURE_ARGS as it is inherently passed via use of
GNU_CONFIGURE. (quiets lint warning)
- Remove WITH_SSL option conditional and replace it with a WITHOUT_SSL
conditional. SSL support is enabled by default in configure and the
--enable-SSL and --with-openssl knobs have been removed. (quiets configure
warning)
- Change Mk includes to use new options style.
- Fix WWW in pkg-descr.
PR: ports/158198
Submitted by: Jase Thew <freebsd@beardz.net>
Approved by: Martin Pala <martinp@tildeslash.com> (maintainer)
- update monit to version 5.2.2
BUGFIXES:
* Fix crash on MacOSX
* ICMP echo test (ping):
- bug #31128: do not log error if different response type is received
- bug #31129: do not require root to use ping test. Privilege to create
raw socket is still required, but on some platforms such as Solaris it
can be granted to non-root users too. If the user has no permission to
perform ping, monit will skip the icmp test and log message (in debug
mode only).
* rsync protocol test:
- wait for full server response and verify exit was received
- bug #31249: send full version to rsync server. Thanks to John Hall
for report
PR: 152012
Submitted by: Martin Pala <martinp _at_ tildeslash.com> (maintainer)
Approved by: glarkin (mentor, implicit)
Fix the rc.d script for the case when there is no monit_enable in
rc.conf by adding a $ to the variable in the test.
Delete the empty variable assignment for _flags. These should never
be done, and the information about _flags is already in the comments.
Bump PORTREVISION to document the fix.
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
Add monit 4.4, UNIX system management and monitoring tool.
Monit is a utility for managing and monitoring processes,
files, directories, devices and network services on a Unix system.
Monit conducts automatic maintenance and repair and can execute
meaningful causal actions in error situations.
monit supports:
* Daemon mode - poll services at a specified interval
* Group and manage groups of services, service dependencies
* Logging - syslog or own logfile
* Alert, start, stop and restart of services based on it's
* characteristics
* MD5 and SHA1 checksums
* Runtime Unix socket and TCP/IP port checking (tcp and udp)
(Only the first 15 lines of the commit message are shown above )