[FUG-BR] OT - CACTI
Jose Augusto
augusto.ferronato em gmail.com
Segunda Outubro 22 15:32:14 BRST 2007
Cara, dei o comando
#snmpwalk 10.10.51.37 -c public -v1
RFC1213-MIB::sysDescr.0 = STRING: "Hardware: x86 Family 6 Model 15 Stepping
8 AT/AT COMPATIBLE - Software: Windows Version 5.2
(Build 3790 Uniprocessor Free)"
RFC1213-MIB::sysObjectID.0 = OID: RFC1155-SMI::enterprises.311.1.1.3.1.2
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (392962) 1:05:29.62
RFC1213-MIB::sysContact.0 = STRING: "Suporte"
RFC1213-MIB::sysName.0 = STRING: "BSBDES0032"
RFC1213-MIB::sysLocation.0 = STRING: "EMARCAS"
RFC1213-MIB::sysServices.0 = INTEGER: 79
RFC1213-MIB::ifNumber.0 = INTEGER: 2
RFC1213-MIB::ifIndex.1 = INTEGER: 1
RFC1213-MIB::ifIndex.65539 = INTEGER: 65539
RFC1213-MIB::ifDescr.1 = Hex-STRING: 4D 53 20 54 43 50 20 4C 6F 6F 70 62 61
63 6B 20
69 6E 74 65 72 66 61 63 65 00
RFC1213-MIB::ifDescr.65539 = Hex-STRING: 56 4D 77 61 72 65 20 41 63 63 65 6C
65 72 61 74
65 64 20 41 4D 44 20 50 43 4E 65 74 20 41 64 61
70 74 65 72 00
RFC1213-MIB::ifType.1 = INTEGER: softwareLoopback(24)
RFC1213-MIB::ifType.65539 = INTEGER: ethernet-csmacd(6)
RFC1213-MIB::ifMtu.1 = INTEGER: 1520
RFC1213-MIB::ifMtu.65539 = INTEGER: 1500
RFC1213-MIB::ifSpeed.1 = Gauge32: 10000000
RFC1213-MIB::ifSpeed.65539 = Gauge32: 1000000000
RFC1213-MIB::ifPhysAddress.1 = ""
RFC1213-MIB::ifPhysAddress.65539 = Hex-STRING: 00 0C 29 6B 39 42
RFC1213-MIB::ifAdminStatus.1 = INTEGER: up(1)
RFC1213-MIB::ifAdminStatus.65539 = INTEGER: up(1)
RFC1213-MIB::ifOperStatus.1 = INTEGER: up(1)
RFC1213-MIB::ifOperStatus.65539 = INTEGER: up(1)
RFC1213-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
RFC1213-MIB::ifLastChange.65539 = Timeticks: (0) 0:00:00.00
RFC1213-MIB::ifInOctets.1 = Counter32: 21999
RFC1213-MIB::ifInOctets.65539 = Counter32: 17460391
RFC1213-MIB::ifInUcastPkts.1 = Counter32: 294
RFC1213-MIB::ifInUcastPkts.65539 = Counter32: 20885
RFC1213-MIB::ifInNUcastPkts.1 = Counter32: 0
RFC1213-MIB::ifInNUcastPkts.65539 = Counter32: 77787
RFC1213-MIB::ifInDiscards.1 = Counter32: 0
RFC1213-MIB::ifInDiscards.65539 = Counter32: 0
RFC1213-MIB::ifInErrors.1 = Counter32: 0
RFC1213-MIB::ifInErrors.65539 = Counter32: 0
RFC1213-MIB::ifInUnknownProtos.1 = Counter32: 0
RFC1213-MIB::ifInUnknownProtos.65539 = Counter32: 1502
RFC1213-MIB::ifOutOctets.1 = Counter32: 21999
Via CLI
scli > open 10.10.51.37 public
100-scli trying SNMPv2c ... good
(10.10.51.37) scli >
Outro comando
# snmpwalk 10.10.51.37 -c public -v2c
RFC1213-MIB::sysDescr.0 = STRING: "Hardware: x86 Family 6 Model 15 Stepping
8 AT/AT COMPATIBLE - Software: Windows Version 5.2
(Build 3790 Uniprocessor Free)"
RFC1213-MIB::sysObjectID.0 = OID: RFC1155-SMI::enterprises.311.1.1.3.1.2
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (404988) 1:07:29.88
RFC1213-MIB::sysContact.0 = STRING: "Suporte"
RFC1213-MIB::sysName.0 = STRING: "BSBDES0032"
RFC1213-MIB::sysLocation.0 = STRING: "EMARCAS"
RFC1213-MIB::sysServices.0 = INTEGER: 79
RFC1213-MIB::ifNumber.0 = INTEGER: 2
RFC1213-MIB::ifIndex.1 = INTEGER: 1
RFC1213-MIB::ifIndex.65539 = INTEGER: 65539
RFC1213-MIB::ifDescr.1 = Hex-STRING: 4D 53 20 54 43 50 20 4C 6F 6F 70 62 61
63 6B 20
69 6E 74 65 72 66 61 63 65 00
RFC1213-MIB::ifDescr.65539 = Hex-STRING: 56 4D 77 61 72 65 20 41 63 63 65 6C
65 72 61 74
65 64 20 41 4D 44 20 50 43 4E 65 74 20 41 64 61
70 74 65 72 00
RFC1213-MIB::ifType.1 = INTEGER: softwareLoopback(24)
RFC1213-MIB::ifType.65539 = INTEGER: ethernet-csmacd(6)
RFC1213-MIB::ifMtu.1 = INTEGER: 1520
RFC1213-MIB::ifMtu.65539 = INTEGER: 1500
RFC1213-MIB::ifSpeed.1 = Gauge32: 10000000
RFC1213-MIB::ifSpeed.65539 = Gauge32: 1000000000
RFC1213-MIB::ifPhysAddress.1 = ""
RFC1213-MIB::ifPhysAddress.65539 = Hex-STRING: 00 0C 29 6B 39 42
RFC1213-MIB::ifAdminStatus.1 = INTEGER: up(1)
RFC1213-MIB::ifAdminStatus.65539 = INTEGER: up(1)
RFC1213-MIB::ifOperStatus.1 = INTEGER: up(1)
RFC1213-MIB::ifOperStatus.65539 = INTEGER: up(1)
RFC1213-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
RFC1213-MIB::ifLastChange.65539 = Timeticks: (0) 0:00:00.00
RFC1213-MIB::ifInOctets.1 = Counter32: 21999
RFC1213-MIB::ifInOctets.65539 = Counter32: 17696983
RFC1213-MIB::ifInUcastPkts.1 = Counter32: 294
RFC1213-MIB::ifInUcastPkts.65539 = Counter32: 23061
RFC1213-MIB::ifInNUcastPkts.1 = Counter32: 0
RFC1213-MIB::ifInNUcastPkts.65539 = Counter32: 78251
RFC1213-MIB::ifInDiscards.1 = Counter32: 0
RFC1213-MIB::ifInDiscards.65539 = Counter32: 0
RFC1213-MIB::ifInErrors.1 = Counter32: 0
RFC1213-MIB::ifInErrors.65539 = Counter32: 0
RFC1213-MIB::ifInUnknownProtos.1 = Counter32: 0
RFC1213-MIB::ifInUnknownProtos.65539 = Counter32: 1517
RFC1213-MIB::ifOutOctets.1 = Counter32: 21999
scli > open 10.10.51.37 public
100-scli trying SNMPv2c ... good
Não to entendendo, seria problemas de permissão?
Flws
Em 22/10/07, Alex Moura <alexsm em gmail.com> escreveu:
>
> Em 22/10/07, Márcio Luciano Donada <mdonada em auroraalimentos.com.br>
> escreveu:
> >
>
> Outra básica: consegue obter alguma resposta de consulta a algum OID
> via CLI, com o snmpwalk, por exemplo?
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
--
------------------------------
"Segurança da Informação se faz com tecnologia, processos e pessoas, e a
formação destas exige mais que uma seqüência de treinamentos. Porque você
treina macacos. Pessoas,você educa."
"Se a gente se lança sem vigor, sete de dez ações tomadas não dão certo. É
extremamente difícil tomar decisões num estado de agitação. Por outro lado,
se sem se preocupar com as conseqüências menores, abordamos os problemas com
o espíito afiado como uma lâmina, sempre encontramos a solução em menos
tempo do que é necessáio para respirar sete vezes." Nabeshima Naoshige
(1538-1618)
Mais detalhes sobre a lista de discussão freebsd