Open New Winbox Terminal or SSH shell
Enable SNMP
[user@Mikrotik] > /snmp
[user@Mikrotik] /snmp > set enabled=yes contact=[your_name] location=[your_location]
Next, set disable community public read access
[user@Mikrotik] /snmp> community
[user@Mikrotik] /snmp community> print
# NAME ADDRESS SECURITY READ-ACCESS
0 public 0.0.0.0/0 none yes
[user@Mikrotik] /snmp community> set public read-access=no
Then add your community name and specify access ip address
[user@Mikrotik] /snmp community> add name=network address=192.168.1.1/24
[user@Mikrotik] /snmp community> print
# NAME ADDRESS SECURITY READ-ACCESS
0 public 0.0.0.0/0 none no
1 network 10.1.1.0/24 none no
[user@Mikrotik] /snmp community> set network read-access=yes
That's it! Then prepare your SNMP monitoring software!
Good Luck!
0 komentar:
Posting Komentar