Community discussions

MikroTik App
 
cnf
just joined
Topic Author
Posts: 3
Joined: Wed Apr 21, 2010 12:49 pm

SNMP will not work.

Wed Apr 21, 2010 12:53 pm

Hi everyone,

New to RouterOS, got the management of one handed down to me at work.

I am trying to enable SNMP, but it is not working…


[admin@Wandy] > snmp print
enabled: yes
contact: "05506008"
location: "LCL"
engine-id: ""
engine-boots: 1
time-window: 15
trap-sink: 0.0.0.0
trap-community: (unknown)
trap-version: 1
[admin@Wandy] > snmp community print
# NAME ADDRESS SECURITY READ-ACCESS
0 public 0.0.0.0/0 none yes
[admin@Wandy] >

but port 161 remains closed…


Any suggestions?
 
cnf
just joined
Topic Author
Posts: 3
Joined: Wed Apr 21, 2010 12:49 pm

Re: SNMP will not work.

Thu Apr 22, 2010 6:09 pm

A lot of fiddling later, and still no snmp...
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: SNMP will not work.

Fri Apr 23, 2010 11:56 pm

'closed'? how do you see that? check your firewall rules...
 
cnf
just joined
Topic Author
Posts: 3
Joined: Wed Apr 21, 2010 12:49 pm

Re: SNMP will not work.

Sat Apr 24, 2010 12:02 pm

'closed'? how do you see that? check your firewall rules...
nc -v <ip> 161
and
nmap -sS -PN -A <ip>
My firewall rules are wide open (well, they are to port 161). I have a rule specifically ALLOWING 161, and I see the counters increase every time I try to connect to it.

So for some reason the SNMP daemon either isn't starting, or it is not binding to the right port…
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: SNMP will not work.

Mon Apr 26, 2010 4:08 pm

SNMP uses UDP, so check with snmpwalk...

Who is online

Users browsing this forum: Bing [Bot], complexxL9, eworm, karlisi and 198 guests