[ixpmanager] MRTG

Giorgi Kajaia giokajana at gmail.com
Thu May 24 11:14:11 IST 2018


I have changed with vim /etc/mrtg/mrtg.cfg workdir directory to /srv/mrtg
and mrtg started
but on website i see Blank images on traffic .
any fix ?

On Thu, May 24, 2018 at 2:11 PM, Giorgi Kajaia <giokajana at gmail.com> wrote:

> ERROR: Mrtg will most likely not work properly when the environment
>        variable LANG is set to UTF-8. Please run mrtg in an environment
>        where this is not the case. Try the following command to start:
>
>        env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
> This is outpout when i tried to enter this command env LANG=C
> /usr/bin/mrtg /etc/mrtg/mrtg.cfg
> then it displayed this output: ERROR: CFG Error in "workdir", file
> /etc/mrtg/mrtg.cfg line 8: Working directory /var/www/mrtg does not exist
>
> so what i must do ? i think i must change that workdir directory but from
> where?
>
>
>
>
> On Thu, May 24, 2018 at 2:10 PM, Giorgi Kajaia <giokajana at gmail.com>
> wrote:
>
>> ERROR: Mrtg will most likely not work properly when the environment
>>        variable LANG is set to UTF-8. Please run mrtg in an environment
>>        where this is not the case. Try the following command to start:
>>
>>        env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
>> This is outpout when i tried to enter this command env LANG=C
>> /usr/bin/mrtg /etc/mrtg/mrtg.cfg
>> then it displayed this output: ERROR: CFG Error in "workdir", file
>> /etc/mrtg/mrtg.cfg line 8: Working directory /var/www/mrtg does not exist
>>
>> so what i must do ? i think i must change that workdir directory but from
>> where?
>>
>>
>>
>> On Thu, May 24, 2018 at 2:05 PM, Nick Hilliard <nick at inex.ie> wrote:
>>
>>> Giorgi Kajaia wrote:
>>>
>>>> May 24 13:53:07 root mrtg[13929]:  * Starting mrtg
>>>> May 24 13:53:07 root mrtg[13929]: ERROR: CFG Error in "workdir", file
>>>> /etc/mrtg/mrtg.cfg line 8: Working
>>>> May 24 13:53:07 root systemd[1]: mrtg.service: Control process exited,
>>>> code=exited status=2
>>>>
>>>
>>> systemd is truncating the full error text from mrtg, but the full error
>>> in this situation is: "Working directory XXXXXX does not exist".
>>>
>>> This means that you've specified a directory in your .env file for MRTG
>>> which doesn't exist.
>>>
>>> If you execute the following, it will show you what the problem is:
>>>
>>> # mrtg /etc/mrtg/mrtg.cfg
>>>
>>> Nick
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20180524/b502edb6/attachment.html>


More information about the ixpmanager mailing list