Visite também: BR-Linux ·  VivaOLinux ·  LinuxSecurity ·  Dicas-L ·  NoticiasLinux ·  SoftwareLivre.org ·  [mais]
Tópico Fechado
Resultados 1 a 7 de 7

Tópico: Monitorando o StarOS (MRTG + SNMP)

  1. #1
    Data de Ingresso
    Jul 2004
    Idade
    28
    Posts
    1.292
    Reputação
    202

    Padrão Monitorando o StarOS (MRTG + SNMP)

    Povo,

    como eu faço para monitorar o StarOS? Eu já tentei várias configurações do MRTG e nada funciona direito. Sempre dá esse retorno pro MRTG:

    Código:
    WARNING: could not match&get 172.20.0.11:/ifInOctets for Descr 'wpcm0'
    ERROR: Target[ema.wpcm0][_IN_] ' $target->[2]{$mode} ' did not eval into defined data
    ERROR: Target[ema.wpcm0][_OUT_] ' $target->[2]{$mode} ' did not eval into defined data
    Esse erro acontece aleatoriamente para cada interface do sistema. Isso é estressante porque as vezes a gente acha que tá com uma velocidade a conexão e na realidade é outra velocidade.

    Se alguem sabe uma outra forma de monitorar me avise...

  2. #2
    Avatar de sergio
    sergio está desconectado do kill -9 $every; sergio sergio sergio sergio sergio sergio sergio sergio sergio sergio
    Data de Ingresso
    Jan 2004
    Localização
    Capital do Triângulo
    Idade
    37
    Posts
    4.690
    Posts de Blog
    9
    Reputação
    10

    Padrão Re: Monitorando o StarOS (MRTG + SNMP)

    Sérgio Souza

    Termos de Uso Under-Linux

    Use sempre Pesquisar é rápido e sempre encontrará soluções para suas dúvidas.

    Leia o FAQ e se oriente sobre como funciona o portal Under-Linux


    Diga não a pirataria; use Linux!

  3. #3
    Data de Ingresso
    Jul 2004
    Idade
    28
    Posts
    1.292
    Reputação
    202

    Padrão Re: Monitorando o StarOS (MRTG + SNMP)

    Sergio,

    Sim e não. Aquela forma é para monitorar a qualidade do enlace (eu estou testando um script parecido) o que eu preciso é monitorar o consumo de banda no backbone e nos cartões wlan que vão para os clientes.

  4. #4
    Avatar de alexandrecorrea
    alexandrecorrea está desconectado Super Moderador alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea
    Data de Ingresso
    Feb 2006
    Localização
    Sacramento, MG
    Idade
    26
    Posts
    4.982
    Posts de Blog
    24
    Reputação
    708

    Padrão Re: Monitorando o StarOS (MRTG + SNMP)

    Nataniel,

    monitoro o consumo do staros em um pop meu aqui assim:


    ### Global Config Options
    EnableIPv6: no
    XSize[_]: 350
    YSize[_]: 150
    Title[_]: Onda Internet - Pop08 - AP01
    WorkDir: /www/stats
    Options[_]: growright, bits
    SetEnv[_]: MRTG_INT_IP="" MRTG_INT_DESCR=""
    MaxBytes[_]: 1250000

    ################################### ###################################
    # System: router
    # Description:
    # Contact: Not Configured
    # Location: Not Configured
    ################################### ###################################


    ### Interface 1 >> Descr: 'lo' | Name: '' | Ip: '127.0.0.1' | Eth: '' ###
    ### The following interface is commented out because:
    ### * it is a Software Loopback interface
    #
    # Target[111.222.333.444_1]: 1ublic@111.222.333.444:
    # SetEnv[111.222.333.444_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo"
    # MaxBytes[111.222.333.444_1]: 1250000
    # Title[111.222.333.444_1]: Traffic Analysis for 1 -- router
    # PageTop[111.222.333.444_1]: <H1>Traffic Analysis for 1 -- router</H1>
    # <TABLE>
    # <TR><TD>System:</TD> <TD>router in Not Configured</TD></TR>
    # <TR><TD>Maintainer:</TD> <TD>Not Configured</TD></TR>
    # <TR><TD>Description:</TD><TD>lo </TD></TR>
    # <TR><TD>ifType:</TD> <TD>softwareLoopback (24)</TD></TR>
    # <TR><TD>ifName:</TD> <TD></TD></TR>
    # <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR>
    # <TR><TD>Ip:</TD> <TD>127.0.0.1 (localhost.localdomain)</TD></TR>
    # </TABLE>


    ### Interface 2 >> Descr: 'br0' | Name: '' | Ip: '111.222.333.444' | Eth: '' ###
    ### The following interface is commented out because:
    ### * has a speed of 0 which makes no sense
    #
    # Target[111.222.333.444_2]: 2ublic@111.222.333.444:
    # SetEnv[111.222.333.444_2]: MRTG_INT_IP="111.222.333.444" MRTG_INT_DESCR="br0"
    # MaxBytes[111.222.333.444_2]: 0
    # Title[111.222.333.444_2]: Traffic Analysis for 2 -- router
    # PageTop[111.222.333.444_2]: <H1>Traffic Analysis for 2 -- router</H1>
    # <TABLE>
    # <TR><TD>System:</TD> <TD>router in Not Configured</TD></TR>
    # <TR><TD>Maintainer:</TD> <TD>Not Configured</TD></TR>
    # <TR><TD>Description:</TD><TD>br0 </TD></TR>
    # <TR><TD>ifType:</TD> <TD>Other (1)</TD></TR>
    # <TR><TD>ifName:</TD> <TD></TD></TR>
    # <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR>
    # <TR><TD>Ip:</TD> <TD>111.222.333.444 ()</TD></TR>
    # </TABLE>


    ### Interface 3 >> Descr: 'tunl0' | Name: '' | Ip: '0.0.0.0' | Eth: '' ###
    ### The following interface is commented out because:
    ### * it is administratively DOWN
    ### * it is operationally DOWN
    ### * has a speed of 0 which makes no sense
    #
    # Target[111.222.333.444_3]: 3ublic@111.222.333.444:
    # SetEnv[111.222.333.444_3]: MRTG_INT_IP="0.0.0.0" MRTG_INT_DESCR="tunl0"
    # MaxBytes[111.222.333.444_3]: 0
    # Title[111.222.333.444_3]: Traffic Analysis for 3 -- router
    # PageTop[111.222.333.444_3]: <H1>Traffic Analysis for 3 -- router</H1>
    # <TABLE>
    # <TR><TD>System:</TD> <TD>router in Not Configured</TD></TR>
    # <TR><TD>Maintainer:</TD> <TD>Not Configured</TD></TR>
    # <TR><TD>Description:</TD><TD>tunl0 </TD></TR>
    # <TR><TD>ifType:</TD> <TD>Other (1)</TD></TR>
    # <TR><TD>ifName:</TD> <TD></TD></TR>
    # <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR>
    # <TR><TD>Ip:</TD> <TD>0.0.0.0 ()</TD></TR>
    # </TABLE>


    ### Interface 4 >> Descr: 'gre0' | Name: '' | Ip: '' | Eth: '' ###
    ### The following interface is commented out because:
    ### * it is administratively DOWN
    ### * it is operationally DOWN
    ### * has a speed of 0 which makes no sense
    #
    # Target[111.222.333.444_4]: 4ublic@111.222.333.444:
    # SetEnv[111.222.333.444_4]: MRTG_INT_IP="" MRTG_INT_DESCR="gre0"
    # MaxBytes[111.222.333.444_4]: 0
    # Title[111.222.333.444_4]: Traffic Analysis for 4 -- router
    # PageTop[111.222.333.444_4]: <H1>Traffic Analysis for 4 -- router</H1>
    # <TABLE>
    # <TR><TD>System:</TD> <TD>router in Not Configured</TD></TR>
    # <TR><TD>Maintainer:</TD> <TD>Not Configured</TD></TR>
    # <TR><TD>Description:</TD><TD>gre0 </TD></TR>
    # <TR><TD>ifType:</TD> <TD>Other (1)</TD></TR>
    # <TR><TD>ifName:</TD> <TD></TD></TR>
    # <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR>
    # </TABLE>


    ### Interface 5 >> Descr: 'eth0' | Name: '' | Ip: '' | Eth: '00-02-b3-1c-2b-ac' ###

    Target[OndaPop02B-StarOS-eth0]: 5ublic@111.222.333.444:
    SetEnv[OndaPop02B-StarOS-eth0]: MRTG_INT_IP="" MRTG_INT_DESCR="eth0"
    MaxBytes[OndaPop02B-StarOS-eth0]: 1250000
    Title[OndaPop02B-StarOS-eth0]: Traffic Analysis for 5 -- router
    PageTop[OndaPop02B-StarOS-eth0]: <H1>Traffic Analysis for 5 -- router</H1>
    <TABLE>
    <TR><TD>System:</TD> <TD>StarOS 2.10.0 (4693)</TD></TR>
    <TR><TD>Maintainer:</TD> <TD>alexandre@ondainternet.com.br </TD></TR>
    <TR><TD>Description:</TD><TD>eth0 </TD></TR>
    <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
    <TR><TD>ifName:</TD> <TD>eth0</TD></TR>
    <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR>
    </TABLE>


    ### Interface 6 >> Descr: 'ecb' | Name: '' | Ip: '' | Eth: '' ###
    ### The following interface is commented out because:
    ### * it is administratively DOWN
    ### * it is operationally DOWN
    ### * has a speed of 0 which makes no sense
    #
    # Target[111.222.333.444_6]: 6ublic@111.222.333.444:
    # SetEnv[111.222.333.444_6]: MRTG_INT_IP="" MRTG_INT_DESCR="ecb"
    # MaxBytes[111.222.333.444_6]: 0
    # Title[111.222.333.444_6]: Traffic Analysis for 6 -- router
    # PageTop[111.222.333.444_6]: <H1>Traffic Analysis for 6 -- router</H1>
    # <TABLE>
    # <TR><TD>System:</TD> <TD>router in Not Configured</TD></TR>
    # <TR><TD>Maintainer:</TD> <TD>Not Configured</TD></TR>
    # <TR><TD>Description:</TD><TD>ecb </TD></TR>
    # <TR><TD>ifType:</TD> <TD>Other (1)</TD></TR>
    # <TR><TD>ifName:</TD> <TD></TD></TR>
    # <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR>
    # </TABLE>


    ### Interface 7 >> Descr: 'ipacct' | Name: '' | Ip: '' | Eth: '' ###
    ### The following interface is commented out because:
    ### * it is administratively DOWN
    ### * it is operationally DOWN
    ### * has a speed of 0 which makes no sense
    #
    # Target[111.222.333.444_7]: 7ublic@111.222.333.444:
    # SetEnv[111.222.333.444_7]: MRTG_INT_IP="" MRTG_INT_DESCR="ipacct"
    # MaxBytes[111.222.333.444_7]: 0
    # Title[111.222.333.444_7]: Traffic Analysis for 7 -- router
    # PageTop[111.222.333.444_7]: <H1>Traffic Analysis for 7 -- router</H1>
    # <TABLE>
    # <TR><TD>System:</TD> <TD>router in Not Configured</TD></TR>
    # <TR><TD>Maintainer:</TD> <TD>Not Configured</TD></TR>
    # <TR><TD>Description:</TD><TD>ipacct </TD></TR>
    # <TR><TD>ifType:</TD> <TD>Other (1)</TD></TR>
    # <TR><TD>ifName:</TD> <TD></TD></TR>
    # <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR>
    # </TABLE>


    ### Interface 8 >> Descr: 'beacon' | Name: '' | Ip: '' | Eth: '' ###
    ### The following interface is commented out because:
    ### * it is administratively DOWN
    ### * it is operationally DOWN
    ### * has a speed of 0 which makes no sense
    #
    # Target[111.222.333.444_8]: 8ublic@111.222.333.444:
    # SetEnv[111.222.333.444_8]: MRTG_INT_IP="" MRTG_INT_DESCR="beacon"
    # MaxBytes[111.222.333.444_8]: 0
    # Title[111.222.333.444_8]: Traffic Analysis for 8 -- router
    # PageTop[111.222.333.444_8]: <H1>Traffic Analysis for 8 -- router</H1>
    # <TABLE>
    # <TR><TD>System:</TD> <TD>router in Not Configured</TD></TR>
    # <TR><TD>Maintainer:</TD> <TD>Not Configured</TD></TR>
    # <TR><TD>Description:</TD><TD>beacon </TD></TR>
    # <TR><TD>ifType:</TD> <TD>Other (1)</TD></TR>
    # <TR><TD>ifName:</TD> <TD></TD></TR>
    # <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR>
    # </TABLE>


    ### Interface 9 >> Descr: 'wlanbr' | Name: '' | Ip: '' | Eth: '' ###
    ### The following interface is commented out because:
    ### * it is administratively DOWN
    ### * it is operationally DOWN
    #
    # Target[111.222.333.444_9]: 9ublic@111.222.333.444:
    # SetEnv[111.222.333.444_9]: MRTG_INT_IP="" MRTG_INT_DESCR="wlanbr"
    # MaxBytes[111.222.333.444_9]: 1250000
    # Title[111.222.333.444_9]: Traffic Analysis for 9 -- router
    # PageTop[111.222.333.444_9]: <H1>Traffic Analysis for 9 -- router</H1>
    # <TABLE>
    # <TR><TD>System:</TD> <TD>router in Not Configured</TD></TR>
    # <TR><TD>Maintainer:</TD> <TD>Not Configured</TD></TR>
    # <TR><TD>Description:</TD><TD>wlanbr </TD></TR>
    # <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
    # <TR><TD>ifName:</TD> <TD></TD></TR>
    # <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR>
    # </TABLE>


    ### Interface 10 >> Descr: 'wpcm0' | Name: '' | Ip: '' | Eth: '' ###

    Target[OndaPop02B-StarOS-wlan0]: 10ublic@111.222.333.444:
    SetEnv[OndaPop02B-StarOS-wlan0]: MRTG_INT_IP="" MRTG_INT_DESCR="wpcm0"
    MaxBytes[OndaPop02B-StarOS-wlan0]: 1250000
    Title[OndaPop02B-StarOS-wlan0]: Traffic Analysis for 10 -- router
    PageTop[OndaPop02B-StarOS-wlan0]: <H1>Traffic Analysis for 10 -- router</H1>
    <TABLE>
    <TR><TD>System:</TD> <TD>StarOS 2.10.0 (4693)</TD></TR>
    <TR><TD>Maintainer:</TD> <TD>alexandre@ondainternet.com.br </TD></TR>
    <TR><TD>Description:</TD><TD>wpcm0 </TD></TR>
    <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
    <TR><TD>ifName:</TD> <TD>wpcm0</TD></TR>
    <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR>
    </TABLE>


    ### Interface 11 >> Descr: 'cbq' | Name: '' | Ip: '' | Eth: '' ###
    ### The following interface is commented out because:
    ### * it is administratively DOWN
    ### * it is operationally DOWN
    ### * has a speed of 0 which makes no sense
    #
    # Target[111.222.333.444_11]: 11ublic@111.222.333.444:
    # SetEnv[111.222.333.444_11]: MRTG_INT_IP="" MRTG_INT_DESCR="cbq"
    # MaxBytes[111.222.333.444_11]: 0
    # Title[111.222.333.444_11]: Traffic Analysis for 11 -- router
    # PageTop[111.222.333.444_11]: <H1>Traffic Analysis for 11 -- router</H1>
    # <TABLE>
    # <TR><TD>System:</TD> <TD>router in Not Configured</TD></TR>
    # <TR><TD>Maintainer:</TD> <TD>Not Configured</TD></TR>
    # <TR><TD>Description:</TD><TD>cbq </TD></TR>
    # <TR><TD>ifType:</TD> <TD>Other (1)</TD></TR>
    # <TR><TD>ifName:</TD> <TD></TD></TR>
    # <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR>
    # </TABLE>


    funciona... onde eh 111.222.333.444 eh o ip do staros


    Sds.
    Alexandre Correa
    Onda Internet
    www.ondainternet.com.br


    Blog http://alexandrecorrea.under-linux.org/

    Consultoria Redes, Servidores, Linux, Mikrotik, IkarusOS, StarOSAprenda a usar o forum, dica by Hitler: http://www.youtube.com/watch?v=8zFYt1_0FUE

    Leia o FAQ UnderLinux !!!!!
    http://under-linux.org/wiki/index.ph...Linux_Wiki:FAQ

    Sistema de gerenciamento para provedor:
    MyAuth Gateway 3: www.myauth.com.br
    Sistema de Cache: www.supercache.com.br

  5. #5
    Data de Ingresso
    Jul 2004
    Idade
    28
    Posts
    1.292
    Reputação
    202

    Padrão Re: Monitorando o StarOS (MRTG + SNMP)

    Alexandre,

    O problema é que assim você está usando o sistema de análise de tráfego pelo número da interface o que não me serve já que eu trabalho com PPPoE e as interfaces vivem mudando de número...

    Código:
    Target[OndaPop02B-StarOS-wlan0]: 10:public@111.222.333.444:
    Eu gostaria de monitorar o tráfego nas interfaces que aceitam conexões PPPoE mas estou chegando a conclusao de que é impossível e terei que controlar apenas pela interface do backbone mesmo.

  6. #6
    Avatar de alexandrecorrea
    alexandrecorrea está desconectado Super Moderador alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea
    Data de Ingresso
    Feb 2006
    Localização
    Sacramento, MG
    Idade
    26
    Posts
    4.982
    Posts de Blog
    24
    Reputação
    708

    Padrão Re: Monitorando o StarOS (MRTG + SNMP)

    na verdade faço todo controle nos servidores "terrestres" ... o staros fica apenas como bridge ... apenas repassando o trafego para o servidor e o servidor controlando...

    aproveitando..

    voce tem os MIBS que pegam os clientes online ? e o mib do sinal ?


    consegui os mibs do ap2000 e da terabeam ap plus... no staros nao sei quais.. e com o snmpwalk nao consegui achar...
    Sds.
    Alexandre Correa
    Onda Internet
    www.ondainternet.com.br


    Blog http://alexandrecorrea.under-linux.org/

    Consultoria Redes, Servidores, Linux, Mikrotik, IkarusOS, StarOSAprenda a usar o forum, dica by Hitler: http://www.youtube.com/watch?v=8zFYt1_0FUE

    Leia o FAQ UnderLinux !!!!!
    http://under-linux.org/wiki/index.ph...Linux_Wiki:FAQ

    Sistema de gerenciamento para provedor:
    MyAuth Gateway 3: www.myauth.com.br
    Sistema de Cache: www.supercache.com.br

  7. #7
    Data de Ingresso
    Jul 2004
    Idade
    28
    Posts
    1.292
    Reputação
    202

    Padrão Re: Monitorando o StarOS (MRTG + SNMP)

    Alexandre,

    É realmente assim pra mim não irá funcionar... hehehe...

    O MIB eu não tenho mas no forum internacional do StarOS tem vários scripts para fazer essas verificações usando o StarUtil (muito bom o software) e integrar os resultados do StarUtil ao MRTG. Faz 1001 coisas esse StarUtil.

Tópico Fechado

Tópicos Similares

  1. Respostas: 5
    Último Post: 08-09-2006, 17:25
  2. Monitorando AP2000 com SNMP
    Por nataniel no fórum Wireless
    Respostas: 5
    Último Post: 23-08-2006, 17:03
  3. MRTG > Monitorando recursos (memória )
    Por nataniel no fórum Mikrotik
    Respostas: 6
    Último Post: 20-07-2006, 10:38
  4. MRTG Monitorando Alias de Rede
    Por CLEOCIR no fórum Redes/Protocolos
    Respostas: 6
    Último Post: 29-09-2005, 10:39
  5. MRTG monitorando trafego de Speedy ??
    Por spike27 no fórum Iniciantes
    Respostas: 3
    Último Post: 26-08-2004, 23:33

Visitantes encontraram esta pagina procurando por:

Nobody landed on this page from a search engine, yet!

Marcadores

Permissões de Postagem

  • Você não pode iniciar novos tópicos
  • Você pode enviar respostas
  • Você não pode enviar anexos
  • Você não pode editar suas mensagens