BrbOS/Aplicativos/Network/SNMP

De BrByte Wiki
< BrbOS‎ | Aplicativos‎ | Network(Redirecionado de BrbOS/Network/SNMP Config)

A porta de conexão com o servidor de SNMP do BrbOS é 161 para ações padrões Controllr-relatorios-icon.png

Para as requisições de DNS a porta é 12161.

A ação padrão de SNMP é REJECT, sendo necessário cadastrar a ACL e community no aplicativo SNMP Config.

Private

O PEN (Private Enterprise Number) da BrByte é 49037.

  • todos os OID da BrByte começam com 1.3.6.1.4.1.49037
  • iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) brbyte (49037)

Exemplos de uso

  • acessar um OID .1.1.1.0 - Common.BrbOsInfo.ReleaseCode
  • informe 1.3.6.1.4.1.49037.1.1.1.0
  • acessar um OID .1.6.2.14.0 - Common.DnsInfo.Current.UnwantedQueries
  • informe 1.3.6.1.4.1.49037.1.6.2.14.0

OIDs

A seguir tem uma tabela dos OIDs disponíveis.

OID Nome Tipo Descrição
Common (1) BrbOsInfo (1)
*.1.1.1.0 Common.BrbOsInfo.ReleaseCode Gauge32 Código de release do sistema
*.1.1.2.0 Common.BrbOsInfo.ReleaseName String Nome do release do sistema
*.1.1.3.0 Common.BrbOsInfo.ReleaseVersion String Versão Atual do sistema
*.1.1.4.0 Common.BrbOsInfo.ReleaseBuild String Build Atual do sistema
*.1.1.5.0 Common.BrbOsInfo.ReleaseCpuIdent String Descrição da CPU
*.1.1.6.0 Common.BrbOsInfo.ReleaseHostname String Hostname
Common (1) LicenseInfo (2)
*.1.2.1.0 Common.LicenseInfo.ClientKey String Chave da licença
*.1.2.2.0 Common.LicenseInfo.ExpireDate String Data de expiração
*.1.2.3.0 Common.LicenseInfo.Expired INTEGER Informa se a licença esta expirada: 1 (sim) 2 não
*.1.2.4.0 Common.LicenseInfo.Level INTEGER Level do sistema
*.1.2.5.0 Common.LicenseInfo.Name String Nome do cliente
*.1.2.6.0 Common.LicenseInfo.Valid INTEGER Informa se a licença é valida: 1 (sim) 2 não
Common (1) CPU Info (3)
Common (1) CPU Info (3) Overall (1)
*.1.3.1.1.0 Common.CpuInfo.Overall.CpuCount INTEGER Número de Cores de CPU
*.1.3.1.2.0 Common.CpuInfo.Overall.PctIdle INTEGER Consumo de CPU em Idle
*.1.3.1.3.0 Common.CpuInfo.Overall.PctTotal INTEGER Consumo de CPU Total
*.1.3.1.4.0 Common.CpuInfo.Overall.PctInterrupt INTEGER Consumo de CPU em Interrupt
*.1.3.1.5.0 Common.CpuInfo.Overall.PctNice INTEGER Consumo de CPU em User Mode (Nice)
*.1.3.1.6.0 Common.CpuInfo.Overall.PctSys INTEGER Consumo de CPU em Sys Mode
*.1.3.1.7.0 Common.CpuInfo.Overall.PctUser INTEGER Consumo de CPU em User Mode
Common (1) CPU Info (3) Average (2)
*.1.3.2.1.0 Common.CpuInfo.Average.CpuCount INTEGER Quantidade de Cores de CPU
*.1.3.2.2.0 Common.CpuInfo.Average.PctIdle INTEGER Consumo de CPU em Idle
*.1.3.2.3.0 Common.CpuInfo.Average.PctTotal INTEGER Consumo de CPU Total
*.1.3.2.4.0 Common.CpuInfo.Average.PctInterrupt INTEGER Consumo de CPU em Interrupt
*.1.3.2.5.0 Common.CpuInfo.Average.PctNice INTEGER Consumo de CPU em User Mode (Nice)
*.1.3.2.6.0 Common.CpuInfo.Average.PctSys INTEGER Consumo de CPU em Sys Mode
*.1.3.2.7.0 Common.CpuInfo.Average.PctUser INTEGER Consumo de CPU em User Mode
Common (1) CPU Info (3) Cores (3) Table
*.1.3.3.1.x Common.CpuInfo.Cores.ID INTEGER Número da CPU
*.1.3.3.2.x Common.CpuInfo.Cores.PctIdle INTEGER Consumo de CPU em Idle
*.1.3.3.3.x Common.CpuInfo.Cores.PctTotal INTEGER Consumo de CPU Total
*.1.3.3.4.x Common.CpuInfo.Cores.PctInterrupt INTEGER Consumo de CPU em Interrupt
*.1.3.3.5.x Common.CpuInfo.Cores.PctNice INTEGER Consumo de CPU em User Mode (Nice)
*.1.3.3.6.x Common.CpuInfo.Cores.PctSys INTEGER Consumo de CPU em Sys Mode
*.1.3.3.7.x Common.CpuInfo.Cores.PctUser INTEGER Consumo de CPU em User Mode
Common (1) Memory Info (4)
*.1.4.1.0 Common.MemoryInfo .General
*.1.4.1.1.0 Common.MemoryInfo.General.TotalKBytes INTEGER Quantidade de memória total em KBytes
*.1.4.1.2.0 Common.MemoryInfo.General.FreeKBytes INTEGER Quantidade de memória livre em KBytes
*.1.4.1.3.0 Common.MemoryInfo.General.FreePCT INTEGER Quantidade de memória livre em %
*.1.4.1.4.0 Common.MemoryInfo.General.UsableKBytes INTEGER Quantidade de memória utilizável em KBytes
*.1.4.1.5.0 Common.MemoryInfo.General.UsedKBytes INTEGER Quantidade de memória usada em KBytes
*.1.4.1.6.0 Common.MemoryInfo.General.KernelKBytes INTEGER Quantidade de memória usada pelo Kernel em KBytes
Common (1) Storage Info (5)
*.1.5.1.0 Common.StorageInfo.General
*.1.5.1.1.0 Common.StorageInfo.General.DiskCount INTEGER Quantidade de Discos
*.1.5.2.0 Common.StorageInfo.DiskEntry Table
*.1.5.2.1.x Common.StorageInfo.DiskEntry.Index INTEGER ADM
*.1.5.2.2.x Common.StorageInfo.DiskEntry.Root INTEGER ADM
*.1.5.2.3.x Common.StorageInfo.DiskEntry.Attached INTEGER ADM
*.1.5.2.4.x Common.StorageInfo.DiskEntry.Dettached INTEGER ADM
*.1.5.2.5.x Common.StorageInfo.DiskEntry.DeviceName String ADM
*.1.5.2.6.x Common.StorageInfo.DiskEntry.DevicePath String ADM
*.1.5.2.7.x Common.StorageInfo.DiskEntry.StatusCode INTEGER ADM
*.1.5.2.8.x Common.StorageInfo.DiskEntry.BlockSize INTEGER ADM
*.1.5.2.9.x Common.StorageInfo.DiskEntry.MediaKBytes INTEGER ADM
*.1.5.2.10.x Common.StorageInfo.DiskEntry.TotalKBytes INTEGER ADM
*.1.5.2.11.x Common.StorageInfo.DiskEntry.FreeKBytes INTEGER ADM
*.1.5.2.12.x Common.StorageInfo.DiskEntry.FilesTotal INTEGER ADM
*.1.5.2.13.x Common.StorageInfo.DiskEntry.FilesFree INTEGER ADM
*.1.5.2.14.x Common.StorageInfo.DiskEntry.PctBytesFree INTEGER ADM
*.1.5.2.15.x Common.StorageInfo.DiskEntry.PctFilesFree INTEGER ADM
*.1.5.2.16.x Common.StorageInfo.DiskEntry.StatsRead Gauge32 ADM
*.1.5.2.17.x Common.StorageInfo.DiskEntry.StatsWrites Gauge32 ADM
*.1.5.2.18.x Common.StorageInfo.DiskEntry.StatsFrees Gauge32 ADM
*.1.5.2.19.x Common.StorageInfo.DiskEntry.StatsOther Gauge32 ADM
*.1.5.2.20.x Common.StorageInfo.DiskEntry.StatsReadKBytes Gauge32 ADM
*.1.5.2.21.x Common.StorageInfo.DiskEntry.StatsWriteKBytes Gauge32 ADM
*.1.5.2.22.x Common.StorageInfo.DiskEntry.StatsFreeKBytes Gauge32 ADM
Common (1) DNS Info (6)
*.1.6.1.0 Common.DnsInfo.General
*.1.6.1.1.0 Common.DnsInfo.General.Threads Counter32 Quantidade de Threads
*.1.6.2.0 Common.DnsInfo.Current
*.1.6.2.1.0 Common.DnsInfo.Current.NumQueries Counter32 Quantidade de Queries
*.1.6.2.2.0 Common.DnsInfo.Current.NumCacheHits Counter32 Quantidade de Queries que deram HIT
*.1.6.2.3.0 Common.DnsInfo.Current.NumCacheMiss Counter32 Quantidade de Queries que deram MISS
*.1.6.2.4.0 Common.DnsInfo.Current.NumPrefetch Counter32 Quantidade de prefetch
*.1.6.2.5.0 Common.DnsInfo.Current.NumRecursiveReplies Counter32 Quantidade de respostas recursivas
*.1.6.2.6.0 Common.DnsInfo.Current.RequestListAvg Counter32 Average de requisições em lista
*.1.6.2.7.0 Common.DnsInfo.Current.RequestListMax Counter32 Máximo de requisições na lista
*.1.6.2.8.0 Common.DnsInfo.Current.RequestListOverWritten Counter32 Soma de OverWritten em lista
*.1.6.2.9.0 Common.DnsInfo.Current.RequestListExceeded Counter32 Soma de Exceeded em lista
*.1.6.2.10.0 Common.DnsInfo.Current.RequestListCurrentAll Counter32 Current All
*.1.6.2.11.0 Common.DnsInfo.Current.RequestListCurrentUser Counter32 Current User
*.1.6.2.12.0 Common.DnsInfo.Current.RecursionTimeAvg Counter32 Average de tempo de recursão
*.1.6.2.13.0 Common.DnsInfo.Current.RecursionTimeMedian Counter32 Média de tempo de recursão
*.1.6.2.14.0 Common.DnsInfo.Current.UnwantedQueries Counter32 Quantidade de requisições não desejadas
*.1.6.2.15.0 Common.DnsInfo.Current.UnwantedReplies Counter32 Quantidade de respostas não desejadas
*.1.6.2.16.0 Common.DnsInfo.Current.MemCacheRRSET Gauge32 Tamanho de Cache de RRSET
*.1.6.2.17.0 Common.DnsInfo.Current.MemCacheMessage Gauge32 Tamanho de Cache de Message
*.1.6.2.18.0 Common.DnsInfo.Current.MemCacheCount Counter32 Quantidade de item em cache
*.1.6.2.19.0 Common.DnsInfo.Current.RRSETCacheCount Counter32 Quantidade de RRSET em cache
*.1.6.2.20.0 Common.DnsInfo.Current.InfraCacheCount Counter32 Quantidade de INFRA em cache
*.1.6.2.21.0 Common.DnsInfo.Current.KeyCacheCount Counter32 Quantidade de KEY em cache
*.1.6.3.0 Common.DnsInfo.Rate
*.1.6.3.1.0 Common.DnsInfo.Rate.NumQueries INTEGER Quantidade de Queries
*.1.6.3.2.0 Common.DnsInfo.Rate.NumCacheHits INTEGER Quantidade de Queries que deram HIT
*.1.6.3.3.0 Common.DnsInfo.Rate.NumCacheMiss INTEGER Quantidade de Queries que deram MISS
*.1.6.3.4.0 Common.DnsInfo.Rate.NumPrefetch INTEGER Quantidade de prefetch
*.1.6.3.5.0 Common.DnsInfo.Rate.NumRecursiveReplies INTEGER Quantidade de respostas recursivas
*.1.6.3.6.0 Common.DnsInfo.Rate.RequestListAvg INTEGER Average de requisições em lista
*.1.6.3.7.0 Common.DnsInfo.Rate.RequestListMax INTEGER Máximo de requisições na lista
*.1.6.3.8.0 Common.DnsInfo.Rate.RequestListOverWritten INTEGER Soma de OverWritten em lista
*.1.6.3.9.0 Common.DnsInfo.Rate.RequestListExceeded INTEGER Soma de Exceeded em lista