indexmaker - Creates index files for mrtg web sites (mrtg-2.17.4)


   indexmaker [options] mrtg.cfg [other.cfg ...]


    --output=filename   set output filename (default: stdout)

    --filter title=~regexp  select targets by matching regexp against titles
    --filter pagetop=~regexp  select targets by matching regexp against pagetop
    --filter name=~regexp  select targets by matchin regexp against name

    --addhead=text      insert this text between </TITLE> and </HEAD>
    --title=text        set title of generated index file
    --subtitle=text     add a subtitle to the generated index file
    --bodyopt=text      set body tag options
    --headlevel=number  use <Hnumber> at top of page (default: 1)
    --pagetop=text      insert this text between <BODY> and <H1>...</H1>
    --pageend=text      insert this text after the main body
    --pagetopend=text   use this text for pagetop or pageend if undefined
    --nolegend          do not add the Mrtg legend at the end of the page

    --columns=number    show graphs in a table with x columns (default: 2)
    --perhost           show graphs of the same host on a row
    --compact           try to make a vertically more compact page
    --optlog            log the used command line in the page (default: log)

    --sort=title        sort graphs by title
    --sort=name         sort graphs by their name
    --sort=descr        sort graphs by their description
    --sort=original     leave as is (default)

    --enumerate         add a sequence number to the title of each graph

    --picfirst          place pictures before text (default: text first)
    --width=number      set width of graphs (default: not set)
    --sidebyside        place text / pictures side by side (default: above/below)
    --bold              use bold text (default: bold)
    --clicktext         make the text link to the inner page (like the image)

    --show=day          pick which graph to show in the index (default)

    --section=h1        h1 tag from pagetop as section heading (default)
    --section=title     title as section headings for graphs
    --section=name      graph name as section heading
    --section=descr     graph description as section heading
    --section=portname  port name entry in pagetop as section heading
    --sectionhost       Try to prepend the host to the section heading if missing

    --rrdviewer=path    path to rrdviewer (default: /cgi-bin/14all.cgi)
    --icondir=path      path to icondir
    --prefix=path       path from the location of the index.html to the graphs
    --headeradd=string  add string to the html page header
    --autoprefix        try to set prefix automatically

    --<opt>-file=file   read string argument for option <opt> from file


   Indexmaker can create web pages which display the status of an array of
   mrtg interface status pages.

   --output filename
       set output filename (default: stdout)

   --filter (title|pagetop|name)(=~|!~)regexp
       Several filters may get set.  Each filter can match agains the
       contents of a specific section of the mrtg config file. Name refers
       to the bit in square brackets (option[name]: bla).

       Depending on the match operator chosen (=~ or !~) the match will be
       positive or negative.

       Note that some shells consider ! a special character.  It may be
       necessary to type \!~ instead.

   --title text
       Set title of generated index file (default: regexp)

   --bodyopt text
       The value of this argument gets appended to the <BODY> tag. This
       allows you to set document colors.  By default this option is set

        bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#000000"

   --columns number
       Display graphs in a table with number columns (default: 2)

   --sort title|name|descr|original
       Sort the graphs in the page either by title, by name, by interface
       description, or leave them as is.

       Add a sequence number to the title of each graph

   --width number
       Set width of graphs

   --height number
       Set the height of the graphs

   --show day|week|month|year|none
       Select which graph to show in the index page. You can supress
       images completely with --show=none.

   --section h1|title|name|description|portname
       Select what to use as the title for each graph in the page.  h1 is
       the H1 section from pagetop, title is the graph title, name is the
       bit in square brackets (option[name]: bla), and descr or
       description is the text from the Description field of the PageTop
       (the Cisco description text if it's available, otherwise just the
       interface description). portname is the "Port Name:" from pagetop.

       Extract the hostname from the target line (this does not work if
       the target is a mathematial expression). Prepend the hostname (and
       a colon) to the section if not already present.

   --rrdviewer path
       If you have set the LogFormat: rrdtool property in the mrtg.cfg
       file, the index will take this into account. The only thing you
       must tell it is the path to your grapher cgi. (default:

   --prefix path
       By  default we assume    that  the file generated by indexmaker is
       stored in WorkDir.  If you want to  store it somewhere   else,
       specify how to reach WorkDir  from  the place where the Index is
       stored. Note that you have to use '/' as path separator as this
       will be used in urls. Speaking of which, you can even enter a whole

   --autoprefix path
       Requires --output.  Try to generate the prefix automatically by
       comparision of the path to the output file set with --output and
       the Htmldir set in the configuration files.  Particulary useful
       when multiple configuration files are specified, with different
       Htmldir settings.

       Default is logging in the generated page the command line, suppress
       with --nooptlog . Useful if the commandline contains a complex
       --pagetop=string which could confuse simple browsers.

   --someoption-file filename
       For any someoption which 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.


   Tobias Oetiker <>


   GNU General Public License


   2000-2001 Tobias Oetiker <>

More Linux Commands

latin7(7) - ISO 8859-13 character set encoded in octal, deci
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-13 encodes the characters used in Balti

XFreeEventData(3) - retrieve and free additional event data
Some extension XGenericEvents require additional memory to store information. For these events, the library returns a XGenericEventCookie with a token (cookie)

gcj(1) - Ahead-of-time compiler for the Java language.......
As gcj is just another front end to gcc, it supports many of the same options as gcc. This manual only documents the options specific to gcj. OPTIONS Input and

git-log(1) - Show commit logs (Commands - Linux man page)...
Shows the commit logs. The command takes options applicable to the git rev-list command to control what is shown and how, and options applicable to the git diff

field_userptr(3form) - associate application data with a for
Every form field has a field that can be used to hold application-specific data (that is, the form-driver code leaves it alone). These functions get and set tha

XAllocStandardColormap(3) - allocate, set, or read a standar
XAllocStandardColormap.3 - The XAllocStandardColormap function allocates and returns a pointer to a XStandardColormap structure. Note that all fields in the XSt

true(1) - do nothing, successfully - Linux manual page......
Exit with a status code indicating success. --help display this help and exit --version output version information and exit NOTE: your shell may have its own ve

HUGE_VALF(3) - floating-point constants - Linux manual page
The macro INFINITY expands to a float constant representing positive infinity. The macro NAN expands to a float constant representing a quiet NaN (when supporte

logwtmp(3) - append an entry to the wtmp file (Man Page)....
logwtmp.3 - updwtmp() appends the utmp structure ut to the wtmp file. logwtmp() constructs a utmp structure using line, name, host, current time and current pro

ldap_controls_dup(3) - LDAP control manipulation routines...
These routines are used to manipulate structures used for LDAP controls. ldap_control_create() creates a control with the specified OID using the contents of th

clock(3) - Determine processor time - Linux manual page.....
The clock() function returns an approximation of processor time used by the program. RETURN VALUE The value returned is the CPU time used so far as a clock_t; t

slk_attr_sp(3ncurses) - curses screen-pointer extension.....
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

We can't live, work or learn in freedom unless the software we use is free.