- bsnmp
+ Responder ao Tópico
-
bsnmp
Pessoal, estou tentando instalar o bsnmp no free bsd para monitora'lo via dude. Ja fiz varias configuracoes e o dude nao consegue ler o bsnmp. Estou preicsando da ajude de vcs para resolver esse problema.
-
Re: bsnmp
Por padrão nos novos freebsds, o bsnmp já está instalado.
O arquivo de configuração é o /etc/snmpd.config
Saudações,
-
Re: bsnmp
Pessoal estar é o arquivo de configuração do meu bsnmp:
location := "Squid"
contact := "jasonlinux"
system := 1 # FreeBSD
traphost := 192.168.1.2 #IP DO SERVIDOR ONDE ESTAR O DUDE
trapport := 161 #PORTAS QUE O DUDE ESTAR ESCUTANDO
# Change this!
read := "dude-telecom" #NOME DA COMUNIDADE QUE O THE DUDE ESTA ESCUTANDO
write := "geheim"
trap := "mytrap"
begemotSnmpdDebugDumpPdus = 2
begemotSnmpdDebugSyslogPri = 7
begemotSnmpdCommunityString.0.1 = $(read)
begemotSnmpdCommunityString.0.2 = $(write)
begemotSnmpdCommunityDisable = 1
# open standard SNMP ports
begemotSnmpdPortStatus.0.0.0.0.161 = 1
# open a unix domain socket
begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1
begemotSnmpdLocalPortType."/var/run/snmpd.sock" = 4
# send traps to the traphost
begemotTrapSinkStatus.[$(traphost)].$(trapport) = 4
begemotTrapSinkVersion.[$(traphost)].$(trapport) = 2
begemotTrapSinkComm.[$(traphost)].$(trapport) = $(trap)
sysContact = $(contact)
sysLocation = $(location)
sysObjectId = 1.3.6.1.4.1.12325.1.1.2.1.$(system)
snmpEnableAuthenTraps = 2
vejam se estou errando alguma coisa.