<div><br>Hi <br><br>How do i get the following log file<br>192.168.1.253_1.log i which directory is that log file found<br><br>I only get a log file in var/log.mrtg.log<br><br>Pls advise<br>Devinder<br></div>
<div> </div><div class="gmail_quote"><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><div><pre>define service{<br> use generic-service ; Inherit values from a template<br>
host_name linksys-srw224p<br> service_description Port 1 Bandwidth Usage<br> check_command check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,2000000!5000000,5000000!10<br> }</pre>
<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