Community discussions

MikroTik App
 
uberwebguru
Member Candidate
Member Candidate
Topic Author
Posts: 173
Joined: Sat Feb 26, 2022 12:05 pm

SNMP setup on Miktotik with zabbix

Sat Apr 02, 2022 8:30 pm

I am trying to setup SNMP so i can monitor my mikrotik networking devices with zabbix
I believe i did everything right but getting "No SNMP data collection" error
Can someone please tell me what i am missing?


Here is my setup on mikrotik
[admin@MikroTik] > snmp community print 
Flags: * - DEFAULT; X - DISABLED
Columns: NAME, ADDRESSES, SECURITY, READ-ACCESS, WRITE-ACCESS
#    NAME             ADDRESSES  SECURITY  READ-ACCESS  WRITE-ACCESS
0 *X public           ::/0       none      yes          no          
1    testandtest  ::/0       none      yes          no  
        
[admin@MikroTik] > snmp print 
          enabled: yes
          contact: ccr2004@mikrotik.local
         location: 
        engine-id: 
      src-address: ::
      trap-target: 
   trap-community: testandtest
     trap-version: 1
  trap-generators: temp-exception

and here is setup on zabbix

Image
 
holvoetn
Forum Guru
Forum Guru
Posts: 6823
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: SNMP setup on Miktotik with zabbix  [SOLVED]

Sun Apr 03, 2022 10:06 am

Check your firewall settings.
Most likely udp/161 is not being allowed (it isn't by default).
 
uberwebguru
Member Candidate
Member Candidate
Topic Author
Posts: 173
Joined: Sat Feb 26, 2022 12:05 pm

Re: SNMP setup on Miktotik with zabbix

Tue Apr 05, 2022 2:07 am

Check your firewall settings.
Most likely udp/161 is not being allowed (it isn't by default).
I see, yeah i didn't realize i have to allow it
So i have to add a firewall rule to allow it?
or i have to open port somewhere?

mind helping with command to allow it?
or where in documentation they have this
 
uberwebguru
Member Candidate
Member Candidate
Topic Author
Posts: 173
Joined: Sat Feb 26, 2022 12:05 pm

Re: SNMP setup on Miktotik with zabbix

Tue Apr 05, 2022 7:17 am

@holvoetn got it to work now
thanks to you

i added firewall rule to accept all from the zabbix address to CCR address
and another one rule to accept all from the CCR address to zabbix address

and boom i can now see network graphs already
using SNMPv3!!!
 
PackElend
Member Candidate
Member Candidate
Posts: 273
Joined: Tue Sep 29, 2020 6:05 pm

Re: SNMP setup on Miktotik with zabbix

Sun Aug 21, 2022 11:08 pm

Hi,
I'm getting into Zabbix right now as well.
May some experienced folk could answer some of my questions :)
  1. Do you know the purpose of
    temp-exception
    ?
  2. I tried to get SNMPv3 working without auth etc. is that possible at all?
  3. When is it necessary to set
    trap-target
    ?
  4. luckelly there is a template for pretty much any MT device but the dashboard is very simple. Is there any community template you would recommend?
thank you
Stefan

Who is online

Users browsing this forum: Guscht, sindy and 45 guests