[ixpmanager] MRTG collector is on a different server

Basil Elbalaawi saifbasilyazan at gmail.com
Thu Mar 11 15:06:24 GMT 2021


My question , How can I get the graph picture to access rrd files from the
MRTG server?

On Thu, Mar 11, 2021 at 4:58 PM Basil Elbalaawi <saifbasilyazan at gmail.com>
wrote:

>
> thanks lan
>
> but i am not use log file , i am using rrd files belong to rrdtools to
> increase the performance ,so
>
>
> *root at mrtg:~# apt-get install mrtg mrtg-ping-probe rrdtool librrds-perl
> snmp snmpd snmp-mibs-downloader apache2 libapache2-mod-perl2
> libnet-snmp-perl libgd-gd2-perl*
>
>
> https://imgur.com/a/Tt8Se69     ----------------------> see these pic.
>
>
> i am waiting your reply ,,,,,,
>
>
>
>
>
>
> On Thu, Mar 11, 2021 at 4:37 PM Ian Chilton <ian at lonap.net> wrote:
>
>> Hi Basil,
>>
>> Our MRTG setup uses log files, because history.
>>
>> These are in /srv/mrtg and I setup nginx with:
>>
>> location /mrtg {
>> alias /srv/mrtg;
>> autoindex on;
>> }
>>
>> So I can go to: https://mrtg.ourdomain.net/mrtg and be able to browse
>> the files.
>>
>> IXP Manager is then configured with:
>>
>> GRAPHER_BACKEND_MRTG_WORKDIR="/srv/mrtg"
>> GRAPHER_BACKEND_MRTG_LOGDIR="http://1<host>/mrtg"
>>
>> Does that answer your question?
>>
>> Ian
>>
>> On 11 Mar 2021, at 14:32, Basil Elbalaawi wrote:
>>
>> hello
>> how can access the .rrd file or access by http web access at the mrtg
>> server ?
>>
>> and when i use the rrdtool , so which the
>>
>> GRAPHER_BACKEND_MRTG_WORKDIR="WokDir for rrd file ex. /var/www/cgi-bin"
>>
>> GRAPHER_BACKEND_MRTG_LOGDIR="" , there is no html file can be access for
>> rrd file , or can be used  "indexmaker /etc/mrtg.cfg >
>> /var/www/cgi-bin/index.html"
>>
>> where idex file used .log, .html and .png files , Not rrd file
>>
>> So what can I do?
>>
>> On Mon, Feb 15, 2021 at 2:21 PM Barry O'Donovan <barry.odonovan at inex.ie>
>> wrote:
>>
>>> Hi Ian,
>>>
>>> Ian Chilton wrote on 15/02/2021 12:03:
>>> > I assume the grapher:upload-stats-to-db and
>>> > grapher:upload-pi-stats-to-db jobs (as well as the email ones) should
>>> > run on the main ixpmanager host? - and it will use
>>> > GRAPHER_BACKEND_MRTG_LOGDIR to pull that data, be it set to a local
>>> dir
>>> > or a remote http(s) endpoint?
>>>
>>> Correct on both counts.
>>>
>>> > With regards to the graphs when mrtg is on a different host - does it
>>> > directly reference the MRTG host in image src tags directly, or does
>>> it
>>> > do some caching and still serve up graphs from the ixpmanager host?
>>>
>>> It basically proxies the image requests - no internal MRTG host is
>>> exposed.
>>>
>>>   - Barry
>>>
>>> >
>>> > Obviously the answer will be obvious once implemented, but whether the
>>> > mrtg needs to be publicly accessible influences which vlan it goes on
>>> etc.
>>> >
>>> > Thanks,
>>> >
>>> > Ian
>>> > _______________________________________________
>>> > INEX IXP Manager mailing list
>>> > ixpmanager at inex.ie
>>> > Unsubscribe or change options here:
>>> > https://www.inex.ie/mailman/listinfo/ixpmanager
>>>
>>>
>>> --
>>>
>>> Kind regards,
>>> Barry O'Donovan
>>> INEX Operations
>>>
>>> https://www.inex.ie/support/
>>> +353 1 531 3339
>>>
>>> _______________________________________________
>>> INEX IXP Manager mailing list
>>> ixpmanager at inex.ie
>>> Unsubscribe or change options here:
>>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>>
>> _______________________________________________
>> INEX IXP Manager mailing list
>> ixpmanager at inex.ie
>> Unsubscribe or change options here:
>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>> _______________________________________________
>> INEX IXP Manager mailing list
>> ixpmanager at inex.ie
>> Unsubscribe or change options here:
>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20210311/fbe0096b/attachment.htm>


More information about the ixpmanager mailing list