Snert . Com apache2mrtg.pl
      from   Snert . Com

Apache to MRTG Configuration

- apache2mrtg.pl - mod_watch - mod_watch.pl -
- Welcome - Software -

Syntax

apache2mrtg.pl path/to/httpd.conf

Description

Use apache2mrtg.pl to parse the httpd.conf file to create a MRTG configuration script for all the defined virtual hosts. The output can be appended to or included in an existing mrtg.cfg file. There currently is no support to generate MRTG configurations for virtual hosts derived from mod_vhosts_alias or local user names.

The generated MRTG configuration will periodically make calls to mod_watch.pl to obtain the bytes in, bytes out, uptime, and MRTG target name. If MRTG is propery configured (please see the MRTG documentation), you should be able to see assorted graphs concerning data transfer rates for your virtual hosts and local users you are monitoring.

License

  1. Non-commercial redistribution and use of the original source distribution, without modification, is permitted provided you retain this notice, the author's copyright notice, and the disclaimer.

  2. Commercial use, in the role of "end-user" for internal business operations, of the original source distribution, without modification, is permitted provided you retain this notice, the author's copyright notice above, and the disclaimer below.

  3. Commercial redistribution (including but not limited to bundling, collections, resale) of the original source distribution and/or derived binaries, with or without modification, is permitted with a) the prior written permission from the author, b) financial remuneration to the author, c) the above copyright notice is retained and reproduced by the binary, and d) the disclaimer below appears in the documentation and/or other materials provided with the distribution.

Disclaimer

THIS SOFTWARE IS PROVIDE "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO WAY SHALL THE AUTHOR OR LICENSEE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Support

Support is only provided for the author's original source distribution and with some small financial remuneration per incident to the author. Free support is no longer provided. [In other words, if you need help offer me some money or a gift (see my wishlist at Amazon), as my free time outside of my normal day job is limited.]


- apache2mrtg.pl - mod_watch - mod_watch.pl -
- Welcome - Software -