[mrtg] Continuing the post

Wm. Josiah Erikson wjerikson at hampshire.edu
Tue Jul 5 20:16:18 CEST 2016


That is odd. I haven't run into that before. I agree that this looks
like it should be working, as long as you're doing that from the same
machine, which I assume you are.

    -Josiah



On 7/5/16 2:13 PM, thomaz.portella at portoseguro.com.br wrote:
> Yes, it is, look:
> # snmpwalk -v 2c -c netcomrw 172.27.252.3 1.3.6.1.2.1.1
> SNMPv2-MIB::sysDescr.0 = STRING: Extreme Networks, Inc. S8 Chassis Rev
> 08.22.01.0
> 023 04/07/2014--16:18 ofc
> SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.5624.2.1.133
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2137016558) 247
> days, 8:09:25.5
> 8
> SNMPv2-MIB::sysContact.0 = STRING: Info.Telecomunicacoes
> SNMPv2-MIB::sysName.0 = STRING: NC3DB2
> SNMPv2-MIB::sysLocation.0 = STRING:
> BRA_SP_SaoPaulo_Matriz_DinoBueno_2Andar_CPD_N
> C03DB02_Nucleo
> SNMPv2-MIB::sysServices.0 = INTEGER: 79
> SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
>
> [root at li1964 libgd-2.2.0]# snmpwalk -v 2c -c netcomro 172.27.252.3
> 1.3.6.1.2.1.1
> SNMPv2-MIB::sysDescr.0 = STRING: Extreme Networks, Inc. S8 Chassis Rev
> 08.22.01.0
> 023 04/07/2014--16:18 ofc
> SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.5624.2.1.133
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2137017551) 247
> days, 8:09:35.5
> 1
> SNMPv2-MIB::sysContact.0 = STRING: Info.Telecomunicacoes
> SNMPv2-MIB::sysName.0 = STRING: NC3DB2
> SNMPv2-MIB::sysLocation.0 = STRING:
> BRA_SP_SaoPaulo_Matriz_DinoBueno_2Andar_CPD_N
> C03DB02_Nucleo
> SNMPv2-MIB::sysServices.0 = INTEGER: 79
> SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
>
> See if is it ok ?
> Tks,
>
> Thomaz Portella
> Arquitetura de InfraEstrutura  - Tel.: 11 23936908
> Corporação Porto Seguro  - http://www.portoseguro.com.br
> <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 15:05
> Assunto:        Re: [mrtg] Continuing the post
> ------------------------------------------------------------------------
>
>
>
> This means that the device at 172.27.252.3 isn't configured to allow
> requests via SNMP from that IP with that community string.
>
>     -Josiah
>
>
> On 7/5/16 2:00 PM, _thomaz.portella at portoseguro.com.br_
> <mailto:thomaz.portella at portoseguro.com.br>wrote:
> But when I try, comes this:
> # cfgmaker _netcomro at 172.27.252.3_
> <mailto:netcomro at 172.27.252.3>_netcomrw at 172.27.252.3_
> <mailto:netcomrw at 172.27.252.3>
> SNMP Error:
> no response received
> SNMPv1_Session (remote host: "172.27.252.3" [172.27.252.3].161)
>                   community: "netcomro"
>                  request ID: -375667813
>                 PDU bufsize: 8000 bytes
>                     timeout: 2s
>                     retries: 5
>                     backoff: 1)
>  at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 629
> SNMPWALK Problem for 1.3.6.1.2.1.1 on
> _netcomro at 172.27.252.3::::::v4only_
> <mailto:netcomro at 172.27.252.3::::::v4only>
>  at /usr/bin/cfgmaker line 950
> WARNING: Skipping _netcomro at 172.27.252.3_
> <mailto:netcomro at 172.27.252.3>: as no info could be retrieved
>
> SNMP Error:
> no response received
> SNMPv1_Session (remote host: "172.27.252.3" [172.27.252.3].161)
>                   community: "netcomrw"
>                  request ID: 536901122
>                 PDU bufsize: 8000 bytes
>                     timeout: 2s
>                     retries: 5
>                     backoff: 1)
>  at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 629
> SNMPWALK Problem for 1.3.6.1.2.1.1 on
> _netcomrw at 172.27.252.3::::::v4only_
> <mailto:netcomrw at 172.27.252.3::::::v4only>
>  at /usr/bin/cfgmaker line 950
> WARNING: Skipping _netcomrw at 172.27.252.3_
> <mailto:netcomrw at 172.27.252.3>: as no info could be retrieved
>
> See what do you think to try.
>
> Thomaz Portella
> Arquitetura de InfraEstrutura  - Tel.: 11 23936908
> Corporação Porto Seguro  - _http://www.portoseguro.com.br_
> <http://www.portoseguro.com.br/>
>
>
>
> De:        "Wm. Josiah Erikson" _<wjerikson at hampshire.edu>_
> <mailto:wjerikson at hampshire.edu>
> Para:        _thomaz.portella at portoseguro.com.br_
> <mailto:thomaz.portella at portoseguro.com.br>
> Cc:        _mrtg at lists.oetiker.ch_ <mailto:mrtg at lists.oetiker.ch>,
> mrtg
> _<mrtg-bounces+thomaz.portella=portoseguro.com.br at lists.oetiker.ch>_
> <mailto:mrtg-bounces+thomaz.portella=portoseguro.com.br at lists.oetiker.ch>
> Data:        05/07/2016 14:48
> Assunto:        Re: [mrtg] Continuing the post
>
> ------------------------------------------------------------------------
>
>
>
> Great, so that tells you how to install. Now read this:
> _http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html_
>
>     -Josiah
>
>
> On 7/5/16 1:25 PM, _thomaz.portella at portoseguro.com.br_
> <mailto:thomaz.portella at portoseguro.com.br>wrote:
> 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_
> <http://www.portoseguro.com.br/>
>
>
>
> De:        "Wm. Josiah Erikson" _<wjerikson at hampshire.edu>_
> <mailto:wjerikson at hampshire.edu>
> Para:        _thomaz.portella at portoseguro.com.br_
> <mailto:thomaz.portella at portoseguro.com.br>
> Cc:        _mrtg at lists.oetiker.ch_ <mailto:mrtg at lists.oetiker.ch>,
> mrtg
> _<mrtg-bounces+thomaz.portella=portoseguro.com.br at lists.oetiker.ch>_
> <mailto: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_
> <mailto: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_
> <http://www.portoseguro.com.br/>
>
>
>
> De:        "Wm. Josiah Erikson" _<wjerikson at hampshire.edu>_
> <mailto:wjerikson at hampshire.edu>
> Para:        _mrtg at lists.oetiker.ch_ <mailto: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>_
> <mailto: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_ <mailto: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_ <mailto: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.
>
>
> -- 
> 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.
>
>
> -- 
> 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.
>

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20160705/02d77bf6/attachment-0001.html>


More information about the mrtg mailing list