BSD Ports

misc/mirmon 2.11_1 DragonFly

Monitor the status of mirrors

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
misc
Package size
32.5 KiB, 106.4 KiB installed

Description

Many project are mirrored worldwide. Mirmon helps in monitoring these mirrors. In a concise graphic format, mirmon shows each site's history of the last two weeks, making it easy to spot stale or dead mirrors. Mirmon quietly probes a subset of the sites in a given list, writes the results in the 'state' file, and generates a Web page with the results

In the other systems

SystemPortVersion
DragonFlymisc/mirmon2.11_1
FreeBSDmisc/mirmon2.11_1
OpenBSDnet/mirmon2.11p1
NetBSDmisc/mirmon2.11nb5
MidnightBSDmisc/mirmon2.11

Install

Binary package:

pkg install mirmon

From DPorts:

cd /usr/dports/misc/mirmon && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

The program is intended to be run by cron every hour.

    42 * * * * perl /usr/local/bin/mirmon -q -get update

  It quietly probes a subset of the sites in a given list,
  writes the results in the 'state' file and generates a web page
  with the results. The subset contains the sites that are new, bad
  and/or not probed for a specified time.

  When no 'get' option is specified, the program just generates a
  new web page from the last known state.

  The program checks the mirrors by running a (user specified)
  program on a pipe. A (user specified) number of probes is
  run in parallel using nonblocking IO. When something can be
  read from the pipe, it switches the pipe to blocking IO and
  reads one line from the pipe. Then it flushes and closes the
  pipe. No attempt is made to kill the probe.

  The probe should return something that looks like "1043625600\n",
  that is, a timestamp followed by a newline. The exit status of
  the probe is ignored.

===>   NOTICE:

The mirmon port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing