MRTG-WEBSERVER

NAME
SYNOPSIS
APACHE
AUTHOR

NAME

mrtg−webserver − hints for web server configuration

SYNOPSIS

If you want people to actually see the results of your network monitoring efforts you will need a webserver.

This document lists some configuration hints for webservers. Contributions welcome.

APACHE

Configuring mod_expire
A big issue with mrtg monitoring data is the expiry time. All these nice graphs you can create are only valid for a short time. If you do not take special action some webbrowsers will not notice this and you may end up with people seeing old data because of caching issues.

The apache module mod_expire allows you to setup special expiry properties for individual file.

Here is an example for how this may look for an mrtg web directory. The configuration directives can be stored into a .htaccess file.

 ############################################################
 # Example .htaccess for use with apache−1.2 and mod_expire.
  # (mod_expire come with apache−1.2 but you have to explicitly
 # activate it when compiling the httpd ...)
 #############################################################
 #
 <Files "*−day.png">
 ExpiresActive On                  # enable expirations
 # five minutes
 ExpiresDefault M300
 </Files>
 <Files "*−week.png">
 ExpiresActive On
 ExpiresDefault M1800
 </Files>
 <Files "*−month.png">
 ExpiresActive On
 ExpiresDefault M7200
 </Files>
 <Files "*−year.png">
 ExpiresActive On
 ExpiresDefault M86400
 </Files>
 <Files "*.html">
 ExpiresActive On
 ExpiresDefault M300
 </Files>
 # index.html is not automatically generated
 <Files "index.html">
 ExpiresActive Off
 </Files>

AUTHOR

Unknown


Open Source


What is Linux - Linux is a computer operating system (OS) that is free and open-source software. The software that runs the computer and the source code used to create it are both available to you at no cost. Linux is used on games, watches, laptops, desktops and super computers. The capability to operate and create on these devices is available to you.

Free Technology Academy - The FTA provides a virtual campus offering course modules on Free Software and Open Standards. Educational materials in the FTA are released under free licenses. FTA is constructed on a Free Software OS and utilizes Free Software and standards to deliver its services.

President Obama Knows Open Source - On January 20 2009, President Obama's first day in office, the Open Government initiative was issued to provide transparency and access to Government data. Learn how our Government is using open source and the opportunities this provides for you.

find - The find program searches for files that match the specified criteria and optionally executes some function on those files. Find can compare or identify files based on name, location, type, size, creation and many more attributes. find is a very useful and powerful command line utility.

ConnectED and edX - President Obama announced on November 2014, that edX and ConnectED will partner to deliver teacher training and AP courses. ConnectED is the President's initiative to enhance K-12 through the delivery of broadband access and digital content.

US Navy - The US Navy's most advanced warship is powered by Linux. The next generation warship is a guided missile destroyer. It uses Red Hat Enterprise Linux along with Fedora as its operating systems. The Navy also utilizes Linux to run it's drone fleet. Government use of open source continues to expand.

Harvard - MIT - Stanford - The open edX platform delivers free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses are available and include almost all major subject areas and course levels. Paid courses and certifications are also available.

More Linux Commands


reconstruct (8)      - reconstruct mailboxes
Reconstruct rebuilds one or more IMAP mailboxes. When invoked with the -m switch, it rebuilds the master mailboxes file. It can be used to recover from almost a...

penmount (4)         - PenMount input driver
penmount is an Xorg input driver for PenMount devices... The penmount driver functions as a pointer input device, and may be used as the X servers core pointer....

Apache::TestSmoke (3pm) - Special Tests Sequence Failure Finder
The Problem When we try to test a stateless machine (i.e. all tests are independent), running all tests once ensures that all tested things properly work. Howev...

kernel-command-line (7) - Kernel command line parameters
The kernel, the initial RAM disk (initrd) and basic userspace functionality may be configured at boot via kernel command line arguments. For command line parame...

servertool-java-1.7.0-openjdk (1) - The Java(TM) IDL Server Tool
servertool-java-1.7.0-openjdk.1 - The servertool provides the command-line interface for the application programmers to register, unregister, startup, and shutd...

pitivi (1)           - Non-linear video editor
pitivi is a free, intuitive and featureful movie editor for the Linux desktop. pitivi starts the video editor, optionally loading PROJECT_FILE. If no project is...

Encode::PerlIO (3pm) - - a detailed document on Encode and PerlIO
It is very common to want to do encoding transformations when reading or writing files, network connections, pipes etc. If Perl is configured to use the new.......

vesa (4)             - Generic VESA video driver
vesa is an Xorg driver for generic VESA video cards. It can drive most VESA-compatible video cards, but only makes use of the basic standard VESA core that is c...

jpegtopnm (1)        - convert JPEG/JFIF file to PPM or PGM image
This program is part of Netpbm(1) jpegtopnm converts JFIF images to PPM or PGM images. By default, jpegtopnm expects the input stream to contain one JFIF image...

gnutls_psk_set_server_params_function (3) - API function
This function will set a callback in order for the server to get the Diffie-Hellman parameters for PSK authentication. The callback should return GNUTLS_E_SUCCE...

xinetd (8)           - the extended Internet services daemon
xinetd performs the same function as inetd: it starts programs that provide Internet services. Instead of having such servers started at system initialization t...

pam_end (3)          - termination of PAM transaction
The pam_end function terminates the PAM transaction and is the last function an application should call in the PAM context. Upon return the handle pamh is no lo...

znew (1)             - recompress .Z files to .gz files
Znew recompresses files from .Z (compress) format to .gz (gzip) format. If you want to recompress a file already in gzip format, rename the file to force a .Z e...

dcraw (1)            - command-line decoder for raw digital photos
dcraw decodes raw photos, displays metadata, and extracts thumbnails. GENERAL OPTIONS -v Print verbose messages, not just warnings and errors. -c Write decoded...

config.sub (1)       - validate and canonicalize a configuration triplet
../build-aux/config.sub [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of...