routers.conf file: valid options. --------------------------------- The routers.conf file can be shared between several applications, and has a format similar to a Windows .ini file - ie, it is separated into sections, and each section has a number of parameters. Each section begins with a line containing the section name in square brackets, and ends at the beginning of the next section. Options are given as the option name, followed by an '=' symbol, followed by the option data, terminated by the end of line. There is no line continuation character - options take a single line only. The main sections are: [web] : This is global options over all applications [routers.cgi] : Global options for the routers.cgi frontend [targetnames] : Short names for individual titles [targettitles] : Long names for individual targets [targeticons] : Icon files for individual targets [servers] : Server names for the server monitoring extensions [menu] : Links to be added to the Devices menu for all users [archive] : Options for the rrd file archiving utility Note that you can optionally define your own section in addition to these, which can hold the same directives as the [routers.cgi] section. This new section will be used to override the [routers.cgi] section directives, if it is enabled by either passing the 'extra=sectionname' parameter to the CGI, or by renaming routers.cgi to match the new section name. See the HOWTO for more details on this functionality. The individual options are described below. [web] : Global options ---------------------- Name: backurl Default: / Use: This is where the link on the 'Main Menu' button will take you. Format: This should be a URL, possibly relative to the script URL. If set to blank, then the Main Menu button is not displayed. Name: png Default: no Use: Is it OK for the script to produce PNG files rather than GIFs? Format: yes / no Note: Your RRDTool install must support GIFs to use GIFs. Some web browsers (notably PDAs) are unable to display PNG files. Very old RRDTool and/or GD libraries do not support PNGs: more recent ones do not support GIFs. Name: NT Default: no Use: Should we enable the NT compatibility options? Format: yes / no Note: This is automatically set to YES if the system detects NT. Only set it here if the system makes a mistake. Name: csvmimetype Default: text/comma-separated Format: A complete MIME type Use: This is the MIME type assigned to downloaded .csv files when you select the CSV option. Name: csvfilename Default: export.csv Format: A single filename, with no path separator Use: This is the filename sent with the .csv file. This is most meaningful to MSIE, which uses the filename extension to determine the default action to perform on the downloaded data, rather than the MIME type. Name: timezone Default: 0 Format: An integer difference, in hours, of your default timezone from GMT. Use: Only necessary if your system is unable to determine its own timezone, or if you wish to report data in a different timezone to the server's timezone. May not work effectively under NT because the time libraries under NT do not support dynamic timezones in environment variables. Name: shortdateformat Default: %R %x Format: POSIX strftime formatting string Use: If you need to override the default (taken from locale settings) date format used in Archive dates, you can use this. Name: weeknumber Default: %U Format: %[UVW] Use: If your system has a broken strftime(), and the week number on the monthly graphs does not appear. Name: hournumber Default: %k Format: %[kHI] Use: If your system has a broken strftime(), and the hour number on the daily graphs does not appear. Name: auth-required Default: no Format: yes no optional Use: To enable internal authentication. In 'yes' mode, the user MUST log in in order to see pages. In 'opt' mode, a not-logged-in user can see the default system (which may be empty, of course). In 'no' mode, the login button is not shown. Name: auth-expire Default: +5min Format: +