変更点 2.9.22 -------------- From: Nick Hilliard * Unix環境での pid ファイルの取り扱いを修正 From: Tobi * MRTG_lib.pm の ISAの配列から VERSIONを削除。そこにある理由も ないし、Perl 5.8 が文句いうので。 From: James Overbeck * テンプレートのアクセシビリティのために、cfgmakerのdirectory_nameを修正 From: John Caruso * rateupの丸めの問題の修正..... 変更点 2.9.21 -------------- From: Tobi * rrdtool のしきい値のチェックをやっと修正 変更点 2.9.20 -------------- From: Tobi * 誰かが本当にしきい値をチェックしたい場合に のみ、しきい値のデータが欠損してることについて 文句をいうように 変更点 2.9.19 -------------- From: Szabo Balazs Zsolt * 動的なグラフのラベルを修正 From: Andrea Rossi * イタリア語の translation ファイルを更新 From: Tobi * 空白名を許可 * cfgファイルを読む際に、$_ に undef が返された ら確実に終了させる * jpeg+freetype+png コンパイルの修正 * アイコンが $(prefix)/share/mrtg2/icons に インストールされるようになりました。 * インターバルを5分以外で設定した場合に、新しく生成された rrd ファイルの行を数える仕組みを修正 * rrdのRRDRowCount設定キーワードで、データ保存量を 指定する設定を許可 * indexmaker の cleanurl 機能をより強固なものに * PageTop は必須ではなくなりました * 負の数になった壊れた SNMP カンウンタを 2**31を足すことによって補正 * NT上のlog2rrdは "|command" シンタックスを 使わなければなりません。 変更点 2.9.18 -------------- From: Tobi * host_templatesでもrouter_connectが動作するように変更 変更点 2.9.18pre12 ------------------- From: Herold Heiko * indexmakerに --sectionhost 機能を追加 From: Tobi * 時刻の変数を出力する際に動作がおかしくならないように rateup.c を修正 * 監視対象の警告を確実に動作するように * SNMP クエリが失敗した際の対応を丁寧に 変更点 2.9.18pre11 ------------------ From: Tobi * rateupを使用している場合 inlast と outlast がマイナス値にならないようにしました From: Herold Heiko * indexmakerを機能拡張しました From: Peter K rateup が警告メッセージを出さないようにしました :-) 変更点 2.9.18pre10 ------------------ From: Tobi * SetEnvに関する文書の修正 * mrtg-rrdが直前の更新でnanを返した場合に対応 * workdirのパスに空白が含まれていた場合にエラーを出す From: "Jones, Derek C." * cfgmakerの新しいフィルタ ... if_is_wan From: CHOI Junho * 韓国語translateファイルの修正 変更点 2.9.18pre9 ------------------ From: Tobi * 末尾に % を使った thresholdsの適切なテスト * rateup の失敗を認識 * cfgmakerがきちんとsnmpv2で動作するようにし、snmpv2に対応してい るか適切にテストし、していない場合は ifHighSpeed を使用しない * evalを使用して、翻訳のシステムを簡潔にしました * NT で rateup を呼び出すシークエンスにおいて、空白や特殊文字に よりかしこく対応できるように挑戦 Changes 2.9.18pre8 ------------------ From: Tobi * cfgmakerの snmp v2 カウンタテストの修正 ..... cfgファイルで 使用する前に、きちんと動作するか確認 * mrtg が c:/program files にインストールされても動作するようにしました From: Jussi Siponen * フィンランド語のtranslateファイルの追加 From: Tobi * 外部コマンドの失敗が、自分の望むところ以外のコード内で  警告をださないようにしました 変更点 2.9.18pre7 ------------------ From: Tobi * -w の導入によって、コードのあちこちから出るようになった 警告を修正 変更点 2.9.18pre6 ------------------ From: Tobi * -w の導入によって、コードのあちこちから出るようになった 警告を修正 変更点 2.9.18pre5 ------------------ From: Ian Duplisse * powとlog10 インスタンスがないかぎり、kiloの使用は rateup内で無視されます From: Tobi * inlastかoutlastが定義されていない場合、rrdtoolが使用されて いなければ更新をしない * mrtgのPerlの部分に -w を追加 ... コード内の潜在的な問題に 対して警告を出してくれるでしょう。明白な問題はすでに修正済み です。結果的に、Perl 5.003 でも再び動作するようになりました。 From: Delev Zoran * マケドニア語のtranslateファイルの追加 *すごーい 変更点 2.9.18pre4 ------------------ From: Tobi * rateup: 直前のカウンタが0でも問題なし......  pre2での変更を元に戻しました * dataのお掃除......もし値が unknown なら、'undef' として設定 * 監視対象が奇妙な値を返した場合のエラーの処理をよりしっかりとしたものに From: Adrian Senn * cfgmaker の hostnames の最後の . を削除 From: Sergiy Guminilovych * ウクライナ語のtranslateファイルの改良 From: Systems Administrator * 私たちも OIDがenterprises.3495にマッチした場合、squid を使っています *? 変更点 2.9.18pre3 ------------------ From: yoshimoto * rateup内のYTics Factor 問題用パッチ ... YTicsは正常に動作するようになりました ... From: David Lee * ../configure で動作するようにしました ... From: Klemens Kasemaa * エストニア語のtranslation ファイル From: dima@Chg.RU * ロシア語のtranslation ファイルを更新 From: Amir Guindehi * indexmakerのflastmodに欠けていた接頭辞を追加 変更点 2.9.18pre2 ------------------ From: Tobi * rateup: もしカウンタの値が 0 なら、何かがおかしいはず.... 計算するなかれ * mrtg: ユーザが、2つのcronエントリで平行して同じ設定ファイルにmrtgを 走らせているとMRTGが認識した場合、警告する機能をlockitコードに追加 * rateup: rateupが静的にコンパイルされるように強制....がんばりました :-) From: Olexander Kunytsa * ウクライナ語の translation ファイルを更新 From: Simon Leinen and Mike Mitchell * SNMP_Session 0.92の更新 変更点 2.9.18pre1 ------------------ From: "MORI, Takahiro" * rateup.cのylabをビルドする際に yticsfactor が考慮されていませんでした。 コードの668行目に *yticsf を追加 From: Tobi * html ファイルを読み返しているときに、先頭の40行だけを見ていて したがって最後のグラフの統計の5つの値が無視されていました * Unixのインストール instr を最新のライブラリバージョンに更新しました * ‘奇妙な’ファイル名でも rrd 変換のハンドリングを許可 * avgpeakオプションを追加 ... これを課金に使いたい ISP のために (Advances.Com, Inc. 用) * cfgmakerがCisco社製以外の機器でDS3インターフェースをコメントアウトしないように From: "Leitch, Roger (CRTLDN)" * withzeros オプションの修正 ... 今まで動いてませんでした From: Roman Festchook * ウクライナ語用の translation ファイル 変更点 2.9.17 -------------- From: Tobi * mrtg_lib の populateconfcache の Ip テーブル をスキャンする機能が壊れていました これが原因でIPによる参照が壊れていました Changes 2.9.16 -------------- From: Tobi * Removed win32::console from daemon mode mrtg * updated docu to get nt mrtg started with wperl instead of perl ... Changes 2.9.15 -------------- From: Tobi * new rateup.exe which creates pngs ... created using a mingw32 gcc running as a crosscompiler on SPARC Solaris. The rateup.exe is not linked as a console application, so no more popping cmd windows ... mrtg should run quietly now ... * updated instructions for running mrtg on windows in daemon mode * 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. Changes 2.9.14 -------------- From: Martin.Frys@newtonit.cz * fix for configure ... -lfreetrype will not work :-) From: Tobi * propper caching for new gd lib variant tests in configure.in Changes 2.9.13 -------------- From: Damien * contrib mrtg_php_portal From: HERITIER Herv * contrib iptables_acc_snmp From: Pascal Eeftinck * snmpv2 regexp did not match in cfgmaker From: Alexander V Redyuk * russian translation to windows-1251 russian charset. From: Klaus_Klein@mckinsey.com * contrib apc_ups monitor From: Ratko Bucic * serbian language translation updated From: O'Shaughnessy Evans * fix for indexmakers extension feature From: Dinko Korunic * croatian translation From: Graziano * updated cfgmaker_dlci contrib with work with win32 From: Jamaludin Ahmad * Indonesian and Malaysian translations From: "Newman, Daniel" * contrib document monitoring Cisco BPX and MGX switches with MRTG From: Tobi * 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 add hock 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 :-( From: Jakob Ilves * configuration templates for cfgmaker ... read the docs * fix for broken --dns-domain in cfgmaker Changes 2.9.12a --------------- From: Tobi * the windows binary rateup.exe creates gif file ... fixed mrtg accordingly ... * no changes to unix mrtg Changes 2.9.12 -------------- From: Tobi & Jeff Frost * fix for broken RouterUptime[] configurable Changes 2.9.11 -------------- From: Mike Mitchell * fix for broken snmp with returns negative numbers for counters ... * integrated my SNMP_utils changes into the real thing. From: Tobi * make sure cfgmaker puts now raw < or > into the PageTop tag From: Chad Mynhier * properly integrated ytics support in rateup From: Diogo Gomes * Portuguese translation for mrtg From: Thomas Abthorpe - Tby. * * The period "." was missing in front of $$rcfg{extension}{$item}. in indexmaker From: James Overbeck * properly deal with target math resulting in non integer data even when logging to rateup which can not deal with floats. From: Simon Butcher * 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 From: Gerry Van Steerteghem * add hyperlinks to 14all compatible indexmaker pages From: David Boyer * contrib mrtg.php produces live index From: David A. P駻ez * contrib TTrafic a *.log analyzer in asp From: Ratko Bucic * serbian language translation From: "Gill, Vern" * contrib iptables-accounting From: Dan Lukes * allow configure to work even if you have a gdlib which supports BOTH gif and png From: GOMEZ Henri * add 'only_ip_address_matching' feature to SNMP_Session. We are more libaral when accepting snmp responses now. From: Tobi * 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 suggested by Pascal Eeftinck * 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 sumary area ... * updated url in ircstats2 README * mrtg will now timestamp any warning and error message it emits suggested by SUZUKI Yasuhiro From: Juha Laine * fixed threshold processing ... IT REALY WORKS NOW! ... **** Incompatible CHANGE **************** ThreshProgOK now gets the same commandline arguments as the normal ThreshProg ... **** Incompatible CHANGE **************** From: Alexey Milevsky * configurable confcache (.ok) file location From: Anthony Howe * add to html files as this seems to be more understandable than "Pragma" content="no-cache" Changes 2.9.10 -------------- From: Tobi * reintroduced new cfgmaker ... somehow it got replaced by an older version in 2.9.8 and 2.9.9 Changes 2.9.9 ------------- From: Tobi * accept numbers starting with + comming from snmp * changed library version to 2.090009 Changes 2.9.8 ----------------- From: Tobi * indexmaker does now also honor ImageDir and problems in connection with the directory option. The result should be fewer broken links in index files. * better documentation on how to suppress images in indexmaker * remove potential newlines and padding from snmp response * added new global config: SingleRequest to force single variable snmp requests. * switch group before user if --group is used when starting mrtg * added special legends for perminute and perhour * new option for indexmaker --pagetop * if threshdir is defined, run thresholdprog* only when a boudery has been crossed. * better documentation of threshold programming * only run threshprogs if there are threshold bounderies defined * make threshold checking work better ... only run the threshold programs when a threshold boundery has been crossed ... * threshold stuff should be realy working now From: Fernando Braghetto - Webmaster Hiway * total control modem config From: Sune Kirkeby * configurable lockfile locations From: Tim Cimarusti * update for ciscoindex contrib From: Michael Bussmann * update mrtgindx.cgi to work with .png files From: Steven Shipway * Steven has a MRTG&RRDTOOL website now. Replaced references and contribs with links to http://www.cheshire.demon.co.uk/pub/ From: Gianmarco Armellin * index.html?.meta code was not working From: Us * slovenian translation From: Andres Kroonmaa * add commandline to generated output of indexmaker as a commet From: Andrew Ivanov * snmpoptions were disregadrded in the table population area of the script From: Simon Lyall * more tolerant matching for Description in indexmaker From: Anthony Fabian * fixed threshold feature: threshprog was not getting the right parameters when called Changes 2.9.7 ------------- From: Tobi * improved scanning of results from external scripts ... * in cfgmaker remove excess \ in Titles From: Wolfgang Hoffmann * new mrtglog programm in contrib From: Tobi and Daniel Elvin * added --show-op-down parameter to cfgmaker From: Jakob Ilves * massive enhancement to cfgmaker ... the beast has become much more configurable. Hold on to your hats, there is more to come. From: Simon * Upgrade to snmp_session.pm ... the beast was not reacting to udp packets coming from another interface of the router. Changes 2.9.6 ------------- From: Tobi * downgraded rateup code ... 2.9.5 was completely broken * fixed .pid fiel code ... now it should work, and double starts of mrtg will get prevented as well ... Changes 2.9.5 ------------- From: Jakob Ilves * rewrote --ifdesc in cfgmaker ... there are many more options now From: O'Shaughnessy Evans * fixes for cfgmaker (--help, --noreversedns and version param) * fixes for indexmaker (--help, --version, added man info on section=descr) From: Do Jong Gwan * rules for activating threshold checking were not ideal ... (often it did not get activated when it should) From: Tobi * removed extra space in hrefs in indexmaker pages * make configure catch missing gd.h * make sure no two mrtg daemons run on the same cfg file in parallel. * proper exit values for cfgmaker and indexmaker * rewrote threshold checking to be more perlish * thresholds can now be specified in % of maxbytes to activate this, they must end in '%' From: Tobi & Luiz Encarnacao * All translations had bad formating in the credit line (extra font and td tags) From: Justin Schoonover * Make Rateup honour the yticsf properly From: Tobi * Removed 14all.cgi from the contrib section and replaced by a pointer to Rainers website. This ensures that people get the current version and not some outdated code from my contrib archive. From: Curtis Doty * add refresh and expiery to indexmaker pages * fix rateup.c to honor weekformat when drawing grid lines "Format U" From: Tobi & Mac Daddy * New BodyTag configurable lets you customize the webpages tag From: Alex and Tobi * fix for external data sources sending "" as response breaking the logfile problem From: Hubert Figuiere * Support for MAC OS X From: Simon Leinen * Update to SNMP Session 0.81 From: Bernard Martinet * Fix for parsing of 'by name' matchin target parser ... From: Miroslaw.Maczka@bze.com.pl * update to nt-service From: Tobi Changes 2.9.4 ------------- From: Curtis Doty * excess whitespace after cfgmaker ECHO line was wrecking havoc Changes 2.9.3 ------------- From: Andrew Farrior + teach cfgmaker about catalyst port names From: O'Shaughnessy Evans + cfgmaker will now add a SetEnv line to each router config block * improved cfgmaker docu spelling + indexmaker change --section=descr so that it doesn't include the basic interface description unless it doesn't have a Cisco description to use; adds/docs a new option, --show=none, which disables inclusion of any graph in the index page From: Kevin Benton + contrib gentcucci From: Matija Grabnar + teach log2rrd to honour perhour and perminute options From: Dan Harkless + made cfgmakers --subdirs option way more flexible From: Yo + tranlation into galician From: Dimitrios Stergiou + contrib procmem ... cisco cpu monitoring From: Jeff Liebermann * fixed @dddd[] structures in gb2312.pmd From: John Begley * CEF subinterfaces are not 'graphable' (cfgmaker) From: Tobi * forking code revisited again ... missed closing a handle which was wrecking havoc on log files on certain OSes. No idea how this could happen but it did ... * fix for complex target parser in conection with escaped characters * updated the reference doc description of absolute and gauge to be more concise * check is RunAsDeamon is set to yes + cfgmaker option --noreversedns + add options --user and --group to mrtg script to allow setting user and group when starting mrtg as a daemon from init.d (idea from Dan Harkless ) From: Francis VIVAT * add start command line to runasdaemon section of nt-guide From: Chris Pepper * about 1000 spell fixes for the mrtg docu From: Dan Harkless * spell fix for MRTG_lib.pm again ... Changes 2.9.2 ------------- From: Tobi * revisited and fixed forking code. mrtg was not stable when run as daemon with forking enabled. Aftermath of the confcache problems in 2.9.0 * cfgmaker was not working properly when multiple routers were specified on the commandline From: Dan Harkless * cfgmaker fixes: spelling, quote arguments with space, make --subdirs work * MRTG_lib.pm include file error message had misspelling and output wrong file. From: donlong * updated big5 translation Changes 2.9.1 ------------- From: Rainer Bawidamann * problem with confcache update marker From: Dan Harkless * Various documentation spelling and version number fixes. * Change whatis.* doc files to mrtg.* to not conflict with system whatis.1. From: Lars Christiansen * get subif description on cisco hssi interfaces in cfgmaker Changes 2.9.0 ------------- * 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. Details: From: Rainer Bawidamann - new version of 14all.cgi ----pre33------------- From: Justin Shore - End MRTG Block comment was going to STDOUT ... ----pre32------------- From: Tobi - do not threshold check if cuin or cuout is undef - join continuation lines with newline - moved End MRTG Block coment to the right place - allow forks: 1 but ignore it ... ----pre31------------- From: Tobi - indexmaker with no sorting was broken in pre30 ... From: Curtis Doty - improved sorting for repeated titles in indexmaker ----pre30------------- From: Tobi - removed exess close from forking code ... it seems that perl hates it when I try to close a FH of a dead pipe From: Gereon Ruetten - contrib: script for using mrtg with iptables From: Dimitar Pashev - mrtg can now also run as daemon ... check reference.txt From: Curtis Doty - added --descint option to cfgmake describe interface instead of just 'Traffic Analysis for' From: Tobi & Alex - added query test to cfgmaker (it now does a test query to see if the interface does acctually have traffic counters) From: Peter - gb2312 translation From: Jonathan Cohn - better equipment identification for cfgmaker ... cisco and nokia got mixed up du to a missing . From: Patrik Andersin - mrtg was not accepting withzeroes option (typo in cfg checker) From: "Starkweather, Mike (CNS)" - NT does know -x ... repaced it with -e in threshprog* From: O'Shaughnessy Evans - allow capitals in SetEnv - cfgmeker added option --subdirs ... give subdir to each router From: Tobi - kill and \r in cfg files created on DOS and used on unix ----pre29------------- From: tobi - fixed cfgmaker ... problem with confcache content ... - cfgmaker .. autoquote commandline in cfgfile - cfgmaker ignore agregate interfaces (53) on cisco ----pre28------------- From: Rainer Bawidamann - upgraded to 14all.cgi 1.1.p5 From: O'Shaughnessy Evans - allow to use Description for sectioning in indexmaker From: Adrian Turcu - contributed mrtgrq ... quota monitoring script - contributed net-hosts for monitoring a set of hosts using fping From: Robert Boyle - updated version of PMLines which works with Portmaster 2 to 4 From: tobi - added query by ifType (I know this is sick) - when using forking the confcache updates were not propagated back to the calling process - properly detect situations where the Interface number can not be determined ----pre27------------- From: John Lange - update for ipchains script From: Tobi - fix for indexmaker ... $$item problem ----pre26------------- From: Brian Mudge - fixed showstoppers in mrtg and cfgmaker ----pre25------------- From: Tobi - added xff parameter for log2rrd function in accordance with rrdtool 1.0.27 From: Michele Michelotto - removed excess from locales From: blube@floridadigital.net - make cfgmaker comment out DS3 controlers ... they do not count their traffic From: Rainer Bawidamann - made PID file name generation robust to cfg files without extenssion From: Mattias Lillieskld - make cfgmaker recognize options[^]: bits From: Thomas Abthorpe - Tby. * - go for threshold checking if threshdir is defined ----pre24------------ From: Robert Boyle - Contrib PM4lines, the Lucent Portmaster 4 monitor From: Lucas Nussbaum - create a pid file when mrtg gets executed in daemon mode From: Thomas Abthorpe - Tby. * - fix for configurable file extension in indexmaker From: Juergen Baier and Jacques Supcik - fix for 'target by Ip' name matching code From: Tobi - fixed router uptime ... was not asking on the right target ... From: Steven.Shipway@adsweu.com - updated contrib/routers to version 1.0 - contributed contrib/servers.cgi From: Rainer Bawidamann - fixes for 14all.cgi ... - more debbugging information in log mode about what happens when rrdtool and rateup run ----pre23------------ From: Rainer Bawidamann - fixed threshold support for rrdtool mode - -w fixes for MRTG_lib.pm - relax check for going into threshold mode From: Tobi - pre22 optimisation in target parser broke it ... fixed now complex targets get parsed properly - fixed indexmaker in connection with the directory option ----pre22------------ From: Rainer Bawidamann - updated version of 14all.cgi - identify threshold checking configs properly - fixed snmp level 2 identification for simple targets - add default values for background and backgc From: Benoit Artuso - fix for confcache regeneration From: Bjorn Nordbo - fixes for forker (trgnum was wrong ...) - fixes for missing 'directory' support in log2rrd From: Tobi - use OS installer if one is available - lost a line from cfg file reads ... fixed - added OS detection to MRTG_lib so no more main:: stuff is necessary. - test for existence of work/log/html/image dir, try to reate if missing - Used SmallProf on cfgparser found a grep which was bogging everything down ... together with some other small optimizations this brought the config file reading in my test case (900 simple targets) down from 30 seconds to 7 seconds ... SmallProf rules (or if you look at the total runtime (I am using fork 10) this went down from 43 to 21 seconds ----pre21------------ From: Lucas Nussbaum - contrib: ircstats2.pl a script used to monitor the user load on IRC networks. Contrary to ircstats by Matt Ramsey, it remains connected to the server. From: Tobi - add mask to mkdir call it seems some perls can't deal with the simple form ... - fixed forking code ... I think I got the typeglob magic right now. note, when experimenting with the number of forked collectors, more is not always better. Eg, If you shoot two collectors at a single router in parallel this may prove to be slower than having one collector at work. As a rule of thumb you might want to try a fork equivalent to the number of routers you are monitoring ... (my record with forking, RunAsDaemon and RRDtool is 800 interfaces in 13 seconds ... - added the Include: keyword to the config parser as discussed on the ML ----pre20------------ From: Matthew Schumacher - upate to cpu info From: Tobi - fixed start time for newly created rrds ... this must be $time-2 not $now - fixed quick check rules for maxbytes1 and maxbytes2 - missing directory[xxx] entries will get autocreated - modified quickcheck rules ... instead of strings we use anonymous subs now ... this has the advantage of perl actually compiling the stuff and thus finding errors in the checks even when they are not exercised ... - ***EXPERIMENTAL*** added forking function. If you run mrtg on a system that can fork (UNIX for example) you can try the new 'Forks:' option in the config file. The result of this is that mrtg will fork into several instances prior to going out to ask the routers for snmp data. For situations with high latency as well as mrtg.cfgs with many different devices this will speed things up considerably. It will not make things faster if you query a single switch sitting around next door. As fahr as I know NT can not fork so I have disabled this for NT. If you measure some performance data with this approach please let me know how much faster you went ... ----pre19------------ From: Roy-Magne Mo - binaries must be installed with 755 From: Tobi - when eval fails in target we die - relaxed target parser to cope with oid names which have no dots at all and oids starting with a dot. ----pre18------------ From: Tobi - cfgmaker will disable cisco interfaces with description VLAN.. From: Ferenc Toth - MRTG_lib.pm target parser for complex targets (&) was broken in pre16 .. (off by one error) ----pre17------------ From: Tobi - fixed directory option to generate proper img paths under NT (untested) - made cfgmaker output more useful looking - fixed sorting order in cfgmaker - added --no-down swith to cfgmaker for querying downed interfaces all the same - fixed operstatus tests in cfgmaker - fixed problem in indexmaker. it did not work properly with multiple files. SRC path was wrong - fixed potential problem with ensureSL where a final / was added to an empty string ... - added new interface reference type ifName introduced in mrtg and cfgmaker ifname references are introduced by the # character. Check the reference and the cfgmaker man pages - improved mrtg performance by not asking for uptime and sysname with every target when doing logformat rrdtool - fixed lost uptime and sys name querying for rateup logformat From: Steven.Shipway@adsweu.com - updated contrib/routers to version 0.11 ----pre16------------ Thomas Abthorpe - Tby. * - fixed broken header introduced in pre15 :-) From: Rainer Bawidamann - reenabled threshold checking which got inadvertedly disabled in pre15 - cosmetic fixes for MRTG_lib.pm From: Tobi - we die always if we get errors from RRDs - moved read/write confcache functions into MRTG_lib ----pre15------------ From: Tobi - fixed problem with confcache where mrtg did not see that the confcache was already populated and thus repopulated it on every target ... this means that for all Descr / Ip and Eth targets we get a performance improvement of 1000% - fixed problem with calculation targets (adding results from two interfaces and such) this did not get detected properly ... - integrated automatic log to rrd convertor ... if you have configured logformat: rrdtool and and are running for the first time, your old .log file will be converted to the new rrd format of rrdtool. the .log files will not get removed. So that you can compare the old with the new graphs. Note that this is a VERY NEW feature and it may well not yet work exactly as planned ... - replaced the UseRRDtool cfg parameter with logformat: rrdtool. Check the doc/mrtg-rrd.txt file for details. (NOTE: 14all.cgi has not yet been modified to work with this new convention, but Rainer said he will do it in a few adays after his exames) - added -w switch to mrtg, cfgmaker and indexmaker ... found&fixed many little problems in the process - fixed problem with missing space in per and posttargers - Rearanged directory layout to follow more traditional lines. Binaries are in bin/ libraries in lib/mrtg2 - adepted Makfile to also install in these directories - adapted documentation - fixed some issues with cfg reading introduced when splitting mrtg into MRTG_lib.pm - fixed error handling with RRDtool From: William P. McGonigle - if writeexpire has been defined, create one for the index.html file as well From: Kit-pui Wong - fixed alignement of indexmaker graph titles ... From: Miroslaw.Maczka@bze.com.pl - a rateup for NT which produces pngs so finally no mode gifs for NT as well From: Rainer Bawidamann - Documentation for MRTG_lib and some better argument checking for MRTG_lib From: Curtis Doty & Tobi - use FindBin to determine location of modules. Revamped all the library finding code in mrtg - indexmaker fix for filter regexp and some output fixes ----pre14------------ From: Rainer Bawidamann - more flexible config parsing functionality added to MRTG_lib.pm in preparation for a better configurable 14all.cgi due out soon. From: Tobi - fixed NT path issues ... backslash is a bitch in re ... needed to put some \Q and \E in to fix things ... (I am amazed it did run at all befor this hmmm. From: Curtis Doty - fixes some install errors in Makefile.in From: Thomas Brian Granier - NT verion wanted to create "zip" instead for "gif" fixed ----pre13------------ From: Tobi - reworked directory[x]: and general path issues with mrtg ... maybe it works now ... - default graph format for NT is gif (until someone submits a rateup.exe which is compiled with a recent gd) - fixed bug in confcache code which prevented proper matching of non ifnum targets - modified parsing rules for EXEC targets, COMMUNITY and DESCRIPTION ... EXEC backticks can be used inside when escaped like this: \` COMMUNITY space and @ can be used like this \@ and "\ " DESCRIPTION space and : can be used with "\ " and "\:" in all other combinations the \ has no special significance ----pre12------------ From: Tobi - made SNMPv2c queriing work ... the target parser did not properly see :::::2 ----pre11------------ From: Tobi - fixed target nameing in cfgmaker - fixed 'no workdir' error in mrtg - fixed populateconfcache for setups with communities other than 'public' ----pre10------------ From: Tobi - fixed cfgmaker man page to use " for --global delimiters as NT seems to have no clue on '. - added hint on escaping ! to the indexmaker manual - added mrtg version to documentation pages ----pre9------------ From: Tobi - fixed RunAsDaemon Code ... target array should not get deleted between runs. - fixed mrtg target parser for If number 0 case ... ----pre8------------ From: Curtis Doty - fixes for Makefile install routine From: Simon Barnes - fix to test for validty of results from data returned by 'external' targets.It was inverted. From: Tobi - added missing semi colon to indexmaker - added requirement for perl 5.005 to indexmaker and cfgmaker - added part of the PodParser module so that things work with perl 5.005 From: Alex - spell fixes for unix-guide.pod, forum.pod, contrib.pod ----pre7------------ From: Rainer Bawidamann - contrib / version 1.0p16 of 14all.cgi From: Benoit Artuso - images did not get generated in the correct place with the 'directory' option From: Tobi - converted all documentation to pod format and added several new chapters ... - created new mrtg homepage which links all available documentation online - created new installation guides for unix and nt - complete overhaul of the target parser (NOTE: it is NOT a horrible Hack any more ... look at the code (tobi is proud) - along with the target parser I also replaced all the snmpget logic. - calling Interfaces by ifNumber, Ethernet Address, IP Number or Description are all neatly integrated in the code. No more Horrible Hacks. Along with data polling, the Interface nubmers get double checked. If a reconfiguration occures, mrtg automatically gets the new configuration from the router. - MRTG does *NOT* notice config changes on Interface Numbers anymore. This means if you have devices which change interface numbering do not call the interfaces into the mrtg.cfg by number but rather by Description or by Ip. - added new debug facility to mrtg. Different debug levels can now be called by name. Check the beginning of the script. - when using rrdtool, mrtg now also deals with *UNKNOWN* and non integer values. - extracted some functionality of mrtg into an external module called MRTG_lib.pm. This module is now used by cfgmaker and indexmaker. For indexmaker this means that it uses the same cfg parsing engine as mrtg proper. - over all about 30% of mrtg got replaced by brand new and rather clean code. - complete rewrite of cfgmaker ... try cfgmaker --help for instructions cfgmaker can now produce config files with interface identification by Number, Ip, Description and Ethernet Address - complete rewrite of indexmaker ... the old code was broken beyond reason. options are different in the new indexmaker. Use indexmaker --help for help. - added RRDs detection to configure script (--with-RRDs can be used to set a path explicitly ----pre6------------ From: Tobi - added automatic OS detection ... no more editing mrtg - better isolation of graphics format ... ${main::GRAPHFMT} - made imagedir logdir and htmldir work - fixed infinite loop for workdir configs - added $! to most open calls for better error reporting - reviewed and updated install instructions in README From: Ilja Pavkovic - update fuer deutsches locale ----pre5------------ From: Tobi - removed debug output from mrtg ----pre4------------ From: Yovko Lambrev - fixed bulgarian translation From: Rainer and Tobi - added docu for PageFoot to config.pod From: Tobi - extension config did not work ... now it does From: ve@hardcore.lt - update to lithuanian locale From: Tobi - made new options imagedir logdir and htmldir work From: Simon Leinen - some SNMPv2c additions to SNMP_util.pm From: Tobi - added SetEnv[xyz]: option to mrtg.cfg for passing information on to external scripts. From: John Dunning/NS/WSC - added -d option to indexmaker wich makes index.html files go into the directory with the data files for a target From: Matija Grabnar - added RRDtool / 14all.cgi awareness to indexmaker From: CmdrData - contrib nt_n_cisco some tools for running mrtg with ms-sql and cisco gear From: Graziano Sommariva - contrib cfgmaker_dlci From: Rainer Bawidamann - made theshold configs working in connections with UseRRDtool: yes - updated 14all.cgi in contrib to 1.0p13 From: John Lange - contrib: ipchains accounting script with mrtg From: Justin Shore - added comments into generated webpage for easier parsing From: Hui Zhang - added chinese locale gb From: Thomas Lehnig - add new config option 'factor' for scaling the values printed below the graph From: Colin Morey - allow to split images, logfiles, webpages into different directories introduces HtmlDir ImageDir LogDir . From: Chris Knipe - contrib: monitor -- NT/Access/ASP based network monitoring system using mrtg technology. From: Oleg Krotoff - contrib: mrtg-archiver-script From: Ladislav Mihok - slovak translation for mrtg From: Martin Rsjorde - improved norwegian translation From: Michael Med - make complex TZ settings work with rateup in solaris. By copying the localtime data to private memory. From: Walery Kokarev - Added withzeroes option for people who want zero sample considered in their average transfer rate. From: ル、ツ? - simplified chinese locale From: Patrick Koppen - make -r work in indexmaker From: Nick Hilliard - fix for title case in indexmaker (this should take care of the pagetop problem) From: Tobi and Albert Chin-A-Young - added install target to Makefile default prefix is /usr/local/mrtg-2 From: Jodok Sutterluety - added extension option for people who want their pages end in something else than .html From: Zaphod Beeblebrox - bulgarian locale From: "John H. Robinson, IV" - made cfgmaker print interface speed with apropriate units if we think in bits From: Miroslaw.Maczka@bze.com.pl - contrib nt-service: make mrtg a service under NT From: Nathan Wiger - make sure no name gets used twice - all errors from cfgmaker should go to STDERR From: x - contrib snmpping.pl see if a device speaks snmp From: Johannes Demel - fixed minimal hearbeat to be in sync with Interval parameter when using RRDtool From: Simon Leinen - new version of SNMP Session which can do SNMPv2c this allows to poll the ifHC??Octets counters (64Bit) if your router supports them ... No more wrapping in this life or half life anyway. If you specify y:public@router1:::::2 this will poll the HC counters. This will only work if your router supports it ... From: Richard Kwong - fix for ytics in rateup From: Tobi and "Purvis, William" - added nomib2 option to supress 'sysUptime', 'sysName' queriing .... some devices do not support this. From: Matthew Schumacher - update for contrib/cpuinfo From: Rainer Bawidamann - improved rrdtool integration ... From: Tobi - added default for interval in case it does not get set From: Anton Voronin - additional syntax for Target: Target[ezwf]: \My-Interface2:public@wellfleet-fddi.ethz.ch use the interface description From: Jozsef Szilagyi - improved romainan translation From: Alon Goldberg - bugfixes for contrib/diskmon/getdisk.pl From: Steven.Shipway@adsweu.com - contrib routers: CGI frontend to mrtg/RRDtool check example on http://ukpavu99.adsweu.com/cgi-bin/routers.cgi From: ve - pmd file for Lithuanian language From: Miroslaw.Maczka@bze.com.pl - contrib Informix Performance monitoring From: Roddy Strachan - contrib Access-list Monitoring via MRTG From: Clas Mayer - swedish translation From: Simos Xenitellis - improved greek translation From: Christian Rost - spell fixes for german.pmd From: seweryn@anatema.torun.pdi.net - spell fixes for polish translation From: Tobi - shame on me ... all these nice translations and I forgot to update the MANIFEST ... now they are all in ... Changes 2.8.12 -------------- From: Tobi + Hoorelbeke Rik - make -M and -r work in indexmaker From: Levente Nagy - hungarian translation From: Peter Gervai - NoSpaceChar option. Supresses SPACE normally inserted between local value and PRE or APPEND value. From: Francois Wolmarans - new features for cfgmaker --iponly, --options, --workdir From: Tobi Oetiker - 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. From: "[big5] カタェFカゥ" and Tate - bugfix for big5 locale From: knut.groneng@merkantildata.no - bugfix for norwegian.pmd Changes 2.8.11 (2000/01/17) -------------- From: Lucas - it is RunAsDaemon and not RunAsDeamon Changes 2.8.10 (2000/01/16) -------------- From: Rainer.Bawidamann@informatik.uni-ulm.de - update for rrdtool integration 14all.cgi to 0.16 From: Morten S. Nielsen - updated danish translation From: Francois Wolmarans - have cfgmaker put specific comments into the mrtg.cfg file regarding the reason for droping a certain interface .. From: Krister Karlsson - Added RunAsDeamon mode. Start mrtg only once. No Cron necessary. From: Ronald Florence - linux ip-filter integration in contrib From: Iulian Radu - version 2.2 of mrtgmk in contrib From: LLu? Gras - catalan locales From: John Line - rateup.c fix for kMG override bug From: John Line - allow to set ShortLegend to '' From: Tobi - better parsing of PageTop with intexmakers -P option From: Ruben Cheng - fix for spanish translation (uptime had some probmlems) From: Markley P. Dykeman - contrib: switchmaker produces mrtg cfg files for Cisco Catylst 5XXX From: Tobi - made sure -lm comes last when linking ... From: Tobi + Ben - converted remaining gifs to png From: Tobi + Mike Lawrie - make sure AbsMax is not smaller than MaxBytes From: Halldor.Hognason@islandssimi.is - translation to icelandic From: Fuminori Uematsu - added japanese translations for ISO-2022-JP and EUC-JP From: ozgurcd@koc.net - added turkish translation Changes 2.8.9 ------------- From: Rainer.Bawidamann@informatik.uni-ulm.de - update for rrdtool integration 14all.cgi From: Morten S. Nielsen - Added more modular translation system From: Ilja Pavkovic - Added German Translation From: "Tate <ュォ・ヘ>" - Chinese Translation From: John-Mark Gurney - cfgmaker_ip ... keep first address and not last .. From: Assakhof Bin Ab. Satar - Malayan translation From: Tobi - restored mibhelp to its old glory .. From: Jon Rifkin - added ability to index interfaces by physical address analog to the existing IP stuff ... there is now also a cfgmaker_phys From: Lukasz Jokiel - polish translation From: Hideyuki Suzuki - graphing fix for rateup ... From: Matthew Schumacher - cpuinfo contrib From: Paul E. Erkkila - contrib cisco config tftp From: Iulian Radu - updates and bugfixes for mrtgmk v2.0 From: David Boone - fix for -F/-f in indexmaker - fix for view type in indexmaker From: Matthias Cramer - cisco accounting contrib From: Karl Friesen - added -lm to LIBS in configure.in From: Morten S. Nielsen - patching system for languages ... check translate directory From: "Kloberg Mac (LAM)" - NSI (Network Status Imager for MRTG) contrib From: Rawlin Blake - updates for mrtg-archiver Changes 2.8.8 ------------- From: Tobi - fixed problems with RRDs integration ... Changes 2.8.7 ------------- From: Rainer Bawidamann - contrib: RRDtool integration -> contrib/14all From: Xenitellis S - greek locales From: Andrea Rossi - italian locales From: Martin Goebel - better html for indexmaker ... From: "Stieers, Ken" - added a new switch to indexmaker ( [-v d|w|m|y] ) which allows you to select which graphs you get. From: Daniel Haun - indexmaker can now take - as a filename to allow input from stdin - cfgmaker_ip works with IOS 10.0 now (CRLF <=> LF in sysDescr) From: Tobi - allow targets with name of Option entries ... From: Marcelo Roccasalva - contributed spanish locale From: Tobi - added LD_RUN_PATH to make file and configure in support ofr shared libraries ... From: Luiz Felipe R E - fixed gifpath for NT - added brazilian portuguese locales From: Barry van Dijk - added Dutch locales From: calle olsen - updated stat.pl in contrib From: tobi - added -lm do default LDFLAGS From: Daisuke Aoyama - fixes for generated HTML From: Dmitry S. Sivachenko - added russian translation Changes 2.8.6 ------------- From: Philippe.Simonet@swisscom.com - contributed rateup.exe for NT users Changes 2.8.5 ------------- From: Tobi - even better config script Changes 2.8.4 ------------- From: Iulian Radu - new version of mrtgmk contributed (2.1) From: Tobi - fixed indexmaker - udated configure to better check for gd presence ... - added Option unknaszero which turns logging of *unknown* data to logging zero instead of repeating the last value seen. Log unknown data as zero instead of the default behaviour of repeating the last value seen. Be careful with this, often a flat line in the graph is much more obvious than a line at 0. From: Fabrice Prigent & St駱hane Marzloff - french locales Changes 2.8.3 ------------- From: Tobi - fixed MIB reading integration Changes 2.8.2 ------------- From: Philippe.Simonet@swisscom.com - added updated rateup.exe for NT ... - fixed NT *.zip distro ... Changes 2.8.1 ------------- From: Tobi - fixed URL for GD library in documentation .. Changes 2.8.0 ------------- From: Tobi - fixed autoconf system to work with new gd version From: Miguel Vitorino - added -o filename option to indexmaker From: Antonio Querubin - fixed indexmaker to work with -m and -P option in parallel From: Rodrigue Assard - added ytics and yticsfactor options to mrtg/rateup From: Iulian Radu - contributed mrtgmk, a mrtg.cfg file generator ... From: Yozo Toda and and Bernard Quatermass and Tobi - support for gd-1.6.1 ... Depending on the available version of libgd mrtg will be configured for generation png or gif images From: Mike Mitchell - MIB Parsing for mrtg ... the mrtg.cfg file can now countain something like this: LoadMIBs: /usr/lib/mib/cool.mib,/etc/snmp/BOX.mib MIB-II and FrameRelay MIB are preloaded ... For improved efficiency a OID cache is maintained in the WorkDir oid-mib-cache.txt From: Morten Nielsen - Support for different locales in mrtg added ... At the moment the only supported Languages are English and Danish if you want to translate things to your language, edit the locales_mrtg file apropriately. In the mrtg.cfg file you can select your language with the global Language: option From: Cristian Caramida - Contributed mrtg-ipacc script for using Linux IP accounting kernel rules to feed mrtg Changes 2.7.6 ------------- From: Henry Steinhauer - contrib cfgmaker for ATM Bay MIB From: Fred Korz - fixed some typos in config.pod and manual.html Changes 2.7.5 ------------- From: Kari.Hiitola@sonera.fi - make maxbytes = 0 work ... From: Iulian Radu - contrib mrtgmk From: Tomas Pospisek - update for get-multiserial contrib From: "Gellatly, Laurie (x8864)" - contrib: hp openview integration From: Jef Considine - fixed the relative percent y-coordinates in rateup when using bits From: Tim Cimarusti - ciscoindex contribution From: "J. Nick Koston" - allow @ in community names ... From: Steven Micallef - addded diskmon contrib From: Tobi - fixed multiline sysdescr handling in indexmaker - added nt-guide back into the archive ... - fixed the Signal 127 with Exit Value 16777215 problem From: Justin McCann - moved a last malloc to calloc in rateup .. From: Butch Kemper - updated PM3Lines.pl From: Calle Olsen - added stat.pl (DNS monitor) Changes 2.7.4 ------------- From: Alexandre Steinberg - rateup.c made to compile with VC++ 6.0 - new rateup.exe which has no timezone problems added to zip archive. From: Thomas Muggli - NSM - added threshold monitoring functionality Changes 2.7.3 ------------- From: Dima Sivachenko - more squid OIDs for SNMP_util.pm From: Vlado Potisk - reproducable evaluation order by sorting targets ... From: Morten S. Nielsen - fixes for Squid OIDs in SNMP_utils.pm From: "Tony-Farr (Canberra)" - contributed Whodo, a set of Perl scripts to analyse IP accounting data from a cisco. to be found in the contrib direcotry. From: Andreas Papst - fix for y legend in scaling mode with dorelpercent enabled Changes 2.7.2 ------------- From: Brad - Fix for malloc.h warning when compiling on *BSD From: Tobi - Ignore \n at the end of ifDescrs. This was fatal for Reconfig checking From: Ken Stieers - Added -G and -g as arguments to indexmaker Changes 2.7.1 ------------- From: Kevin Sartorelli - SNMP_util.pm cacheCurrentSwapSize should end in 14 From: Andres Kroonmaa - added option transparent to make the background of generated gifs transparent ... - more updates to indexmaker - massive enhancement to cfgmaker to go with ipget patch for mrtg this is experimental code. it is called cfgmaker_ip. - ipget integrated into mrtg. you can now specify an ip address instead of an port number ... From: Horak Daniel - updated ip-get patch From: "Mark D. Nagel" - icondir awarenes for indexmaker From: Alexandre BAUMEISTER - fixed -s /-S options in indexmaker From: Ralf Weber - fixed compatibility problem with SNMP_Session ... undef != -1 !!! Changes 2.7.0 ------------- From: Steve Pierce, Director of Fun @ HDL - new nt install guide ... From: Simon Leinen abd Mike Mitchell - Update to SNMP_Session 0.69 - ability to use @ in community string ... From: Eric Murat little error in subst code fixed ... From: Rory Clancy From: andre@ml.ee Thu Feb 25 21:13:01 1999 * NEW indexmaker ... - accepts multiple config files, (also wildcards) - options allowed per config-file (options between filenames) - now handles global Directory[^] tag - optional 2-column layout - unsorted target sequencing, optionally numbered - option to specify bacground color - option to specify overview graphs sizes - few options to increase/decrease bells an whistles From: Anri Kopystyansky * correct squid OIDs for cacheHttpInKb cacheHttpOutKb cacheICPpktsSent cacheICPpktsRecv From: Simon Leinen * new version of SNMP_Session and friends ... Changes 2.6.5 ------------- From: Norman Aronsen * added space after #! in perl scripts this is more portable From: "riocat(^..^)~" * Japanese translation of mrtg docu added ... From: Robert Allmeroth * relaxed SNMP_Session.pm s requirements for SNMP response consistancy so that error-index gets disregarded when error-status is 0 From: "Tony-Farr (Canberra)" * contributed script that extracts summary figures from the MRTG log files. Because it uses Excel, it is only useful on Windows. From: Eric Billeter * contrubuted some scripts he modified to monitor the modem utilization of my USR Total control racks. From: Alberto Pasquale * optional handling of two different MaxBytes settings: MaxBytes1/MaxBytes2 Changes 2.6.4 ------------- From: Dimitar Kazakov * Updated mrtg-ipget patch for SNMP_util.pm compatibility From: Tobi * readhist now uses unsigned longint when reading in the log file this might speed up things slightly ... * added warning, that dorelpercent requires 5 colours ... Changes 2.6.3 ------------- From: Tobi added joey millers contribs (jm) to contrib tree made website more mirror friendly updated nt-guide thanks to Steve Price fixed squid OIDs in SNMP_util.pm ... thanks Michael Riedel properly integrated rateup binary for NT ... just get the mrtg zip archive ... improved cfgmaker thanks to Joerg Schumacher ... fixed mapping problems ... Changes 2.6.2 ------------- From: Tobi fixed quotes in indexmaker fixed configure.in --with-gd-*= was not working ... fixed version number fixer for distribution im Makefile.in From: Blair Zajac fixed html im indexmaker and mrtg Changes 2.6.1 ------------- From: Tobi fixed stupid bug in connection with bits option ... the numbers below the graph were not calculated correctly .. Changes 2.6.0 ------------- From: Tobi cleaned up distribution added configure script changed cfgmaker to use ipaddress as name for targets From: Simon Leinen integration of the SNMP_util and the latest SNMP_session interestingly enough this can make things much faster on occasion ... new version of cfgmaker which uses gettable ... From: oliver.haid@tilak.or.at mrtg-conf.pod fixes, #a0a0a0 and integer option rateup.c added better scanning of legend argument From: Andreas Papst dorelpercent kMG kilo improvements for perminute perhour some OIDs for SQUID 2.0.RELEASE From: Matija Grabnar I implemented a patch that displays the per-hour rate instead of the per-second rate. It is triggered by including "hourly" in the options line. The patch has worked satisfactorily on our site (used when measuring cache access and news server article counts) I find it better than simply multiplying the sample values, because it takes into account the actual time that passed between the samples. Changes 2.5.4c -------------- removed <> in the end function for perl 5.005 compatibility Changes 2.5.4b -------------- Documentation Update ... all the info about simons changes for 2.5.4 were missing ... Changes 2.5.4a -------------- fixed fatal comma in cfgmaker .. Changes 2.5.4 ------------- From: Russell Carleton almost 100 new interface types for cfgmaker ... From: "Tony-Farr (Canberra)" better matching for cisco version number in cfgmaker From: Ricardo Bravo improved matching of regexp indexmaker From: yours truely made external commands driver cut whitespace from the the front and back of external commands output fixed longstanding bug in diff function ... 0 - 10 did not work From: Henning P . Schmiedehausen Correct behaviour if the child process has already terminated before mrtg goes to wait for it ... From: Daniel Trinkle Error message if the cfg file can not be opened ... >From Simon Leinen better configurability of SNMP timeouts ... >From Jean-Luc RICHIER (Jean-Luc.Richier@Imag.Fr richier@imag.fr) 1/ If there is a ' in an external target description (within `), mrtg dies with eval problems. (I needed ' to protect spaces). This comes from a substitution in the target, which tries to convert the target in a perl string, quoted with '. Therefore a ' in the target causes a badly quoted string. 2/ The second problem is a lock problem : if mrtg fails (for example due to the ' problem above), the two lock files CFG_l et CFG_l_$$ are kept, which forbid to restart mrtg. I think that at least the lock file CFG_l_$$ should always be destroyed. If this is done, the second lock will only have 1 link, so it is discarded. Changes 2.5.3 ------------- * more consistant handling of pre and postfix settings in cfg files and lots of fixes to the manual ... thanks to Mark Martinec * correct handling of ifDescrs which contain an = sign ... * better sanitizing of calculated target values * fixed overflow bug with maxx in rateup * BER.pm up to 0.57 SNMP_Session.pm up to 0.58 * fixed writeexpires ... Changes 2.5.2 -------------- * removed NT cron from readme.html ... just too many problems with it ... * make sure no two mrtgs are running at the same time. Locking code for UNIX by Dave Rand, for NT by Tobi (I don't know about NT ...:-) ) testing for the NT version was done by Henry Steinhauer thanks ! * updated to SNMP_Session and BER.pm to their latest versions. * updated get-active contrib From: Wee-Meng LEE * cpumon contrib by Matthew Ramsey * cfgmaker patch from Mike Diehn mdiehn@mindspring.net to make it get Cisco PVC descriptions * Updated mrtg-dynip to 0.41b * mrtg.cfg-dist is now mrtg-conf.html thanks to Matija Grabnar * typo in error messages when external gatherer returns invalid data. Changes 2.5.1 ------------- * Percentages in HTML pages was 8 time to high with the bits option Changes 2.5 ----------- * we want perl 5.003 now. older versions have problems with large numbers ... * better cisco scanning added to cfgmaker ... Carlos Canau * actually remove whitespace at the end of the line ... * BER.pm and SNMPSession.pm with version numbers ... * rewrite of the mailstats script from Petter Reinholdtsen * do only draw the maxbytes line if it is within the actual graph. * NT portability fixes for rateup.c * contrib from Emanuele Leonardi: Script to archive the daily stat-gifs to a separate directory every night ... * fix for Timezone handling ... * another attempt to fix overflows ... and strange behavior of sprintf ... * fixed handling of SNMP errors * Updated SNMP_Session.pm to 0.51 (Better Error Reporting) * made cfgmaker ignore cisco E1 controllers, as their if-descriptions seems not to be reported properly by IOS .... patch from Josh Bailey (mailto:joshb@xtra.co.nz) * Added README.logfile-format by Butch Kemper * update mrtg-pingprobe thanks peter * added atmmaker by Mark Trettin to the contrib section. this is a cfgmaker variant which generates cfgs for the FORE ASX * its suppress and not suppress. Changed this and added backward compatibility. * From: Niels : added Option[] Integer which suppresses the decimal part the summary line below the graphs ... * added --vendor switch to cfgmaker. This enables and disables the vendor specific queries ... * added contrib from Carlos Canau It allows one to make a graph of analog/ISDN lines on a Livingston Portmaster 3. (PMLines) * fixed a longstanding bug where rateup was skewing at log entries not aligned with the normal sampling interval. This happened when ever the NEXT macro was going from one sampling interval onto another one ... thanks to Lane Patterson of GlobalCenter ISI , Erwin Authried and Ari Lewitter * further improved the accuracy for large installations. Mrtg does now get a timestamp down with every reading taken from a router. If we are running a simple target, this timestamp is passed along to rateup with the t option * ircstats contrib by Matt Ramsey added ... * fixed 'current time' passing from mrtg to rateup ... * much improved handling of 'first run' * output for cfgmaker is now sorted alphabeticaly .. (Andres Kroonmaa) * added mrtg-dynip contrib from John Heenan, providing support for environments with dynamic IP addersses ... * Added Contrib to mibhelp.txt * check the output of external gatherers. Are we really being fed a number? * Added PageFoot[] configurable ... Changes 2.4.1 ------------- * fixed external command bug Changes 2.4 ----------- * fixed IconDir ... Carlos Canau * mrtg.cfg-dist debugged and rewritten ... Paul FIscher * mod_expire tip from Stephane Bortzmeyer added to mrtg.cfg-dist * mrtg: large values are not handled by int any more but rather by sprintf "%.0f" * mailstat fixes by Petter Reinholdtsen * added nopercent option as suggested by Frank van Wensveen * added contrib by Philippe.Simonet@SWISSTELECOM.com a c-program to create gifs showing the traffic distribution over time real neat ... Thanks ... * changed chops in mrtg to chomp calls just in case ... * fixed 'external' command parsing in target lines ... Changes 2.3 ----------- Added IconDir configurable, for people who want to keep the mrtg logo in a central location. As suggested by James FitzGibbon Made the period var a double in rateup.c as suggested by Dave Added patch from Paul to cfgmaker now it will try to figure the speed of an interface .... Stooped mrtg from aborting on non existing HOST names Warn on Duplicate CFG entries. Customizable week number thingy from Simon Leinen rateup fix for FreeBSD: FreeBSD does not need malloc.h included. From: Ulf Zimmermann Fix for time chitter by Dave ... new pingprobe from Peter W. Osel relaxed parsing of keywords. ther can be a space before the colon .... as sugested by Samath >From mcm@unx.sas.com Tue Jun 3 07:43:38 1997 Cheanged rateup.c so that it will start scaling the graphs when the datarate is higher than MaxBytes, if the AbsMax value is set. Even when it is operation in unscaled mode ... I also changed 'indexmaker' to allow me to pass in a title, and to support the 'Directory' option in the configuration file. From: Jay Soffian Wed, 04 Jun 1997 15:34:01 -0400 Added new configurables XScale[], YScale[] to really enlarge the graphs and not just make their pixels larger ... Added configurable Step[] to allow for shorter base periods different from 5 Minutes ... But beware, this is NOT supported ... and its likely that you will run into problems ... Updated to latest version of SNMP_Session.pm This will work fine with perl5.002 and above. BUT not with perl 5.001 !!! so if you are still using an old version of perl, use SNMP_Session.pm-for-perl5.001 2.2 --- Added Contribution from Anthony Rumble. For gathering stats for apache webservers and squid proxies From: T. Pospisek SHELL scripts to get active tty(-dial-in modem-) lines localy and remotely. I'm using them with a cyclades board but they can be adapted at wish to different tasks. made graphs in indexmaker generated pages clickable ... leewm@sgp.hp.com added contributet script for gatherig portmaster stats added mrtg-blast contrib from Balthasar T. Indermuehle made mrtg observe order of routers in cfg file .... as suggested by Mick Ghazey Added GetSNMPLinesUP to contrib ... from Carlos Canau this is for monitoring Modembanks ... Added timezone configurable to set a timezone per router. Details in mrtg.cfg-dist as suggested by Jun (John) Wu Added MaxBytes check .... Fixed portability problem of Makefile under IRIX Added sendmail stats contrib from Rachel Polanskis 2.1 --- Added 100BaseVG iftyp to cfgmaker Fixed rounding Bug in rateup.c which caused it to scale graphs with small values incorrectly ... Added rdlog2 by Phillip Simonet. This tool transforms a xfig network map into a clickable gif with colorcoded representation of the current load of your network links. The information for the colorcoding is taken from the mrtg log files. From: "Peter W. Osel" A perl script to get roundtrip delays to hosts by sending a ping to them. Added to contrib. Allowed any character except @ and \s to be used in a community string ... Fixed two instances where variables were declared twice (my($var)) within the same scope. Late perl5.003 versions do not like that ... and it was wrong anyway. This happens both in SNMP_Session.pm and mrtg When using the Directory option in connection with [^] a stray space gets added to the path. This is now removed with s/\s//g ... spaces in path names are stupid anyway. 2.0.1 ----- Fixed ascendget script