I can access to the file.with nagios user.  <br><br><br><span id="result_box" class="medium_text"><span style="background-color: rgb(255, 255, 255);" title="El procedimiento para crear el archivo 
log...">The procedure for creating the log file ...<br>touch <ip_switch>_<port>.log<br>Y luego asignar los permisos para el usuario nagios<br></span></span><span id="result_box" class="medium_text"><span style="background-color: rgb(255, 255, 255);" title="El procedimiento para crear el archivo 
log..."> </span><span style="background-color: rgb(255, 255, 255);" title="¿puede ser asi?:">Can it be so?<br></span></span><span id="result_box" class="medium_text"><span style="background-color: rgb(255, 255, 255);" title="¿o esta mal?">Or is this wrong?<br>
<br><br>In shell with root user<br>/usr/lib/nagios/plugins/check_mrtgtraf -F /tmp/192.168.1.1_1.log -a AVG -w 1000000,2000000 -c 5000000,5000000<br>I have the same problem<br></span></span><br><br>Any other <span id="result_box" class="short_text"><span style="background-color: rgb(255, 255, 255);" title="sugerencia">suggestion?</span></span><br>
<br><br><br>Thanks,<br><br><br><br><br><br><div class="gmail_quote">2010/3/17 Chase Simms <span dir="ltr"><<a href="mailto:Csimm@pubpress.com">Csimm@pubpress.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Try logging in as the nagios user and see if you have access to the file.<br>
<br>
If it is not a permissions issue, it may be a path issue.  See if you can output an ls into a file from your script.<br>
<br>
<br>
>>> Bernardo Martin <<a href="mailto:bernardo.martin@gmail.com">bernardo.martin@gmail.com</a>> 3/17/2010 9:25 AM >>><br>
<div><div></div><div class="h5">Hi,<br>
<br>
I have tried configuring the bandwidth usage but the system shows me the<br>
following error:<br>
<br>
check_mrtgtraf: Unable to process MRTG log file<br>
<br>
What have I done wrong?<br>
<br>
Thanks,<br>
<br>
</div></div><div><div></div><div class="h5">The information in this email is intended for the sole use of the addressees and may be confidential and subject to protection under the law. If you are not the intended recipient, you are hereby notified that any distribution or copying of this email is strictly prohibited. If you have received this message in error, please reply and delete your copy.<br>

<br>
</div></div></blockquote></div><br>