Linux Snmp bilgisi sorma [Cevabı] [Cevabı]

soruldu 23.02.2017

güncellendi 23.02.2017

ubuntu'ya SNMP'yi yüklemelisin ilk olarak

rocommunity public
agentaddress localhost:161

Sonra Router'a (xxx.xx.xx.xx == ubuntu'daki ip adresin) Aşağıdaki kodları gir

snmp-server community public RO
snmp-server enable traps bgp
snmp-server host xxx.xx.xx.xx public


800 SNMP packets input
    0 Bad SNMP version errors
    0 Unknown community name
    0 Illegal operation for community name supplied
    0 Encoding errors
    800 Number of requested variables
    0 Number of altered variables
    0 Get-request PDUs
    800 Get-next PDUs
    0 Set-request PDUs
    0 Input queue packet drops (Maximum queue size 1000)
901 SNMP packets output
    0 Too big errors (Maximum packet size 1500)
    0 No such name errors
    0 Bad values errors
    0 General errors
    800 Response PDUs
    101 Trap PDUs

SNMP logging: enabled
    Logging to xxx.xx.xx.xx.161, 0/10, 101 sent, 0 dropped.

Böylelikle ubuntuya SNMP verilerini çekebilirsin

Yorumlar

yorum ekle