Port details |
- rtg Flexible, high-performance SNMP statistics monitoring system
- 0.7.5 net
=5 Version of this port present on the latest quarterly branch. - Maintainer: freebsd-ports@dan.me.uk
 - Port Added: 2004-01-07 06:40:38
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: postfix, recoverdm, irssi, nagios, dnstop
- License: GPLv2
- Description:
- RTG is a flexible, scalable, high-performance SNMP statistics monitoring
system. It is designed for enterprises and service providers who need to
collect time-series SNMP data from a large number of targets quickly. All
collected data is inserted into a relational database that provides a common
interface for applications to generate complex queries and reports. RTG
includes utilities that generate configuration and target files, traffic
reports, 95th percentile reports and graphical data plots. These utilities may
be used to produce a web-based interface to the data.
The unique features of RTG are:
* Runs as a daemon, incurring no cron or kernel startup overhead
* Written entirely in C for speed, incurring no interpreter overhead
* Multi-threaded for asynchronous polling and database insertion
* Inserts data into a relational database where complex queries and reports
may be generated
* Performs no data averaging in order to support billing, etc.
* Can poll at sub-one-minute intervals
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/net/rtg/ && make install clean
- To add the package, run one of these commands:
- pkg install net/rtg
- pkg install rtg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rtg
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1612622708
SHA256 (rtg-0.7.5.tar.gz) = c0f4632e26423689037634ed59194dbfb017af57079b9039e33381d3698d6fe8
SIZE (rtg-0.7.5.tar.gz) = 269657
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-DBI>=0 : databases/p5-DBI
- p5-DBD-mysql>=0 : databases/p5-DBD-mysql
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Library dependencies:
-
- libnetsnmp.so : net-mgmt/net-snmp
- libgd.so : graphics/gd
- libmysqlclient.so.20 : databases/mysql57-client
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for rtg-0.7.5:
MYSQL=off: Pull MySQL server in as a dependancy for local setups
WEB=off: Include PHP-based web client interface pre-requisites
===> Use 'make config' to modify these settings
- Options name:
- net_rtg
- USES:
- mysql:client perl5 shebangfix ssl
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
0.7.5 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
0.7.5 20 Jul 2022 14:22:37
    |
Tobias C. Berner (tcberner)  |
net: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Straup Cope <ascope@cpan.org>
* Aaron Zauner <az_mail@gmx.at>
* Adam Jette <jettea46@yahoo.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Alex Bakhtin <Alex.Bakhtin@gmail.com>
* Alex Deiter <Alex.Deiter@Gmail.COM>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com> (Only the first 15 lines of the commit message are shown above ) |
0.7.5 06 Apr 2021 14:31:13
    |
Mathieu Arnold (mat)  |
all: Remove all other $FreeBSD keywords. |
0.7.5 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.7.5 08 Feb 2021 09:25:19
  |
rhurlin  |
net/rtg: Update to 0.7.5
* Updated to latest cgilib (0.7)
* Removed old GD/PNG/ZLIB bundled libraries for ease of upgrading
* Added -b (background/daemonise) flag to rtgpoll
* Added -p <file> (PID file) flag to rtgpoll
* Added graph titles and legends to rtgplot
* Updated PHP scripts from ancient mysql to newer mysqli library
* Fixed many potential SQL injection and other vulnerabilities
* Updated MySQL support to compile against MySQL 8.0+
* Updated MySQL support to use mysql_config to pull in
CFLAGS/LDFLAGS required depending on MySQL build
* Updated MySQL table schemas to support clustered MySQL setups
* Updated MySQL table schemas to improve speed (indexes)
* Added MySQL option to auto-reconnect if MySQL server goes away (Only the first 15 lines of the commit message are shown above ) |
0.7.4_21 22 Sep 2020 11:15:28
  |
se  |
Fix build with -fno-common |
0.7.4_20 18 Nov 2019 08:05:18
  |
tobik  |
Add more missing USES=php |
0.7.4_19 14 Aug 2019 08:48:51
  |
mat  |
Convert to UCL & cleanup pkg-message (categories n)
(and missed 3 missed files from previous categories.) |
0.7.4_19 23 Jul 2019 14:47:15
  |
rodrigo  |
Patch createdb script to avoid race condition / file tampering
During the initialization net/rtg uses the /tmp/mysql.sql
and /tmp/rtg.sql to store the SQL commands executed in the
database with special user privileges.
Using well known files can lead to a race condition between
two process who uses the same file names and allow file
tampering by a malicious user.
This fix uses mktemp command to create temporary files
in a safe way
PR: 238262
Submitted by: rodrigo
Approved by: freebsd-ports@dan.me.uk (maintainer timeout)
MFH: 2019Q3 |
0.7.4_18 31 May 2019 12:58:28
  |
rodrigo  |
Fix net/rtg with modern perl and php
* Fix runtime PHP errors if short_opentag is disabled (default)
* Remove most PHP warnings/notices that go to error_log
* Fix HTML output to be valid
* Fix quoting of SQL objects
* Fix escaping of user-provided SQL data (potential sql injection)
* Widen fields in 95.php and 95.pl for interface and router names
* Fix warnings in perl modules in newer perl versions
* Fix createdb script to use CREATE USER/GRANT not manipulate user db directly
* Add "Update_desc" config entry to auto-update port descriptions from snmp
* Update default SNMP version to 2
PR: 227376
Submitted by: <freebsd-ports@dan.me.uk> (maintainer) |
0.7.4_17 28 May 2019 06:51:02
  |
tobik  |
net/rtg: Drop nop WANT_PERL
Perl seems to be wanted so add USES=perl5 instead. |
0.7.4_16 07 Nov 2018 20:24:10
  |
mat  |
Revert r484406, it was never approved.
Pointy hat: mfechner
With hat: portmgr |
0.7.4_15 07 Nov 2018 19:41:00
  |
mfechner  |
* Fix runtime PHP errors that stop the code working if short_opentag is disabled
(default!)
* Remove most PHP warnings/notices that go to error_log
* Convert patches to new format where needed
* Fix HTML output to be valid
* Fix quoting of SQL objects
* Fix escaping of user-provided SQL data (potential sql injection)
* Widen fields in 95.php and 95.pl for interface and router names
* Fix warnings in perl modules in newer perl versions
* Fix createdb script to use CREATE USER/GRANT not manipulate user db directly
* Add "Update_desc" config entry to auto-update port descriptions from snmp
* Update default SNMP version to 2
* Although this doesn't reference any CVE's, it does contain fixes for potential
security issues
PR: 227376
Submitted by: freebsd-ports@dan.me.uk (maintainer)
Reported by: freebsd-ports@dan.me.uk (maintainer)
Reviewed by: mfechner
Approved by: mentors (timeout), portmgr (timeout)
MFC after: 2 days
Differential Revision: https://reviews.freebsd.org/D17637 |
0.7.4_14 11 Apr 2017 07:17:49
  |
matthew  |
Patch based off of revision 434135
Fix configuration paths in CGIs and reports to include /usr/local/etc/rtg.
Affects common.php, reports.pl, and 95.pl. This will fix the CGIs to almost
work out of the box.
Improve rtgtargmkr.pl to skip unresponsive routers rather than dying.
Add USES=ssl
PR: 217108
Submitted by: andrew.fengler@scaleengine.com
Approved by: maintainer timeout (15 days) |
0.7.4_13 26 Oct 2016 07:01:15
  |
matthew  |
Improve RTG port
Summary:
Add 'rtg' user and group in UIDs/GIDs.
Use daemon(8) to daemonize rtgpoll.
Add prestart commands to set correct permissions for RTG's files.
Reviewers: swills, allanjude, xmj, andrew.fengler_scaleengine.com,
#contributor_reviewers_ports, matthew
Reviewed By: #contributor_reviewers_ports, matthew
Subscribers: matthew, mat
Differential Revision: https://reviews.freebsd.org/D7486 |
0.7.4_12 15 Sep 2016 01:41:28
  |
swills  |
Unmark broken on powerpc64
These ports built successfully |
0.7.4_12 19 May 2016 10:44:12
  |
amdmi3  |
- Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by: portmgr blanket |
0.7.4_12 21 Apr 2016 16:43:15
  |
swills  |
many ports: mark broken on powerpc64 |
0.7.4_12 01 Apr 2016 14:16:20
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight |
0.7.4_12 13 Jul 2015 20:10:14
  |
amdmi3  |
- Fix shebangs
Approved by: portmgr blanket
MFH: 2015Q3 (blanket) |
0.7.4_11 03 Apr 2015 11:26:50
  |
mat  |
Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).
Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.
Differential Revision: https://reviews.freebsd.org/D2209 |
0.7.4_11 25 Mar 2015 23:51:06
  |
marino  |
net category: Remove $PTHREAD_LIBS
openafs did not pass check-plist (pre-existing) so fixed and bumped.
Also, pkg-plist was sorted. mediatomb and spread also fail plist-checks
but they weren't fixed.
approved by: PTHREAD blanket |
0.7.4_11 22 Nov 2014 14:43:24
  |
antoine  |
Cleanup plist |
0.7.4_11 10 Jul 2014 12:13:12
  |
olgeni  |
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.
CR: D307
Approved by: portmgr (bapt) |
0.7.4_11 22 Jun 2014 19:03:47
  |
rakuco  |
- Update to use PHP mysqli extensions (as mysql extension is deprecated
these days)
- Fix runtime dependencies to pull in perl's DBI and DBD::mysql modules for
target maker.
- Add some options to pull in dependencies for mysql server and php web
modules if needed.
PR: 191276
Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> (maintainer) |
0.7.4_10 15 Jun 2014 09:17:57
  |
miwi  |
- Add a backup mirror
PR: 191013 |
0.7.4_10 30 May 2014 08:05:12
  |
jadawin  |
- Convert to STAGE
PR: ports/189620
Submitted by: maintainer |
0.7.4_9 20 Sep 2013 22:10:25
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
net) |
0.7.4_9 14 Jan 2012 08:57:23
 |
dougb  |
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. |
0.7.4_9 28 Jul 2011 12:43:22
 |
sylvio  |
- Chase net-snmp shlib version bump. |
0.7.4_8 20 Mar 2011 12:54:45
 |
miwi  |
- Get Rid MD5 support |
0.7.4_8 19 Mar 2011 13:15:34
 |
ale  |
Bump PORTREVISION for ports linking to default libmysqlclient. |
0.7.4_7 04 Aug 2010 10:30:14
 |
lwhsu  |
- Use .sample for sample config so that upgrades dont overwrite
user-modified config files
- Added note to explain where/how to use rtgplot
- Added graph titles and friendly legend tags
- Modified rc script to load after mysql
PR: ports/148363
Submitted by: Daniel Austin MBCS <freebsd-ports AT dan.me.uk> (maintainer) |
0.7.4_6 30 Jun 2010 20:05:46
 |
stefan  |
- Add rc.d script.
- Optimise db table creation with indexes.
- Add PID file option.
- Fix a few warnings in the Makefile.
- Assign maintainership to submitter.
PR: 145924
Submitted by: Daniel Austin <freebsd-ports@dan.me.uk>
Feature safe: yes |
0.7.4_5 02 Jun 2010 19:14:17
 |
sylvio  |
- Chase net-snmp shlib bump |
0.7.4_4 19 Sep 2009 17:26:28
 |
miwi  |
- Fix custom LOCALBASE build
- USE_MYSQL macro unless there is a reason to depend specifically on mysql41
- Use SF MASTER_SITES abbreviation
PR: 136678
Submitted by: Sahil Tandon <sahil@tandon.net>
Feature safe: yes |
0.7.4_4 22 Aug 2009 00:32:25
 |
amdmi3  |
- Switch SourceForge ports to the new File Release System: categories starting
with N |
0.7.4_4 29 Mar 2008 11:02:36
 |
kuriyama  |
- Chase shlib version of net-mgmt/net-snmp which I've forgotten.
- Bump PORTREVISIONs again. |
0.7.4_3 27 Mar 2008 10:58:30
 |
kuriyama  |
- Chase shlib version of net-mgmt/net-snmp.
- Bump PORTREVISIONs. |
0.7.4_2 28 Feb 2007 01:19:04
 |
kuriyama  |
- Bump shlib version to libnetsnmp.so.10 and bump $PORTREVISION. |
0.7.4_1 11 May 2006 22:49:56
 |
edwin  |
Remove USE_REINPLACE from all categories starting with N |
0.7.4_1 05 Feb 2006 20:14:23
 |
kris  |
Try to clean up www/data |
0.7.4_1 23 Jan 2006 20:27:33
 |
pav  |
- Drop maintainership. ENOTIME for ports, so let someone else take better care
of them.
Submitted by: Brad Davis <so14k@so14k.com> |
0.7.4_1 22 Jan 2006 21:24:05
 |
edwin  |
SHA256ify
Approved by: krion@ |
0.7.4_1 30 Nov 2005 05:23:10
 |
kuriyama  |
Chase shlib version bump of net-snmp. |
0.7.4 17 May 2005 18:49:27
 |
pav  |
- Makefile cleanup
- Silence build warnings
- Fix plist
PR: ports/81007
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Approved by: Brad Davis <so14k@so14k.com> (maintainer) |
0.7.4 31 Mar 2004 03:12:58
 |
trevor  |
SIZEify (maintainer timeout) |
0.7.4 23 Feb 2004 04:42:13
 |
wollman  |
Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.
Approved in principle by: marcus |
0.7.4 07 Jan 2004 06:39:57
 |
will  |
Add rtg 0.7.4, a flexible, high-performance SNMP statistics monitoring
system.
Submitted by: Brad Davis <so14k@so14k.com> |