head 1.16;
access;
symbols
pkgsrc-2013Q2:1.16.0.8
pkgsrc-2013Q2-base:1.16
pkgsrc-2012Q4:1.16.0.6
pkgsrc-2012Q4-base:1.16
pkgsrc-2011Q4:1.16.0.4
pkgsrc-2011Q4-base:1.16
pkgsrc-2011Q2:1.16.0.2
pkgsrc-2011Q2-base:1.16
pkgsrc-2010Q2:1.15.0.22
pkgsrc-2010Q2-base:1.15
pkgsrc-2010Q1:1.15.0.20
pkgsrc-2010Q1-base:1.15
pkgsrc-2009Q4:1.15.0.18
pkgsrc-2009Q4-base:1.15
pkgsrc-2009Q3:1.15.0.16
pkgsrc-2009Q3-base:1.15
pkgsrc-2009Q2:1.15.0.14
pkgsrc-2009Q2-base:1.15
pkgsrc-2009Q1:1.15.0.12
pkgsrc-2009Q1-base:1.15
pkgsrc-2008Q4:1.15.0.10
pkgsrc-2008Q4-base:1.15
pkgsrc-2008Q3:1.15.0.8
pkgsrc-2008Q3-base:1.15
cube-native-xorg:1.15.0.6
cube-native-xorg-base:1.15
pkgsrc-2008Q2:1.15.0.4
pkgsrc-2008Q2-base:1.15
cwrapper:1.15.0.2
pkgsrc-2008Q1:1.14.0.2
pkgsrc-2008Q1-base:1.14
pkgsrc-2007Q4:1.13.0.8
pkgsrc-2007Q4-base:1.13
pkgsrc-2007Q3:1.13.0.6
pkgsrc-2007Q3-base:1.13
pkgsrc-2007Q2:1.13.0.4
pkgsrc-2007Q2-base:1.13
pkgsrc-2007Q1:1.13.0.2
pkgsrc-2007Q1-base:1.13
pkgsrc-2006Q4:1.12.0.2
pkgsrc-2006Q4-base:1.12
pkgsrc-2006Q3:1.11.0.2
pkgsrc-2006Q3-base:1.11
pkgsrc-2006Q2:1.10.0.8
pkgsrc-2006Q2-base:1.10
pkgsrc-2006Q1:1.10.0.6
pkgsrc-2006Q1-base:1.10
pkgsrc-2005Q4:1.10.0.4
pkgsrc-2005Q4-base:1.10
pkgsrc-2005Q3:1.10.0.2
pkgsrc-2005Q3-base:1.10
pkgsrc-2005Q2:1.9.0.8
pkgsrc-2005Q2-base:1.9
pkgsrc-2005Q1:1.9.0.6
pkgsrc-2005Q1-base:1.9
pkgsrc-2004Q4:1.9.0.4
pkgsrc-2004Q4-base:1.9
pkgsrc-2004Q3:1.9.0.2
pkgsrc-2004Q3-base:1.9
pkgsrc-2004Q2:1.7.0.4
pkgsrc-2004Q2-base:1.7
pkgsrc-2004Q1:1.7.0.2
pkgsrc-2004Q1-base:1.7
pkgsrc-2003Q4:1.5.0.2
pkgsrc-2003Q4-base:1.5
netbsd-1-6-1:1.3.0.2
netbsd-1-6-1-base:1.3
netbsd-1-6:1.1.0.8
netbsd-1-6-RELEASE-base:1.1
pkgviews:1.1.0.4
pkgviews-base:1.1
buildlink2:1.1.0.2
buildlink2-base:1.1
netbsd-1-5-PATCH003:1.1
netbsd-1-5-PATCH001:1.1;
locks; strict;
comment @# @;
1.16
date 2010.07.09.08.45.34; author adam; state dead;
branches;
next 1.15;
1.15
date 2008.04.15.11.02.04; author martti; state Exp;
branches;
next 1.14;
1.14
date 2008.02.13.12.05.26; author martti; state Exp;
branches;
next 1.13;
1.13
date 2007.01.10.14.25.40; author martti; state Exp;
branches;
next 1.12;
1.12
date 2006.10.19.06.40.54; author martti; state Exp;
branches;
next 1.11;
1.11
date 2006.08.09.21.42.42; author adrianp; state Exp;
branches;
next 1.10;
1.10
date 2005.06.23.08.12.13; author martti; state Exp;
branches;
next 1.9;
1.9
date 2004.08.30.18.40.14; author martti; state Exp;
branches;
next 1.8;
1.8
date 2004.06.21.16.20.14; author martti; state Exp;
branches;
next 1.7;
1.7
date 2004.02.15.07.34.04; author martti; state Exp;
branches;
next 1.6;
1.6
date 2003.12.07.13.53.32; author martti; state Exp;
branches;
next 1.5;
1.5
date 2003.10.05.12.02.52; author martti; state Exp;
branches;
next 1.4;
1.4
date 2003.04.08.09.50.22; author martti; state Exp;
branches;
next 1.3;
1.3
date 2002.10.23.10.42.21; author martti; state Exp;
branches;
next 1.2;
1.2
date 2002.09.30.09.12.14; author martti; state Exp;
branches;
next 1.1;
1.1
date 2000.10.20.16.06.17; author bouyer; state Exp;
branches;
next ;
desc
@@
1.16
log
@Changes 2.16.4:
* fix "P_DETACH" and Pod::Usage issues with perl 5.12
* relax cfgmaker option parsing when figuring whether to test for highspeed
counters or not.
* fix sorting of numbered interface names index maker
* belarusian translation for mrtg 2.16
Changes 2.16.3:
* three new config options to compliment the existing
RRDRowCount option to explicitly set the size of all RRAs
* allow to rename target in the clonedirectory option
* add import to the require File::Copy
* support multiple options in ifdesc and ifref setting for cfgmaker
* teach cfgmaker about nortel switches
* make sure rates over 4G work too
* allow group and user option to be set to roo
@
text
@$NetBSD: patch-ad,v 1.15 2008/04/15 11:02:04 martti Exp $
--- bin/mrtg.orig 2008-02-17 12:27:36.000000000 +0200
+++ bin/mrtg 2008-04-15 13:56:27.000000000 +0300
@@@@ -899,8 +899,8 @@@@
((($MRTG_lib::OS eq 'NT' or $MRTG_lib::OS eq 'OS2') and (-e "${FindBin::Bin}${MRTG_lib::SL}rateup.exe")) or
(($MRTG_lib::OS eq 'NW') and (-e "SYS:/Mrtg/bin/rateup.nlm")) or
- (-x "${FindBin::Bin}${MRTG_lib::SL}rateup")) or
- die "$NOW: ERROR: Can't Execute '${FindBin::Bin}${MRTG_lib::SL}rateup'\n";
+ (-x "__PREFIX__/libexec/rateup")) or
+ die "$NOW: ERROR: Can't Execute '__PREFIX__/libexec/rateup'\n";
# rateup does not know about undef so we make inlast and outlast ready for rateup
#warn "$NOW: ERROR: inlast is undefined. Skipping $router\n" unless defined $inlast;
@@@@ -912,7 +912,7 @@@@
$outlast = -1 unless defined $outlast;
if ($$rcfg{'options'}{'dorelpercent'}{$router}) {
- @@exec = ("${FindBin::Bin}${MRTG_lib::SL}rateup",
+ @@exec = ("__PREFIX__/libexec/rateup",
"$$cfg{'logdir'}$$rcfg{'directory'}{$router}","$router",
$time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z',
"$up_abs"."p", $inlast, $outlast, $absmax,
@@@@ -921,7 +921,7 @@@@
$$rcfg{'rgb5'}{$router});
} else {
- @@exec = ("${FindBin::Bin}${MRTG_lib::SL}rateup",
+ @@exec = ("__PREFIX__/libexec/rateup",
"$$cfg{'logdir'}$$rcfg{'directory'}{$router}","$router",
$time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z',
"$up_abs", $inlast, $outlast, $absmax,
@
1.15
log
@Updated net/mrtg to 2.16.1
* fix RouterUptime config with non unique targets
* give up MAINTAINERship as I'm no longer using mrtg (I switched to rrdtool)
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.14 2008/02/13 12:05:26 martti Exp $
@
1.14
log
@Updated net/mrtg to 2.16.0
* Makesure mrtg repopulates its cache only once even in fork mode
* Added support for RRDtool based Holt-Winters aberrant behaviour detection.
Threshold based alerts have been enhanced to be able to fire based on the
FAILURES RRA. Note that Holt-Winters aberrant behaviour detection can only
be enabled on newly created RRAs.
* when thresholds were UNboraken, the threshprogok did not run necessarily
* MIB parser rewritten for better compatibility
* allow RouterUptime to contain an explicit OID for queriing the uptime.
* support for nortel passport 8600 in cfgmaker
* Added Documentation for GeTNEXT prefix
* Added New Prefix for Counterd SNMP Walk -> CnTWaLK (see docs)
* Upgrade to SNMP Session 1.10
* Updates for Net_SNMP_util.pm and SNMP_util.pm
* Fix if_is_ciscovlan condition in cfgmaker
* Updated port syntax in documentation (based on trac entry)
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.13 2007/01/10 14:25:40 martti Exp $
d3 3
a5 3
--- bin/mrtg.orig 2008-02-06 16:35:49.000000000 +0200
+++ bin/mrtg 2008-02-13 13:57:31.000000000 +0200
@@@@ -898,8 +898,8 @@@@
d16 1
a16 1
@@@@ -911,7 +911,7 @@@@
d25 1
a25 1
@@@@ -920,7 +920,7 @@@@
@
1.13
log
@Updated net/mrtg to 2.15.0
* Free positioning of a generated ifIndex in the OID string using
the magic IndexPOS keyword
* When doing threshold checking with rrdtool, there was a very expensive
'getting the data back with rrdinfo and rrdfetch' cycle after each
rrdupdate. with rrdtool 1.2 and the updatev function this is not
necessary anymore the new code speeds up mrtg cycle time by a factor of 3
to 10 depending on your platform.
* Threshold Un-Borken Messages will only be generated when the value is 10%
away from the threshold. Configurable via ThreshHyst
* New function thresholdmail lets you send an email when a threshold
is broken. This feature talks directly to the mailserver and does
not require any external programs.
* New template writers helper function in cfgmaker - oid_pick. It tests if a
device is willing to supply information regarding a particular oid. This
makes template writing much more plesant.
http://oss.oetiker.ch/mrtg-trac/browser/trunk/templates/cisco/host-cisco.tmpl
* added new tool mrtg-traffic-sum to build traffic stats based on the
content of your mrtg log (not rrd) files.
* mrtg running with rrdtool can now do sub-minute resolution if the interval
is specified like that: 0:30 ... note that you can not change the
resolution of an existing rrd file. So this will only have the desired
effect on new rrds. Also note that the graphing frontend may need changes
too to be able to deal with the new interval type. Internally interval is
now a float!
* new debug option 'prof' to see how long rrdtool spends on its writes ...
* fixed snmpv3 support in cfgmaker
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.12 2006/10/19 06:40:54 martti Exp $
d3 3
a5 3
--- bin/mrtg.orig 2006-12-06 00:10:06.000000000 +0000
+++ bin/mrtg 2007-01-10 16:00:01.000000000 +0000
@@@@ -864,8 +864,8 @@@@
d16 1
a16 1
@@@@ -877,7 +877,7 @@@@
d25 1
a25 1
@@@@ -886,7 +886,7 @@@@
@
1.12
log
@Updated net/mrtg to 2.14.7
* take over MAINTAINERship
* removed extra spaces from Makefile.in
* timestamps in log files to be YYYY-MM-DD HH:MM:SS
* fixed rateup to propely support kMG option
* fixed problem with conversioncode option throwing an exception.
* fixed config parsing problem for libadd lines terminated by a \
* added 'eval' debug target
* updated local $SIG{__DIE__} locations to work as intended
* fix ifspeed for foundry switches in cfgmaker
* Added expscale option (opposite of logscale) to emphasize the top end of
the scale; this improves display of line voltages that don't change a whole
lot
* added sample startup script for mrtg
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.11 2006/08/09 21:42:42 adrianp Exp $
d3 5
a7 3
--- bin/mrtg.orig 2006-09-06 13:42:50.000000000 +0000
+++ bin/mrtg 2006-10-19 08:47:41.000000000 +0000
@@@@ -828,4 +828,4 @@@@
d14 5
a18 1
@@@@ -841,3 +841,3 @@@@
d23 5
a27 1
@@@@ -850,3 +850,3 @@@@
d32 2
@
1.11
log
@Update to 2.14.5
Package changes include:
- pkglintification
- move to options.mk
- add in extra option for building with snmpv3 support (not tested)
- tidy up MESSAGE (no more html docs)
MRTG changes include:
* updated SNMP_util.pm and Net_SNMP_util.pm
* new: clonedirectory function
* Updated SNMP_Session to 1.08
* SNMP v3 support added Net::SNMP library required for this
For a full list see:
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/CHANGES
Addresses PR# 32811
ok'ed bouyer@@
@
text
@d1 1
a1 1
$NetBSD$
d3 3
a5 5
--- bin/mrtg.orig 2006-07-14 12:39:19.000000000 +0100
+++ bin/mrtg
@@@@ -824,8 +824,8 @@@@ sub writegraphics {
((($MRTG_lib::OS eq 'NT' or $MRTG_lib::OS eq 'OS2') and (-e "${FindBin::Bin}${MRTG_lib::SL}rateup.exe")) or
d12 1
a12 5
# rateup does not know about undef so we make inlast and outlast ready for rateup
#warn "$NOW: ERROR: inlast is undefined. Skipping $router\n" unless defined $inlast;
@@@@ -837,7 +837,7 @@@@ sub writegraphics {
$outlast = -1 unless defined $outlast;
d17 1
a17 5
$time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z',
"$up_abs"."p", $inlast, $outlast, $absmax,
@@@@ -846,7 +846,7 @@@@ sub writegraphics {
$$rcfg{'rgb5'}{$router});
} else {
a21 2
$time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z',
"$up_abs", $inlast, $outlast, $absmax,
@
1.10
log
@Updated mrtg to 2.12.2
* fix warnings produced by pkglint
* fix portname math in indexmaker
* accept extreme networks switches for ifAlias in cfgmaker
* set unknown values to 0 for threshold checking if unknonwnaszero is set
* updated NetWare integration
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.9 2004/08/30 18:40:14 martti Exp $
d3 5
a7 3
--- bin/mrtg.orig 2005-06-19 16:40:02.000000000 +0300
+++ bin/mrtg 2005-06-23 08:05:14.000000000 +0300
@@@@ -721,4 +721,4 @@@@
d10 3
a12 3
- die "ERROR: Can't Execute '${FindBin::Bin}${MRTG_lib::SL}rateup'\n";
+ (-x "__PREFIX__/libexec/rateup")) ||
+ die "ERROR: Can't Execute '__PREFIX__/libexec/rateup'\n";
d14 5
a18 1
@@@@ -734,3 +734,3 @@@@
d21 1
a21 1
+ @@exec = ("__PREFIX__/libexec/rateup",
d23 5
a27 1
@@@@ -743,3 +743,3 @@@@
d30 1
a30 1
+ @@exec = ("__PREFIX__/libexec/rateup",
d32 2
@
1.9
log
@Updated mrtg to 2.10.15
* patches for netware support
* the optional Conversion function wants to have the original
data pulled in via snmp to work with, mapping \n and \r to nothing
and stripping spaces must happen later.
* better error message for missing library
* Updated to snmp_session 1.05
* fix for cuin and cout values saved in html comments
* fix for polish translation
* nodetach option for running mrtg under daemontools
* fixed indexmaker. added missing last for --section=portname code
* fixed scaling bug in rateup (unsigned long) should have been long long
* fix indexmaker when used with 14all
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.8 2004/06/21 16:20:14 martti Exp $
d3 4
a6 4
--- bin/mrtg.orig 2004-08-08 12:58:55.000000000 +0300
+++ bin/mrtg 2004-08-30 21:23:13.000000000 +0300
@@@@ -703,4 +703,4 @@@@
(($MRTG_lib::OS eq 'NW') and (-e "${FindBin::Bin}${MRTG_lib::SL}rateup.nlm")) or
d12 1
a12 1
@@@@ -716,3 +716,3 @@@@
d17 1
a17 1
@@@@ -725,3 +725,3 @@@@
@
1.8
log
@Updated mrtg to 2.10.14
* new option subtitle for indexmaker
* added new options for printing date inside the graph:
TimeStrPos[] and TimeStrFmt[]
* fix indexmaker when used with 14all
* translation updates
* added 3com RMON VLAN detection to cfgmaker
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.7 2004/02/15 07:34:04 martti Exp $
d3 3
a5 5
--- bin/mrtg.orig 2004-06-08 21:08:28.000000000 +0000
+++ bin/mrtg 2004-06-14 17:32:26.000000000 +0000
@@@@ -700,8 +700,8 @@@@
((($MRTG_lib::OS eq 'NT' or $MRTG_lib::OS eq 'OS2') and (-e "${FindBin::Bin}${MRTG_lib::SL}rateup.exe")) or
d12 1
a12 5
# rateup does not know about undef so we make inlast and outlast ready for rateup
#warn "ERROR: inlast is undefined. Skipping $router\n" unless defined $inlast;
@@@@ -713,7 +713,7 @@@@
$outlast = -1 unless defined $outlast;
d17 1
a17 5
$time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z',
"$up_abs"."p", $inlast, $outlast, $absmax,
@@@@ -722,7 +722,7 @@@@
$$rcfg{'rgb5'}{$router});
} else {
a21 2
$time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z',
"$up_abs", $inlast, $outlast, $absmax,
@
1.7
log
@Updated mrtg to 2.10.13
* fixed undef data problem with forks
* add --icondir option to indexmaker
* faild rrdtune should not kill mrtg complaining is enough.
* fixed manpages first lines to include mrtg as well
* It's community not comunity.
* 16-Bit SNMP Session ID support for cfgmaker and SNMP_Session
* renamed all doc pages to mrtg-* except the manpages for cfgmaker and
indexmaker
* added MaxAge option setting which will prevent mrtg from touching old
logfiles, potentially caused by setting the clock to a wrong date.
* fixed a number of && vs and and || vs or problems in the mrtg script and
library
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.6 2003/12/07 13:53:32 martti Exp $
d3 4
a6 3
--- bin/mrtg.orig Mon Jan 19 09:30:19 2004
+++ bin/mrtg Sun Feb 15 09:20:41 2004
@@@@ -695,4 +695,4 @@@@
d8 1
d14 5
a18 1
@@@@ -708,3 +708,3 @@@@
d23 5
a27 1
@@@@ -717,3 +717,3 @@@@
d32 2
@
1.6
log
@Updated mrtg to 2.10.11
* lots of bug fixes
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.5 2003/10/05 12:02:52 martti Exp $
d3 5
a7 7
--- bin/mrtg.orig Fri Dec 5 19:56:57 2003
+++ bin/mrtg Sun Dec 7 15:36:59 2003
@@@@ -685,8 +685,8 @@@@
########## rrdtool users have left here ###############
((($MRTG_lib::OS eq 'NT' || $MRTG_lib::OS eq 'OS2') && (-e "${FindBin::Bin}${MRTG_lib::SL}rateup.exe")) ||
- (-x "${FindBin::Bin}${MRTG_lib::SL}rateup")) ||
d12 1
a12 5
# rateup does not know about undef so we make inlast and outlast ready for rateup
#warn "ERROR: inlast is undefined. Skipping $router\n" unless defined $inlast;
@@@@ -698,7 +698,7 @@@@
$outlast = -1 unless defined $outlast;
d17 1
a17 5
$time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z',
"$up_abs"."p", $inlast, $outlast, $absmax,
@@@@ -707,7 +707,7 @@@@
$$rcfg{'rgb5'}{$router});
} else {
a21 2
$time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z',
"$up_abs", $inlast, $outlast, $absmax,
@
1.5
log
@Updated mrtg to 2.10.5
* bug fixes
* documentation updates
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.4 2003/04/08 09:50:22 martti Exp $
d3 3
a5 3
--- bin/mrtg.orig Fri Sep 12 00:15:22 2003
+++ bin/mrtg Sun Oct 5 13:02:06 2003
@@@@ -666,8 +666,8 @@@@
d15 4
a18 4
warn "ERROR: inlast is undefined. Skipping $router\n" unless defined $inlast;
@@@@ -675,7 +675,7 @@@@
return undef unless defined $inlast and defined $outlast;
d25 1
a25 1
@@@@ -684,7 +684,7 @@@@
@
1.4
log
@Updated mrtg to 2.9.28
* bug fixes
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.3 2002/10/23 10:42:21 martti Exp $
d3 3
a5 3
--- bin/mrtg.orig Fri Apr 4 06:31:59 2003
+++ bin/mrtg Tue Apr 8 12:30:22 2003
@@@@ -586,8 +586,8 @@@@
d8 1
a8 1
((($MRTG_lib::OS eq 'NT') && (-e "${FindBin::Bin}${MRTG_lib::SL}rateup.exe")) ||
d11 1
a11 1
+ (-x "__PREFIX__/libexec/rateup")) ||
d16 1
a16 1
@@@@ -595,7 +595,7 @@@@
d21 1
a21 1
+ @@exec = ("__PREFIX__/libexec/rateup",
d25 1
a25 2
@@@@ -603,7 +603,7 @@@@
$$rcfg{'rgb3'}{$router},$$rcfg{'rgb4'}{$router},
d28 1
@
1.3
log
@Updated mrtg to 2.9.25
* die gracefully when LANG is set to UTF-8 and give advice (RedHat 8)
* updated squid monitoring example
* Fixed indexmaker which got truncated during the last release process
* cosmetic tweaks for layout
* Use Snmp Session 0.93 with option avoid_negative_request_ids enabled
* Supress Posix Locales in the locale module ... people who have LANG
set to UTF-8 report very strange errors otherwhise.
* skip all queries to a host for one round when 1 query has returned undef.
* skip all trailing space in keys when matching interface by Name,
Description, Anything
* remove
before