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

This source distribution is made freely available and there is no charge for its use, provided you retain this notice, disclaimers, author's copyright, and credits.

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 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.


| apache2mrtg.pl | mod_watch | mod_watch.pl |
| Welcome | Software |