<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style>.EmailQuote {
        BORDER-LEFT: #800000 2px solid; PADDING-LEFT: 4pt; MARGIN-LEFT: 1pt
}
</style>
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body ocsi="0" fPStyle="1">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 13px">
<div>I'm assuming that what you mean is MRTG data collection plugins (as opposed to ConversionCode plugins, Routers2 plugins, Threshold actions plugins....)</div>
<div> </div>
<div>These have to exit with a status of 0, and output fur lines of text each terminated with a newline.</div>
<div>The first and second lines hold the Incoming and Outgoing values, in decimal if you are using RRDTool mode, or 'U' for unknown. Do not use scientific notation (ie, NOT something like '1.06e02' to mean 106)</div>
<div>The third is used to hold the system uptime string, if MRTG is running in Native mode (non-rrdtool). Else it is ignored.</div>
<div>The fourth is used ot hold the system description, if MRTG is running in Native mode (non-rrdtool). Else it is ignored.</div>
<div> </div>
<div>This documentation is available on the MRTG website (albeit a bit hidden). There's also a whole chapter on plugins and their creation in the MRTG book <a href="http://www.steveshipway.org/book/" target="_blank">http://www.steveshipway.org/book/</a> but I'm obviously a bit biased in recommending it.</div>
<div> </div>
<div>Steve</div>
<div> </div>
<div>
<hr tabindex="-1">
<div id="x_divRplyFwdMsg"><font color="#000000" size="2" face="Tahoma"><b>From:</b> mrtg-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch [mrtg-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch] on behalf of Steve.Dutky@pgcmls.info [Steve.Dutky@pgcmls.info]<br></font></div>
<div></div></div><font size="2"><span style="FONT-SIZE: 10pt">
<div class="PlainText">I'm looking for documentation and examples of how to code and invoke mrtg plugins.<br><br>Thanks, Steve Dutky<br><br></div></span></font></div></body></html>