Personal tools
HylaFAX The world's most advanced open source fax server

Difference between revisions of "Graph modem utilisation with ploticus"

(How to graph your modem utilisation with ploticus)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
This page is still being written.
 +
 
== How to graph your modem utilisation with ploticus ==
 
== How to graph your modem utilisation with ploticus ==
  
Line 10: Line 12:
 
any web-browser (even a Manager can use it!)
 
any web-browser (even a Manager can use it!)
  
[[Image:modem_usage_from_syslog.recv.png]]
+
[[Image:modem_usage_from_syslog_recv.png]]
 
[[Image:modem_usage_from_syslog.send.png]]
 
[[Image:modem_usage_from_syslog.send.png]]
  
Line 17: Line 19:
 
* 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)
* Run the perl script <code>modem_usage_from_syslog.pl</code> as a CGI program on your web-server
+
* 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 ===
  
 +
[[:File:modem_usage_from_syslog.recv.png]]
 +
[[:File:modem_usage_from_syslog.send.png]]
  
 
http://ploticus.sourceforge.net
 
http://ploticus.sourceforge.net

Latest revision as of 20:52, 2 October 2007

This page is still being written.

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

Installation

File:modem_usage_from_syslog.recv.png File:modem_usage_from_syslog.send.png

http://ploticus.sourceforge.net


This page was last edited on 2 October 2007, at 20:52.

Powered by MediaWiki
Attribution-ShareAlike 2.5

Project hosted by iFAX Solutions