[mrtg] Re: external program

alex at ergens.op.Het.Net alex at ergens.op.Het.Net
Wed May 10 00:14:44 MEST 2000

Steve Meier wrote:

> Does anyone know if there is documentation anywhere explaining how to
> plug your own scripts into MRTG? Or, if anyone has done so and could
> give me some pointers that would be great.

The official documentation covers this.  Also, there is a working
example (for linux) that uses the external program interface on the
unofficial FAQ site.

Note that this is a script to generate input values, just like SNMP
would provide them.  It is not a script to process the data or to
graph in another way.  AFAIK there is no other kind of "plugin"
possible for MRTG.

> What I'm trying to graph is FTP transfer rate of a given file to
> multiple hosts.

Not sure what you want to monitor here...  MRTG monitors per second,
not per host.  Suppose your FTP client will give you the average
transfer rate at the end of each session, you could feed that into
MRTG.  The result won't represent reality (unless you never stop the
loop; you would be FTPing forever) and you won't get much detail from
it.  For really huge files you won't see the actual changes in transfer
rate during the transmission.  For small files you might not even see
where the transfer to/from site 1 finishes and where it starts for site 2.

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org

More information about the mrtg mailing list