Commit graph

39 commits

Author SHA1 Message Date
bouyer
2d181d7feb Make netstat2mrtg work also on interfaces without link-layer address
(e.g. lo0, gif0, ...). From Takahiro Hayashi in pkg/13206.
2001-06-21 16:44:35 +00:00
wiz
a32f2da84b Update to 2.9.17 by Martti Kuparinen via pkg/13258.
Notable changes in reverse order (newest on top):
* mrtg_lib had broken scanning for Ip tables in populateconfcache
  this caused reference by IP to break
* new option for mrtg --logging replaces  $main::debugfile from 2.9.13.
  It can be set to a file which will take all mrtg output. On Win32 it can
  also be set to 'eventlog' which will make all mrtg output go to the
  eventlog.
* snmpv2 regexp did not match in cfgmaker
* fix for indexmakers extension feature
* improved mrtg logfile format description
* require perl 5.005 for mrtg_lib
* populateconfcache steps across non existing tables gracefully
* in mrtg, handle bigint more carefully and remove excess + from results
  as some perls seem to crash on them ...
* check if gd was linked with jpeg and even freetype ...
* if $main::debugfile is set to a writeable filename, all output form mrtg
  will go there (Firedeamon Suggenstion)
* SNMP_Session 0.86 added ... lenient_source_port_matching replaces the ad hoc
  only_ip_address_matching from mrtg 2.9.11 ... AS/400 folks beware
* added --section=portname to indexmaker
* try to fix IsCounterBroken test in cfgmaker ... just cant find any broken
  coutners to test this :-(
* fix for broken --dns-domain in cfgmaker
* fix for broken RouterUptime[] configurable
* fix for broken snmp with returns negative numbers for counters ...
* integrated my SNMP_utils changes into the real thing.
* make sure cfgmaker puts now raw < or > into the PageTop tag
* properly integrated ytics support in rateup
* properly deal with target math resulting in non integer data even when
  logging to rateup which can not deal with floats.
* cleanup of rateup.c and some new options -b -a -o -i
* new options for mrtg noborder, noarrow, noi, noo, nobanner and nolegend
  check reference.pod for docs.
* generator meta tag to html pages
* add 'only_ip_address_matching' feature to SNMP_Session. We are
  more libaral when accepting snmp responses now.
* be more tolerant with external scripts input
* added feature to SNMP_utils: If first snmp var name is a HASH pointer,
  the hash contents is used to set snmp options on the connection
* handle descriptions with & in cfgmaker
* added SnmpOptions: command to mrtg.cfg lanuage ... It allows
  to set Snmp Options as available in SNMP_Session. Check the reference.txt file.
* test for availability of ifHCInOctets when running cfgmaker for v2 targets
* fixed indexmake image path for situations with Directories
* added option --prefix to indexmaker for people keeping thier index
  somewhere else than default.
* honor background option in cfg file for indexmaker pages
* fixed warning in indexmaker (Use of uninitialized value in concatenation <.>
  at indexmaker line 174)
* when the integer option was specified, there was still a .x printed in the summary area ...
* mrtg will now timestamp any warning and error message it emits
* fixed threshold processing ... IT REALY WORKS NOW! ...
  **** Incompatible CHANGE ****************
  ThreshProgOK now gets the same
  commandline arguments as the normal ThreshProg ...
  **** Incompatible CHANGE ****************
* configurable confcache (.ok) file location
* add <meta http-equiv="Cache-Control" content="no-cache">
  to html files as this seems to be more understandable than "Pragma" content="no-cache"
2001-06-20 14:21:52 +00:00
hubertf
d8e26feb97 RCS ID police 2001-06-19 12:32:17 +00:00
tron
d213d192dc Set minimum required Perl 5 version to 5.6.0. Fixes PR pkg/12743 by
Kimmo Suominen.
2001-04-26 08:38:12 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
wiz
e858ac7136 Update to 2.9.10, in followup to pkg/11411 by Martin Wallner.
Changes since 2.9.2: Too many too list here. (Lots of bugfixes,
and many enhancements).
2001-03-06 10:26:48 +00:00
tron
d3a02e2f9b Install "mrtg.1" to "man/man1", too. 2001-02-25 13:44:55 +00:00
tron
702be3feca Only install manual pages for "cfgmaker" as "mrtgcfgmaker.1" and for
"indexmaker" as "mrtgindexmaker.1" to avoid name conflicts. All manual
pages are installed to "share/doc/mrtg" again.
2001-02-25 13:42:13 +00:00
tron
d0b9c9204c Install manual pages to "man/man1" instead of "share/doc/mrtg". 2001-02-25 13:30:41 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
bouyer
864027385a Print 0 when the number of IRQs has become negative instead of nothing (which
confuses mrtg).
2001-02-08 09:12:58 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
bouyer
700742a932 Change maintainer to myself, per request of Hubert 2000-10-23 13:47:53 +00:00
bouyer
ae3befa186 Ops, cfgmaker_ip isn't here any more 2000-10-20 16:07:01 +00:00
bouyer
7ecb875aa2 Upgrate to mrtg 2.9.2, and change maintainer back to packages@netbsd.org
(Todd Vierling doesn't use mrtg any more :)
Changes from 2.8.12:
MRTG 2.9 is the biggest change in MRTG since the release of MRTG 2.0.
So let's hear the news first:

* The rrdtool integration allows for massively increased logging
  performance.

* Routers which change their interface numbers are no problem any more.
  MRTG can now reliably address interfaces by IP, MAC, Description,
  Name and Type. The cfgmaker tool has been rewritten from scratch and
  allows to generate configurations with any of the above mentioned
  interface addressing methods.

* Indexmaker has be rewritten from scratch, it is now much more
  flexible and fully documented.

* All the MRTG documentation has been reviewed and ported to perls
  "Plain Old Documentation (POD)" format. This allows to provide all
  documentation in text, HTML and man format. It is now all available
  on the MRTG web-site.

* Config file parsing has been optimized. This makes reading
  configuration files much faster. Especially large configuration files
  are faster by factors

* Under UNIX, mrtg can fork into several instances while querying
  routers.  This improves data acquisition performance dramatically,
  especially with slow networks.

* Graphs and webpages can be generated on the fly is mrtg is used with
  rrdtool logging. Several tools in the mrtg contrib section are
  available for this purpose.

* And there is more: MRTG has been translated into 29 languages, OS
  detection has been automated, did I mention performance, many of the
  contributed tools have been dated and a slew of new ones has been
  added, The config file reading code is now available in a documented
  library which simplifies the creation of other tools which need
  access to the mrtg cfg file.

* In total, over 200 individual changes are listed in the change log
  since the release of MRTG 2.9.2.
2000-10-20 16:06:16 +00:00
wiz
3c12992227 Use actual ${PREFIX} in MESSAGE 2000-09-03 12:50:42 +00:00
jlam
18cba9d7fa Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently
correctly.

As a side effect of the dynamic PLIST, we no longer need to have separate
-static and -shared PLISTs.  It's now easier than ever to make a perl5
package for NetBSD :)
2000-08-27 07:10:59 +00:00
tron
2b5bff75fb Adapt to "gd" library with JPEG support. 2000-03-17 23:31:48 +00:00
tron
1f59e22ae3 Depend on gd 1.7.3 or newer instead of hard coding version number. 2000-03-17 23:19:54 +00:00
kim
919a8c87d4 The generated pages are trying to include png files for the logos,
not gif files.  So we need to install the png logos.
2000-03-05 07:35:17 +00:00
agc
9f991c45c8 Make this package work on Solaris. 2000-03-03 13:56:48 +00:00
tron
9561cabe5e Update "mrtg" package to version 2.8.12:
- make -M and -r work in indexmaker
- hungarian translation
- NoSpaceChar option. Supresses SPACE normally inserted between local value
  and PRE or APPEND value.
- new features for cfgmaker --iponly, --options, --workdir
- make RunAsDaemon work ...
- Daemon mode now forks into background after cfgcheck
- Remove locks after sig INT and TERM
- make indexmaker ignore default values
- added ThreshDesc config option. Its value is assigned to the env variable
  THRESH_DESC before and of the Thresh-Action scripts are called.
- bugfix for big5 locale
- bugfix for norwegian.pmd
- it is RunAsDaemon and not RunAsDeamon
- update for rrdtool integration 14all.cgi to 0.16
- updated danish translation
- have cfgmaker put specific comments into the mrtg.cfg file
  regarding the reason for droping a certain interface ..
- Added RunAsDeamon mode. Start mrtg only once. No Cron necessary.
- linux ip-filter integration in contrib
- version 2.2 of mrtgmk in contrib
- catalan locales
- rateup.c fix for kMG override bug
- allow to set ShortLegend to ''
- better parsing of PageTop with intexmakers -P option
- fix for spanish translation (uptime had some probmlems)
- contrib: switchmaker produces mrtg cfg files for Cisco Catylst 5XXX
- made sure -lm comes last when linking ...
- converted remaining gifs to png
- make sure AbsMax is not smaller than MaxBytes
- translation to icelandic
- added japanese translations for ISO-2022-JP and EUC-JP
- added turkish translation
- update for rrdtool integration 14all.cgi
- Added more modular translation system
- Added German Translation
- Chinese Translation
- cfgmaker_ip ... keep first address and not last ..
- Malayan translation
- restored mibhelp to its old glory ..
- added ability to index interfaces by physical address analog to
  the existing IP stuff ... there is now also a cfgmaker_phys
- polish translation
- graphing fix for rateup ...
- cpuinfo contrib
- contrib cisco config tftp
- updates and bugfixes for mrtgmk v2.0
- fix for -F/-f in indexmaker
- fix for view type in indexmaker
- cisco accounting contrib
- added -lm to LIBS in configure.in
- patching system for languages ... check translate directory
- NSI (Network Status Imager for MRTG) contrib
- updates for mrtg-archiver
2000-02-07 16:44:13 +00:00
jlam
fffb0b7af0 * Modify to support gd-1.7.3. 1999-11-01 03:37:35 +00:00
kim
71ae0e56e3 New version introduced locales_mrtg.pm so let's install it.
Now you can run this, too...
1999-08-28 23:25:30 +00:00
kim
75b49d86f8 Upgrade to 2.8.8 to work with gd-1.6.3 (otherwise the pkg tools
just kept trying to reinstall gd, which was odd -- I guess it was
thinking version 1.3p1 was greater than 1.6.3).
1999-08-28 16:46:44 +00:00
agc
f4d5171de1 Add package patch checksum files. 1999-07-09 14:09:02 +00:00
explorer
1b48bb68db Apparently needs --with-gd-lib= as well, now... 1999-05-22 14:23:42 +00:00
rh
4d71da75df Update mrtg to 2.7.4
Notable changes are:
	- several bug fixes
	- now uses GNU configure script
	- documentation update
	- cleaned up distribution
	- new indexmaker accepts multiple config files
	- optional 2-column layout
	- option to specify bacground color
	- option to specify overview graphs sizes
	- few options to increase/decrease bells and whistles
	- improvements for perminute perhour
	- integration of SNMP_util and the latest SNMP_session
	- changed cfgmaker to use ipaddress as name for targets
	- fixed html in indexmaker and mrtg
	- optional handling of two different MaxBytes settings
1999-05-22 10:45:32 +00:00
bouyer
147ae6dd80 Add 2 perl scripts to collect datas on a NetBSD 1.4 system from netstat,
iostat, systat and a sample config file to use these. Also update the
MESSAGE to stats there is a sample config file.
Result can be seen at http://www.antioche.eu.org/mrtg/.
1999-05-18 14:16:53 +00:00
bouyer
b3cc953df2 Link with $(LDFLAGS), for -Wl,-R/usr/pkg/lib 1999-05-10 16:10:33 +00:00
tv
ed9cfb063d Change gd package "version" to 1.3p1 so that packages (particularly py-gd)
will not try to link against the version without a shared library.
1999-05-03 20:25:36 +00:00
tsarna
5e9cc577b8 Automatically append HOMEPAge to DESCR files, and remove homepage URLs
from individual DESCR files that had them.
1998-08-26 16:50:48 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
frueauf
004e47e5b0 cat ${PKGDIR}/MESSAGE in bsd.pkg.mk if it exists, don't do it in every
package Makefile.
1998-07-14 10:56:15 +00:00
tv
f260f2c8ca Add and activate MRTG, the Multi-Router Traffic Grapher. 1998-07-13 17:56:27 +00:00
tv
1c8de83b85 Import of FreeBSD's Multi Router Traffic Grapher pkg, patches to follow. 1998-07-13 16:59:07 +00:00