<div><br>Hi Guys</div>
<div> </div>
<div>I have downloaded the mrtgtraf plugin using Open SUSE 10.3 <br><br>this is my configuration  please advise if i am on the right track. Thanks<br><br>Cfgmaker <br><br>openSuSE:/usr/local/mrtg-2 # cfgmaker --global 'WorkDir: /home/mrtg'            --global 'Options[_]: bits,growright'           --output /home/mrtg/cfg/mrtg1.cfg <a href="http://192.168.1.106">192.168.1.106</a><br>
<br>When i run the above i get a mrtg.cfg file in /home/mrtg/cfg<br><br>I ran the following command. I dont get any errors<br><br></div>
<div> openSuSE:/usr/local/mrtg-2 # /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg1.cfg<br><br>but i dont see any graphs or charts on statistics/bandwidth.<br><br></div><div>I dont see any log file. I am following the instruction is Nagios<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 get this error<br><table class="status" border="0" width="100%"><tbody><tr><td colspan="6">|</td></tr><tr><td class="statusEven"><br></td><td class="statusEven"><br></td><td class="statusOK"><br></td><td class="statusEven" nowrap>
<br></td><td class="statusEven" nowrap><br></td><td class="statusEven"><br></td><td class="statusEven" valign="center"><br></td></tr><tr><td><br></td>
<td class="statusBGWARNING"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="left"><table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td class="statusBGWARNING" align="left" valign="center"><a href="http://localhost/nagios/cgi-bin/extinfo.cgi?type=2&host=D-Link&service=Port%201%20Bandwidth%20Usage">Port 1 Bandwidth Usage</a></td></tr>
</tbody></table>
</td>
<td class="statusBGWARNING" align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td align="center" valign="center"><a href="http://localhost/nagios/cgi-bin/extinfo.cgi?type=2&host=D-Link&service=Port%201%20Bandwidth%20Usage"><img src="http://localhost/nagios/images/ndisabled.gif" alt="Notifications for this service have been disabled" title="Notifications for this service have been disabled" border="0" height="20" width="20"></a></td>
</tr>
</tbody></table>
</td>
</tr></tbody></table></td>
<td class="statusWARNING">WARNING</td>
<td class="statusBGWARNING" nowrap>05-01-2008 10:06:50</td>
<td class="statusBGWARNING" nowrap> 0d 22h 25m 52s</td>
<td class="statusBGWARNING">3/3</td>
<td class="statusBGWARNING" valign="center">MRTG data has expired (20160126 minutes old) </td>
</tr>
<tr>
<td><br></td></tr></tbody></table>Please i need your help on this<br><br>Devinder<br> </div>
<div class="gmail_quote">2008/5/1 Israel Brewster <<a href="mailto:israel@frontierflying.com" target="_blank">israel@frontierflying.com</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div style="">
<div>
<div><span style="word-spacing: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; border-spacing: 0px;">
<div style="">On Apr 29, 2008, at 8:11 PM, Devinder Singh wrote:</div></span></div></div>
<div>
<div>
<div></div>
<div><br>
<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" target="_blank">devinbhullar@gmail.com</a>><br>Date: 2008/4/30<br>

Subject: MRTG Graf<br>To: <a href="mailto:nagiosplug-devel@lists.sourceforge.net" target="_blank">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></div></div>
<div>Oh, I should also point out that unless you are using a non-standard mrtgtraf plugin, the file specified in your configuration above should be the .log file generated my mrtg, not the config file.</div>
<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_______________________________________________" target="_blank">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________</a><br>

Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><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></div><br></div></blockquote></div><br>
<br clear="all">
<br>-- <br>Devinder