Help creating a rule for LAN SNMP discovery

Hi All.

I´m very new at Suricata, sorry if i made some mistakes. And English isn´t my language.

Thne goal to put a Surcita server on mi LAN and check who are checking for snmp open machines on the network. Because or snmp activated UPS, are sending us menssages that someone one the LAN are try to ask for snmp data.
Server install Already Done.
But i need some help to create a rule for SNMP attacking the suricata server.

Thanks in advance.

I only need the Alert with the source ip data…


I create a rule file with this content

alert snmp any any -> any any (msg:"old SNMP version (<3)"; snmp.version:<3; sid:1; rev:1;)
alert snmp any any -> any any (msg:"SNMP community private";; content:"private"; sid:2; rev:1;)
alert snmp any any -> any any (msg:"SNMP community public";; content:"public"; sid:2; rev:1;)

Access remotely with snmp to the server and not get any alert on fast.log


What version are you running?
How does your suricata.yaml look like?
How do you start suricata?