/usr/share/doc/mrtg/examples/00INDEX is in mrtg-contrib 2.17.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 | The files in this direectory have been contributed to mrtg ... If you have
questions in connection with these please contact the authors ...
adm-mrtg
--------
From: "Ripley, Scott" <Scott.Ripley@mail.house.gov>
This script organizes config files for MRTG
and restarts the MRTG processes cleanly.
mrtg_php_portal
---------------
From: Damien <damien@detonate.net>
Perl and Php script to provide a 'user-friendly' web interface of
adding/removing Mrtg polled hosts
iptables_acc_snmp
----------------
From: HERITIER Hervé <hh@handco.org>
simple script to capture iptables counter on Linux 2.4 for use with snmpd
apc_ups
-------
From: Klaus_Klein@mckinsey.com
PERL script to extract the load % and remaining battery time from
APC UPS systems.
cisco_BPX_MGX
-------------
From: "Newman, Daniel" <NewmanD@telergy.net>
Here is an howto on monitoring Cisco BPX and MGX switches with MRTG.
mrtg.php
--------
From: David Boyer <Boyer_D@glan-hafren.ac.uk>
Live Index of all log files
TTrafic
-------
From: David A. Pérez <david@kamborio.com>
"TTrafic is a small VBScript to analyse MRTG (http://www.mrtg.org/) log
files. By using this script, you will be able to know which amount of
traffic is going through your interfaces."
iptables-accounting
-------------------
From: "Gill, Vern" <vgill@technologist.com>
I have "hacked" together a module for iptables. I used the ipchainacc
1.1.0 from the contrib directory.
Total Control Modem CFG
-----------------------
From: Fernando Braghetto - Webmaster Hiway <webmaster@hiway.com.br>
config sample for Control Modem Racks (3Com) to do user monitoring.
routers
-------
From: Steven Shipway <Steven_Shipway@adsweu.com>
check out http://www.cheshire.demon.co.uk/pub/
for about 1000 neat tools for mrtg & rrdtool
stfc
----
From: Mihai Claudiu Capatina <mihai.capatina@aignet.ro>
This is a small script that I use on FreeBSD machines running ALTQ
This machines acts like a traffic management system and I need to see
the traffic for each class ( CBQ )
gentgucci
---------
From: Kevin Benton <s1kevin@sotatech.net>
generate configs for 3com total control chassis
procmem
-------
From Dimitrios Stergiou <dste@intranet.gr>
Cisco CPU & Memory monitoring
iptables_acc
------------
From: Gereon Ruetten <g.ruetten@gmx.de>
i wrote a little script for using mrtg with iptables
ipchainacc
----------
From: Ilya Konstantinov <future@galanet.net>
I have tweaked version on the ipchainacc perl script provided in MRTG's contrib for
which accounts BYTES instead of PACKETS
net-hosts
---------
From: Adrian Turcu <adi@cfrcta.ro>
monitor internet connection state on a chosen route (from traceroute)
mrtgrq
------
From: Adrian Turcu <adi@cfrcta.ro>
This script helps to monitor the amount of disk-space
quota for each e-Mail user on the system. It allows to
acquire statistical data for each of user.
linux_stat
----------
From: Mike Machado <mike@cheapnet.net>
simple script to get the current traffic off a linux box
nt_n_cisco
----------
From: CmdrData <CmdrData@ex-pressnet.com>
running mrtg on NT and SQL db monitoring Cisco gear ...
cfgmaker_dlci
-------------
From: Graziano Sommariva <Graziano.Sommariva@elsag.it>
a modified version of the cfgmaker for people who want to
monitor DLCIs
ipchains
--------
From: John Lange <john.lange@darkcore.net>
ipchains accounting script for use with MRTG
monitor
-------
From: Chris Knipe <cgknipe@mweb.co.za>
NT/Access/ASP based network monitoring system using mrtg technology.
mrtg-archiver-script
--------------------
From: Oleg Krotoff <krot@tnsplus.kz>
I have written a script, that allows to archieve graphs,
produced by MRTG, organize and index them. CGI-script
for navigation through archive is enclosed.
get-equi
--------
From: Mike Gaertner <miky@forum.org.kh>
The Equinox SST card does not provide SNMP support. Therefor I wrote a
small perl script which reads out the byte counter from the Equinox SST
board.
nt-service
----------
From: Miroslaw.Maczka@bze.com.pl
make mrtg a service under NT
snmpping
--------
From: x <tomm02@yahoo.com>
see if a device speaks snmp
IxDisk
------
From: Miroslaw.Maczka@bze.com.pl
Informix Performance monitoring
accesslistmon
-------------
From: Roddy Strachan <roddy@satlink.com.au>
Access-list Monitoring via MRTG
mrtglog
-------
From: Vladimir Vul <vul@bds.ru> and Wolfgang Hoffmann <woho@netpark.at>
This simple prog counts total traffic for given period, parsing mrtg logs.
meminfo
-------
From: Colin Tinker <g1gsw@linux.g1gsw.ampr.org>
This one checks /proc/meminfo for the used
and free memory parsing it out for MRTG.
ipfiler
-------
From: Ronald Florence <ron@18james.com>
This script comes handy to interface ip-filter, a superb kernel-level
packet-filtering router/firewll for Unix and Linux (
http://coombs.anu.edu.au/~avalon/ip-filter.html ). The script graphs
connections through the firewall.
switchmaker
-----------
From: Markley P. Dykeman <mdykeman@micron.net>
Switchmaker will make an mrtg config file for a Cisco Catylst
5XXX switch.
cpuinfo
-----------
From: Matthew Schumacher <schu@schu.net>
A short perl script that I wrote that will monitor system and user CPU usage
on linux and sun machines that I would like to contrib.
cisco_tftp
----------
From: Paul E. Erkkila <pee@gblx.net>
This code will ask a cisco router to tftp it's config..
cisco_ipaccounting
------------------
From: cramer@dolphins.ch
gets IP-accounting data from a Cisco Router
NSI (Network Status Imager for MRTG)
------------------------------------
From: "Kloberg Mac (LAM)" <mac.kloberg@lam.liebherr.com>
Present network status on a map ...
14all
-----
From: Rainer Bawidamann <Rainer.Bawidamann@informatik.uni-ulm.de>
Generates mrtg graphs on the fly. Uses RRDtool for graphing and logging. Needs
UseRRDTool: Yes in mrtg.cfg ...
mrtg-ipacc
----------
From: Cristian Caramida <brick@bbs.ro>
Using Linux IP accounting kernel rules to feed mrtg
mrtgmk
------
From: Iulian Radu <iulian_r@starnets.ro>
"mrtgmk" is a program that scan a .cfg file and generate a mrtg.cfg
style file + a .html file with links to the .html files generated by
mrtg.
cfgmaker_cisco
--------------
From: Jon Snyder <JON@PDX.EDU>
CFGMAKER which instead of just returning an incrimenting port number on the
graps, actually makes the following type of lable: Port 4/3, Vlan 128 ,
multi mode fiber fast ethernet
This version also grabs and shows all non-VLAN1 VLANS in a different color,
plus provides aggregate VLAN traffic stastics as well by finding out what
ports are in the VLAN, then adding those ports together. This means of
course that a port will be "hit" however many times it is in a VLAN.
cfgmaker_atm
------------
From: Henry Steinhauer <H1STEINH@hewitt.com>
Bay ATM Information created from their MIB.
OVmrtg
------
From: "Gellatly, Laurie (x8864)" <laurie.gellatly@vodafone.com.au>
HP OpenView integration for MRTG ...
CiscoIndex
----------
From: Tim Cimarusti <cimarust@mercernet.com>
This PERL script will read in the a Cisco router config file
created by the "write network" command and create a HTML index
for it's interfaces that corresponds with MRTG.
DiskMon (getdisk.pl and showdisk.pl)
------------------------------------
From: Steven Micallef <smic@wire.net.au>
Well, here's the scripts I use for graphing disk space on the hosts on our
network.
stat.pl
------
From: Calle Olsen <calle@volvo.se>
this little perlscript helps to monitor your dns server
whodo
-----
From: "Tony-Farr (Canberra)" <Tony.Farr@austrade.gov.au>
Whodo is a set of Perl scripts to analyse IP accounting data from a cisco
router. The stats for each traffic source are fed into mrtg. Whodo also
generates pie graphs showing traffic split by source or destination.
xlsummary
---------
From: "Tony-Farr (Canberra)" <Tony.Farr@austrade.gov.au>
The script extracts summary figures from the MRTG log files. In particular
it summarises all sites (i.e. as many as will fit on a page) into a single
Excel chart. Because it uses Excel, it is only useful on Windows.
TCH
---
From: Eric Billeter <ebilleter@cableone.net>
Here are some scripts i modified to monitor the modem utilization
of my USR Total control racks.
jm
--
From: Joey Miller joeym@inficad.com
a few perl scripts I wrote to collect stats on: # of users logged into a
given shell machine, # of players on a quake server, and # of users
currently reading news.
get-active
----------
get-active From: Russ Wright <Wright@LBL.Gov>
get-active2 From: Wee-Meng LEE <leewm@hpsgmx18.sgp.hp.com>
This will look at the $trafficDir directory for MRTG generated HTML
files, parse them and generate a listing of the most active interfaces
in a file called "active.htlm" in the same directory
cpumon
------
From: Matthew Ramsey <mjr@blackened.com>
I use this script to monitor cpu usage on any process that
maintains a pid file.
mrtg-dynip
----------
From: John Heenan <johnhe@syd.net.au>
Mrtg-dynip is a contribution to mrtg, enabling mrtg to generate multi
interface traffic graphs for various hosts which do not provide a
consistent interface name for physical interfaces, such as in a dynamic IP
environment.
ircstats
--------
From: Matt Ramsey (MR227) mjr@geeks.org, mjr@nin.com
ircstats.pl is the simple perl script I use to monitor client
loads and such on various EFnet IRC servers.
ircstats2
---------
From: Lucas Nussbaum <lucas@ians.be>
ircstats2.pl is a script used to monitor the user load on IRC networks.
Contrary to ircstats by Matt Ramsey, it remains connected to the server.
PMLines
--------
From: Carlos Canau <canau@dawn.EUnet.pt> and Many others
Here's another script for contrib. It allows one to make a
graph of analog/ISDN lines on a Livingston Portmaster 2/3/4.
atmmaker
--------
From: Mark Trettin <mkt@lucent.com>
I am sending a copy of our atmmaker script that generates a cfg
for the FORE ASX switch you may add it to your contrib section.
distrib
-------
From: Philippe Simonet <sip00@vg.swissptt.ch>
'distrib' read mrtg log files and computes traffic distribution in
the time. It ouputs a graph with :
- in x the percentage of trafic utilisation (% bandwith)
- in y how many times the utilization was reached (% time)
rdlog2
------
From: Philippe Simonet <sip00@vg.swissptt.ch>
Rdlog is a small (and primitive) tool that gives indication on network
traffic on a graphic map. It takes information from MRTG log files, and draw
a GIF file with links that have colors based on the current traffic on your
network. This small test explain how to use this tool.
mrtg-ipget
----------
From: Jim Willette <mailroom@ctec.net>
I have modified mrtgV2 to record stats based on interface ip address instead
of Interface number. It does not do all the great errorchecking and no OS
testing but it is functional for my needs.
mrtgidx
-------
From: Axel Dunkel <ad@Dunkel.de>
mrtgidx works like makeindex but the output produced looks different ...
ascendget
---------
From: John-David Childs <jdc@ism.net>
SHELL SCRIPT TO GET # of connected users on Ascend
use Target[router]: `ascendget`
get-multiserial
---------------
From: T. Pospisek <tpo@spin.ch>
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.
use Target[modems]: `get-multiserial`
ping-probe
----------
From: "Peter W. Osel" <pwo@hl.siemens.de>
A perl script to get roundtrip delays to hosts by sending a ping
to them.
rumb-stat
---------
From: Anthony Rumble <anthonyr@ce.com.au>
Heres some handy scripts to get byte stats from apache (web server) 1.1.1
and better and squid (proxy server) 1.1.1 and better.
portmaster
----------
From: Chris Johnson <admin@nantucket.net>
Subject: MRTG for portmasters
A script and config to produce Modem statistics for Livingston
Portmasters.
mrtg-blast
----------
From: "Balthasar T. Indermuehle" <bi@inside.ch>
This is a tcpblast interface available for MRTG 2.1. It works much like
the famed ping-probe, instead of ping it uses tcpblast to estimate
network bandwidth.
GetSNMPLinesUP
--------------
From: Carlos Canau <canau@dawn.EUnet.pt>
GetSNMPLinesUP.pl checks some SNMP variables for a certain value and
returns their sum in a format used to feed values to MRTG.
mrtgindex.cgi
-------------
From: Mick Ghazey <mick@lowdown.com>
like mrtgindex, but runs as a cgi. Thus it will not need SSIs ...
mrtg-mail
---------
From: Rachel Polanskis <r.polanskis@nepean.uws.edu.au>
plot sendmail mailstats with mrtg
there is a second version bz rick horowitz in the directory as well
mrtg-archiver
-------------
From: Emanuele Leonardi <Emanuele.Leonardi@roma1.infn.it>
From: Rawlin Blake <blake@nevada.edu>
It wakes up at 23:54 every night and copies all the current daily gifs
for the given list of routers to a directory named with the current date
(e.g. 970717). The Perl code is extremely straightforward so there
should be no problem in understanding it.
|