INDEXMAKER(1)
πΈ NAME πΈ
indexmaker β creates index files for mrtg web sites (this is the mrtg-2.17.10 manual, bestie π)
π¦ SYNOPSIS π¦
indexmaker [options] mrtg.cfg [other.cfg ...]
β¨ OPTIONS β¨
--output=filenameβ sets the output filename (default: stdout). no file? it just screams into your terminal π--filter title=~regexpβ hand-pick targets by matching a regexp against their titles--filter pagetop=~regexpβ hand-pick targets by matching a regexp against pagetop--filter name=~regexpβ hand-pick targets by matching a regexp against name--addhead=textβ drops this text in between</TITLE>and</HEAD>--title=textβ sets the title of the generated index file--subtitle=textβ adds a subtitle to the generated index file, cute--bodyopt=textβ sets the body tag options--headlevel=numberβ uses<Hnumber>at the top of the page (default: 1)--pagetop=textβ inserts this text between<BODY>and<H1>...</H1>--pageend=textβ inserts this text after the main body--pagetopend=textβ uses this text for pagetop or pageend if undefined--nolegendβ do not add the Mrtg legend at the end of the page--columns=numberβ shows graphs in a table with x columns (default: 2)--perhostβ shows graphs of the same host on a row--compactβ tries to make a vertically more compact page--optlogβ logs the used command line in the page (default: log)--sort=titleβ sorts graphs by title--sort=nameβ sorts graphs by their name--sort=descrβ sorts graphs by their description--sort=originalβ leaves them as is (default)--enumerateβ adds a sequence number to the title of each graph--picfirstβ places pictures before text (default: text first)--width=numberβ sets the width of graphs (default: not set)--height=numberβ sets the height of graphs--sidebysideβ places text / pictures side by side (default: above/below)--boldβ uses bold text (default: bold)--clicktextβ makes the text link to the inner page (like the image)--show=dayβ picks which graph to show in the index (default)--show=weekβ same but the week one--show=monthβ same but the month one--show=yearβ same but the year one--show=noneβ shows literally no graph, images fully suppressed--section=h1β uses the h1 tag from pagetop as the section heading (default)--section=titleβ uses the title as section headings for graphs--section=nameβ uses the graph name as section heading--section=descrβ uses the graph description as section heading--section=ifnameβ uses the interface name (ifName) as section heading--section=portnameβ uses the port name entry in pagetop as section heading--sectionhostβ tries to prepend the host to the section heading if it's missing--rrdviewer=pathβ path to rrdviewer (default:/cgi-bin/14all.cgi)--icondir=pathβ path to icondir--prefix=pathβ path from the location of theindex.htmlto the graphs--headeradd=stringβ adds string to the html page header--autoprefixβ tries to set the prefix automatically--<opt>-file=fileβ reads the string argument for option<opt>from a file
π« DESCRIPTION π«
okay so the whole vibe here is: Indexmaker can create web pages which display the status of an array of mrtg interface status pages. iconic behavior honestly π
--output filenameβ sets the output filename (default: stdout)--filter (title|pagetop|name)(=~|!~)regexpβ you can set several filters, like stack them up. each filter can match against the contents of a specific section of the mrtg config file.namerefers to the bit in square brackets (option[name]: bla).
depending on the match operator you pick (=~ or !~), the match will be positive or negative.
heads up bestie: some shells treat!as a special character π you may need to type\!~instead.
--title textβ sets the title of the generated index file (default: regexp)--bodyopt textβ the value of this argument gets appended to the<BODY>tag. this lets you set document colors. by default this option is set to:
bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#000000"
--columns numberβ displays graphs in a table withnumbercolumns (default: 2)--sort title|name|descr|originalβ sorts the graphs in the page either by title, by name, by interface description, or leaves them as is.--enumerateβ adds a sequence number to the title of each graph--width numberβ sets the width of graphs--height numberβ sets the height of the graphs--show day|week|month|year|noneβ selects which graph to show in the index page. you can suppress images completely with--show=none. periodt.--section h1|title|name|description|portnameβ selects what to use as the title for each graph in the page.h1is the H1 section from pagetop,titleis the graph title,nameis the bit in square brackets (option[name]: bla), anddescrordescriptionis the text from the Description field of the PageTop (the Cisco description text if it's available, otherwise just the interface description).portnameis the"Port Name:"from pagetop.--sectionhostβ extracts the hostname from the target line (this does not work if the target is a mathematical expression). prepends the hostname (and a colon) to the section if it's not already there.--rrdviewer pathβ if you've set theLogFormat: rrdtoolproperty in themrtg.cfgfile, the index will take that into account. the only thing you have to tell it is the path to your grapher cgi. (default:/cgi-bin/14all.cgi)--prefix pathβ by default we assume that the file generated by indexmaker is stored inWorkDir. if you want to store it somewhere else, specify how to reachWorkDirfrom the place where the Index is stored. note that you have to use/as the path separator, since this will be used in urls. speaking of which β you can even enter a whole url. slay π--autoprefix pathβ requires--output. tries to generate the prefix automatically by comparison of the path to the output file set with--outputand theHtmldirset in the configuration files. particularly useful when multiple configuration files are specified, with differentHtmldirsettings.--optlogβ default is logging the command line in the generated page; suppress it with--nooptlog. useful if the commandline contains a complex--pagetop=stringwhich could confuse simple browsers.--someoption-file filenameβ for anysomeoptionwhich takes a string as parameter, you can read the string from a file by adding<-file>to the option keyword. the whole content of the file will be read and used as the string. the file must exist.
π AUTHOR π
Tobias Oetiker <tobi@oetiker.ch> β the main character who wrote this fr fr
π LICENSE π
GNU General Public License
π COPYRIGHT π
2000-2001 Tobias Oetiker <tobi@oetiker.ch>
and that's the whole thing bestie π this was INDEXMAKER(1) from mrtg 2.17.10, dated 2022-01-19 β go make some index files, you got this π«Άβ¨
π¦ where this page comes from
- alpine 3.22: mrtg-doc 2.17.10-r1 Β· GPL-2.0-or-later
- alpine 3.23: mrtg-doc 2.17.10-r1 Β· GPL-2.0-or-later
- alpine 3.24: mrtg-doc 2.17.10-r2 Β· GPL-2.0-or-later
- centos-stream 10: mrtg 2.17.10-13.el10 Β· GPL-2.0-or-later
- debian bookworm: mrtg 2.17.10-5+deb12u2 Β· GPL-2.0-or-later
- debian trixie: mrtg 2.17.10-13+deb13u2 Β· GPL-2.0-or-later
- fedora 43: mrtg 2.17.10-12.fc43 Β· GPL-2.0-or-later
- fedora 43: mrtg 2.17.10-13.fc43 Β· GPL-2.0-or-later
- fedora 44: mrtg 2.17.10-13.fc44 Β· GPL-2.0-or-later
- fedora 44: mrtg 2.17.10-14.fc44 Β· GPL-2.0-or-later
- nixos 26.05: mrtg 2.17.10
- nixpkgs unstable: mrtg 2.17.10
- ubuntu jammy: mrtg 2.17.10-3 Β· GPL-2.0-or-later
- ubuntu noble: mrtg 2.17.10-12 Β· GPL-2.0-or-later
- ubuntu questing: mrtg 2.17.10-13
- ubuntu resolute: mrtg 2.17.10-14 Β· GPL-2.0-or-later
- ubuntu stonking: mrtg 2.17.10-16 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms