Hi everyone. I am a beginner of Logstash and try to utilize it to receive the SNMP traps from the managed devices. For convenience, I send the simulated SNMP traps to Logstash server. The problem is I can receive the simulated SNMP when I generate those traps on the same server and send them to the local host 127.0.0.1. But when I try to generate the SNMP traps from other machines like my personal computer(Windows 7), then the Logstash could not receive anything. Can you give some hints about the possible reasons? Thank you very much! Below is the configuration file of my Logstash:
input{
snmptrap
{
community => "public"
host => "0.0.0.0"
port => 1080
}
}
filter {
}
output {
file {
path => "/home/KH44IM/SNMPTrap.json"
}
}