<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000099">
On most systems, mrtg will run as its own user and nagios the same.
Make sure that the nagios user has permissions to access the mrtg owned
files...<br>
<pre class="moz-signature" cols="72">
A. Davis
Email: <a class="moz-txt-link-abbreviated" href="mailto:nccomp@gmail.com">nccomp@gmail.com</a>
"There is no limit to what a man can accomplish
if he doesn't care who gets the credit." - Ronald Reagan
</pre>
<br>
<br>
Dei Bertine wrote:
<blockquote cite="mid:489297.41560.qm@web111204.mail.gq1.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<div
style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div><br>
</div>
<div
style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi
folks, <br>
<br>
I've been getting these messages from my nagios page under mrtg:
"check_mrtgtraf: Unable to open MRTG log file" in which Im unable to
figure it out why?<br>
<br>
here's my config file:<br>
# Monitor Port 1 Bandwidth Usage<br>
define service{<br>
use mrtg-service<br>
host_name ciscoasa-firewall<br>
service_description SDFWPORT1_BAND_USE<br>
check_command
check_local_mrtgtraf!/var/www/mrtg/192.168.1.253_1.log!AVG!1000000,1000000!5000000,5000000!10<br>
}<br>
<br>
When I launch the command manually, same error. <br>
<br>
Here's my command looks like:<br>
# 'check_local_mrtgtraf' command definition<br>
define command{<br>
command_name check_local_mrtgtraf<br>
command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w
$ARG3$ -c $ARG4$ -e $ARG5$<br>
}<br>
<br>
Please someone advise. <br>
<br>
Thank you! <br>
DB<br>
<br>
<div
style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font
face="Tahoma" size="2">
<hr size="1"><b><span style="font-weight: bold;"><br>
</span></b></font>
<div><br>
</div>
</div>
</div>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/businessobjects">http://p.sf.net/sfu/businessobjects</a></pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
</body>
</html>