[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mrtg
Subject:    Re: [mrtg] Can anyone send examples do feed in crontab ?
From:       "McDonald, Daniel (Dan)" <Dan.McDonald () austinenergy ! com>
Date:       2016-07-11 14:31:31
Message-ID: B44191D2E9F0FEA7.41EE0A5E-C5BD-4060-B669-421A4B38DB65 () mail ! outlook ! com
[Download RAW message or body]

What user are you running it as by hand?  I have an mrtg user, so I specified that. \
You may need to change the user. You might not need env Lang C

Get Outlook for iOS<https://aka.ms/o0ukef>




On Mon, Jul 11, 2016 at 6:53 AM -0700, "thomaz portella" \
<thomazp@gmail.com<mailto:thomazp@gmail.com>> wrote:


Thanks,
I Have did it That way, and I am waiting for the output.
But didn't work. :-(
But running by hand, it works.
Thanks for The support
This is what I have in Suse Enterprise version 11-SP4:
mcdonalddj@sles-devel:~> cat /etc/cron.d/mrtg
*/5 * * * * mrtg  env LANG=C /usr/bin/mrtg /var/lib/mrtg/cfg/mrtg.cfg \
--logging=/var/log/mrtg.log


obviously, your paths might be different.


From: mrtg <mrtg-bounces+dan.mcdonald=austinenergy.com@lists.oetiker.ch<mailto:austinenergy.com@lists.oetiker.ch>> \
                on behalf of thomaz portella \
                <thomazp@gmail.com<mailto:thomazp@gmail.com>>
Date: Sunday, July 10, 2016 at 7:28 PM
To: "mrtg@lists.oetiker.ch<mailto:mrtg@lists.oetiker.ch>" \
                <mrtg@lists.oetiker.ch<mailto:mrtg@lists.oetiker.ch>>
Subject: [mrtg] Can anyone send examples do feed in crontab ?

I will need to do this tomorrow morning, and I don't want to loose time searching.
Thanks,


--
Thomaz S L Portella
thomazp@gmail.com<mailto:thomazp@gmail.com>
thomazp@yahoo.com<mailto:thomazp@yahoo.com>
Engenheiro eletricista/eletrônico.


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div>What user are you running it as by hand? &nbsp;I have an mrtg user, so I \
specified that. You may need to change the user. You might not need env Lang C<br> \
<br> <div class="acompli_signature">Get <a href="https://aka.ms/o0ukef">Outlook for \
iOS</a></div> <br>
</div>
<br>
<br>
<br>
<div class="gmail_quote">On Mon, Jul 11, 2016 at 6:53 AM -0700, &quot;thomaz \
portella&quot; <span dir="ltr">&lt;<a href="mailto:thomazp@gmail.com" \
target="_blank">thomazp@gmail.com</a>&gt;</span> wrote:<br> <br>
</div>
<div>
<p dir="ltr">Thanks,<br>
I Have did it That way, and I am waiting for the output.<br>
But didn't work. :-(<br>
But running by hand, it works.<br>
Thanks for The support </p>
<div class="gmail_quot&lt;blockquote class=" style="margin:0 0 0 .8ex; \
border-left:1px #ccc solid; padding-left:1ex"> <div bgcolor="white" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri">This is what \
I have in Suse Enterprise version 11-SP4:<u></u><u></u></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span style="font-size:11.0pt; \
font-family:Menlo; color:black">mcdonalddj@sles-devel:~&gt; cat \
/etc/cron.d/mrtg<u></u><u></u></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:11.0pt; font-family:Menlo; \
color:black">*/5 * * * * mrtg&nbsp; env LANG=C /usr/bin/mrtg \
/var/lib/mrtg/cfg/mrtg.cfg --logging=/var/log/mrtg.log<u></u><u></u></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt; \
font-family:Calibri"><u></u>&nbsp;<u></u></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt; font-family:Calibri"><u></u>&nbsp;<u></u></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri">obviously, your \
paths might be different.<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt; font-family:Calibri"><u></u>&nbsp;<u></u></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt; \
font-family:Calibri"><u></u>&nbsp;<u></u></span></p> <div style="border:none; \
border-top:solid #b5c4df 1.0pt; padding:3.0pt 0in 0in 0in"> <p \
class="MsoNormal"><b><span style="font-family:Calibri; color:black">From: </span> \
</b><span style="font-family:Calibri; color:black">mrtg \
&lt;mrtg-bounces&#43;dan.mcdonald=<a href="mailto:austinenergy.com@lists.oetiker.ch" \
target="_blank">austinenergy.com@lists.oetiker.ch</a>&gt; on behalf of thomaz \
portella &lt;<a href="mailto:thomazp@gmail.com" \
target="_blank">thomazp@gmail.com</a>&gt;<br> <b>Date: </b>Sunday, July 10, 2016 at \
7:28 PM<br> <b>To: </b>&quot;<a href="mailto:mrtg@lists.oetiker.ch" \
target="_blank">mrtg@lists.oetiker.ch</a>&quot; &lt;<a \
href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a>&gt;<br> \
<b>Subject: </b>[mrtg] Can anyone send examples do feed in crontab \
?<u></u><u></u></span></p> </div>
<div>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">I will need to do this tomorrow morning, and I don't want to \
loose time searching.<u></u><u></u></p> <div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br>
-- <br>
Thomaz S L Portella<br>
<a href="mailto:thomazp@gmail.com" target="_blank">thomazp@gmail.com</a><br>
<a href="mailto:thomazp@yahoo.com" target="_blank">thomazp@yahoo.com</a><br>
Engenheiro eletricista/eletrônico.<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>



_______________________________________________
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

--===============8678700028196387455==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic