Difference between revisions of "Graph modem utilisation with ploticus"
(→Overview) |
|||
Line 17: | Line 17: | ||
* Direct your hylafax log to your web-server using syslog | * Direct your hylafax log to your web-server using syslog | ||
* Use syslog-ng or logrotate to keep log files small (weekly works well for me) | * Use syslog-ng or logrotate to keep log files small (weekly works well for me) | ||
− | * | + | * Install the perl script <code>modem_usage_from_syslog.pl</code> as a CGI program on your web-server |
+ | * View the results in a web-browser | ||
=== Installation === | === Installation === |
Revision as of 23:24, 1 October 2007
How to graph your modem utilisation with ploticus
This install process describes how to generate a stair-step graph of you modem usage throughout the day, with the explicit goal of answering the question:
- Do I have enough modems?
It is a bit involved. However, one you are finished you will be able to generate graphs like these, which are viewable from any web-browser (even a Manager can use it!)
File:Modem usage from syslog.recv.png File:Modem usage from syslog.send.png
Overview
The basic approach is as follows:
- Direct your hylafax log to your web-server using syslog
- Use syslog-ng or logrotate to keep log files small (weekly works well for me)
- Install the perl script
modem_usage_from_syslog.pl
as a CGI program on your web-server - View the results in a web-browser