Ad Widget

Collapse

zabbix, dicovery rule for smnp device not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rob.Kennedy
    Junior Member
    • Jun 2014
    • 1

    #1

    zabbix, dicovery rule for smnp device not working

    0 down vote favorite


    Perhaps you can help

    I have quite a few mikrotik out in the field. They all connect to one 1 have in our data centre via l2pt or pptp.

    Im using zabbix to monitor them, its discovery rule for the network interfaces work great. However it doesn't seem to work for the one at head office.

    I get this message in the log:

    SNMP agent item "ifDescr" on host "x.x.x.x" failed: first network error, wait for 15 seconds.

    If i do a snmpwalk i get this result

    snmpwalk -v 2c -c public x.x.x.x IF-MIB::ifDescr
    IF-MIB::ifDescr.1 = STRING: 1 - Internet
    IF-MIB::ifDescr.2 = STRING: 2 - DMZ
    IF-MIB::ifDescr.39 = STRING: <l2tp-kepjbn>
    IF-MIB::ifDescr.215 = STRING: <l2tp-km-1>
    IF-MIB::ifDescr.299 = STRING: <l2tp-ct>
    IF-MIB::ifDescr.378 = STRING: <pptp-ke>
    IF-MIB::ifDescr.381 = STRING: <l2tp-in>

    So it is getting result back from the router.

    To setup the check for each interface will take a lifetime, i'd rather try correct the discovery rule.

    Can anyone assist?
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Do you mind to increase the timeout value in Zabbix Server config file (/etc/zabbix/zabbix_server.conf)?

    It's quite possible that only one Microtik response slowly and SNMP trapper cannot collect all data before TimeOut expire.

    The maximum value of timeout is 30 sec. I hope you can use smaller number, like
    Code:
    Timeout=15
    Don't forget to restart server after changing anything in config file.
    Sincerely yours,
    Aleksey

    Comment

    Working...