[mrtg] Continuing the post

thomaz.portella at portoseguro.com.br thomaz.portella at portoseguro.com.br
Tue Jul 5 19:25:03 CEST 2016


I am doing this and following the instructions on this site:
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html
I post the results here,
Tks,

Thomaz Portella
Arquitetura de InfraEstrutura  - Tel.: 11 23936908
Corporação Porto Seguro  - http://www.portoseguro.com.br



De:     "Wm. Josiah Erikson" <wjerikson at hampshire.edu>
Para:   thomaz.portella at portoseguro.com.br
Cc:     mrtg at lists.oetiker.ch, mrtg 
<mrtg-bounces+thomaz.portella=portoseguro.com.br at lists.oetiker.ch>
Data:   05/07/2016 14:09
Assunto:        Re: [mrtg] Continuing the post



Thomaz,
    No. Read my post below, and the documentation. You are fundamentally 
misunderstanding what is going on.
    -Josiah


On 7/5/16 12:39 PM, thomaz.portella at portoseguro.com.br wrote:
An Idea is reinstalling this packages; 
# yum check-update |grep snmp 
net-snmp.x86_64                      1:5.5-57.el6         
 rhel-x86_64-server-6 
net-snmp-libs.x86_64                 1:5.5-57.el6         
 rhel-x86_64-server-6 
net-snmp-perl.x86_64                 1:5.5-57.el6         
 rhel-x86_64-server-6 
net-snmp-python.x86_64               1:5.5-57.el6         
 rhel-x86_64-server-6 
net-snmp-utils.x86_64                1:5.5-57.el6         
 rhel-x86_64-server-6 
[root at li1964 ~]# 

Say if it would work ? 

Thomaz Portella
Arquitetura de InfraEstrutura  - Tel.: 11 23936908
Corporação Porto Seguro  - http://www.portoseguro.com.br 



De:        "Wm. Josiah Erikson" <wjerikson at hampshire.edu> 
Para:        mrtg at lists.oetiker.ch 
Data:        05/07/2016 13:11 
Assunto:        Re: [mrtg] Continuing the post 
Enviado por:        "mrtg" 
<mrtg-bounces+thomaz.portella=portoseguro.com.br at lists.oetiker.ch> 



You are misunderstanding what MRTG does. MRTG isn't a server that runs all 
the time. You configure it to poll certain SNMP hosts and then you run it, 
usually every five minutes, from cron, and it creates graphs that then get 
served up usually by a webserver like apache. I would read the 
documentation more. cfgmaker is a utility that comes with for making the 
config files (though you can do a lot more than what cfgmaker will do for 
you), and indexmaker can make an index page of all the graphs for you, if 
you want something quick and dirty. 
The reason mrtg didn't do anything when you ran it like that is that you 
haven't configured it to do anything - i.e. poll any hosts. 
I think you just have to read the documentation a lot more. Good luck. 
    -Josiah 

On 7/4/16 4:45 PM, thomaz portella wrote: 
I am configuring remotely.
I found the cfg file located at /etc/mrtg/mrtg.cfg 
So I tried The and:
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg 
Nothing happens.
Even trying ps -ef |grep mrtg nothing is running.
Before trying to start, I changed display tiping export DISPLAY=<IP>=0.0 .
But didn't work.
What can I do?
Tks 


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


-- 
Wm. Josiah Erikson
Assistant Director of IT, Infrastructure Group
System Administrator, School of CS
Hampshire College
Amherst, MA 01002
(413) 559-6091
_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg



As informações contidas nesta mensagem e no(s) arquivo(s) anexo(s) são 
endereçadas exclusivamente à(s) pessoa(s) e/ou instituição(ões) acima 
indicada(s) e podem conter informações confidenciais e/ou privilegiadas. 
Se você não for o destinatário ou a pessoa autorizada a recebê-la, queira, 
por favor, retorná-la ao remetente e em seguida apagá-la definitivamente. 
Qualquer uso, cópia ou divulgação das informações nela contidas, na 
íntegra ou parcialmente, são proibidas e serão tratadas conforme 
legislação vigente. 

-- 
Wm. Josiah Erikson
Assistant Director of IT, Infrastructure Group
System Administrator, School of CS
Hampshire College
Amherst, MA 01002
(413) 559-6091



As informações contidas nesta mensagem e no(s) arquivo(s) anexo(s) são 
endereçadas exclusivamente à(s) pessoa(s) e/ou instituição(ões) acima 
indicada(s) e podem conter informações confidenciais e/ou privilegiadas. 
Se você não for o destinatário ou a pessoa autorizada a recebê-la, queira, 
por favor, retorná-la ao remetente e em seguida apagá-la definitivamente. 
Qualquer uso, cópia ou divulgação das informações nela contidas, na 
íntegra ou parcialmente, são proibidas e serão tratadas conforme 
legislação vigente. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20160705/f80bcb2b/attachment-0001.html>


More information about the mrtg mailing list