<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">On Apr 29, 2008, at 8:11 PM, Devinder Singh wrote:</div></span></div><div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Devinder Singh</b> <<a href="mailto:devinbhullar@gmail.com">devinbhullar@gmail.com</a>><br>Date: 2008/4/30<br> Subject: MRTG Graf<br>To: <a href="mailto:nagiosplug-devel@lists.sourceforge.net">nagiosplug-devel@lists.sourceforge.net</a><br><br><br><br clear="all">Hi<br><br>I have problems in getting bandwidth statistics using MRTG.<br> <br>define service{<br>        use                          generic-service ; Inherit values from a template<br>        host_name               D-Link<br>         service_description   Port 1 Bandwidth Usage<br>        check_command       check_local_mrtgtraf!/home/mrtg/cfg/mrtg.cfg!AVG!1000000,1000000!5000000,5000000!10<br>}<br><br>I tried to run the above command and see the file is outdated.<br> <br>i have ran the cfgmaker program and stored the mrtg.cfg in /home/mrtg/cfg/mrtg.cfg </div></blockquote><br><div>Is MRTG running? Just making the config isn't good enough- you do actually have to run MRTG. Typically, this is done with a crontab entry, so it runs every 5 minutes or so. See <a href="http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html">http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html</a></div><div><br></div><div>-----------------------------------------------</div><div>Israel Brewster</div><div>Computer Support Technician</div><div>Frontier Flying Service Inc.</div><div>5245 Airport Industrial Rd</div><div>Fairbanks, AK 99709</div><div>(907) 450-7250 x293</div><div>-----------------------------------------------</div><blockquote type="cite"><div class="gmail_quote"><br><br>Please advise<br><br>-- <br><font color="#888888">Devinder </font></div><br><br clear="all"><br>-- <br>Devinder -------------------------------------------------------------------------<br>This SF.net email is sponsored by the 2008 JavaOne(SM) Conference <br>Don't miss this year's exciting event. There's still time to save $100. <br>Use priority code J8TL2D2. <br><a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________</a><br>Nagios-users mailing list<br>Nagios-users@lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/nagios-users<br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null</blockquote></div><br></body></html>