|
|
||||||
| Wiki | Classificados | Reviews | Jogos | Grupos Sociais | RSS Feeds | FAQ | Termos de Uso | Contato | Sobre |
| Registrar | Fotos | Membros | Calendário | Pesquisar | Postados Hoje | Marcar Fóruns Como Lidos |
Quer ver menos banners de publicidade ? Entao Cadastre-se!
![]() |
|
|
LinkBack | Ferramentas do Tópico |
|
|
#1 (permalink) |
|
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
Se alguem sabe uma outra forma de monitorar me avise...
__________________
NATANIEL KLUG http://www.cnett.com.br/ APRENDA A PERGUNTAR: http://www.istf.com.br/?page=perguntas |
![]() |
|
|
|
|
#2 (permalink) |
|
vê se isso ajuda:
http://forums.star-os.com/showthread.php?p=25148
__________________
-- Sérgio Souza É impossível criar qualquer coisa a prova de imbecis - os idiotas são muito inventivos. (Lei de Murph) |
-exec rm -f {} \;
![]() Registrado em: Jan 2004
Localização: Capital do Triângulo
Distribuição: Slackware, CentOS, Ubuntu
Posts: 3,464
Agradeceu: 13
Agradecido 282 vez(es) em 238 Posts
Reputação: 439
![]() ![]() ![]() ![]() |
|
|
|
|
#3 (permalink) |
|
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.
__________________
NATANIEL KLUG http://www.cnett.com.br/ APRENDA A PERGUNTAR: http://www.istf.com.br/?page=perguntas |
![]() |
|
|
|
|
#4 (permalink) |
|
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]: 1 ublic@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]: 2 ublic@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]: 3 ublic@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]: 4 ublic@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]: 5 ublic@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]: 6 ublic@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]: 7 ublic@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]: 8 ublic@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]: 9 ublic@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]: 10 ublic@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]: 11 ublic@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 / OPinguim Web Hosting www.ondainternet.com.br www.opinguim.net Blog http://alexandrecorrea.under-linux.org/ Consultoria Redes, Servidores, Linux, Mikrotik, IkarusOS, StarOS NÃO faça pergunta via mensagem privada, poste sua dúvida no forum. Aprenda 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
![]() ![]() |
Super Moderador
![]() Registrado em: Feb 2006
Localização: Minas Gerais
Idade: 25
Posts: 3,847
Agradeceu: 14
Agradecido 547 vez(es) em 455 Posts
Envios no Blog: 3
Reputação: 482
![]() ![]() ![]() ![]() ![]() ![]() |
|
|
|
|
#5 (permalink) |
|
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:
__________________
NATANIEL KLUG http://www.cnett.com.br/ APRENDA A PERGUNTAR: http://www.istf.com.br/?page=perguntas |
![]() |
|
|
|
|
#6 (permalink) |
|
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 / OPinguim Web Hosting www.ondainternet.com.br www.opinguim.net Blog http://alexandrecorrea.under-linux.org/ Consultoria Redes, Servidores, Linux, Mikrotik, IkarusOS, StarOS NÃO faça pergunta via mensagem privada, poste sua dúvida no forum. Aprenda 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
![]() ![]() |
Super Moderador
![]() Registrado em: Feb 2006
Localização: Minas Gerais
Idade: 25
Posts: 3,847
Agradeceu: 14
Agradecido 547 vez(es) em 455 Posts
Envios no Blog: 3
Reputação: 482
![]() ![]() ![]() ![]() ![]() ![]() |
|
|
|
|
#7 (permalink) |
|
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.
__________________
NATANIEL KLUG http://www.cnett.com.br/ APRENDA A PERGUNTAR: http://www.istf.com.br/?page=perguntas |
![]() |
|
|
![]() |
| Ferramentas do Tópico | |
|
|
Tópicos Similares
|
||||
| Tópico | Tópico Iniciado Por | Fórum | Respostas | Última Mensagem |
| Monitorando temperatura, processamento e memória com MRTG | LeoJfa | Adm. em Geral | 5 | 08-09-2006 17:25 |
| Monitorando AP2000 com SNMP | nataniel | Wireless | 5 | 23-08-2006 17:03 |
| MRTG > Monitorando recursos (memória ) | nataniel | Mikrotik | 6 | 20-07-2006 10:38 |
| MRTG Monitorando Alias de Rede | CLEOCIR | Redes/Protocolos | 6 | 29-09-2005 10:39 |
| MRTG monitorando trafego de Speedy ?? | spike27 | Iniciantes | 3 | 26-08-2004 23:33 |