Ad Widget

Collapse

Discovery rule / wrong nextcheck

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alejodurin
    Junior Member
    • Feb 2019
    • 4

    #1

    Discovery rule / wrong nextcheck

    Hi all.

    I have implemented a discovery rule to apply automatic registration, and I have a problem.
    The discovery isn't run in the interval that I have established.
    I set the interval to 1 hour (I also tried 120s) but for some reason the "Discovery" does not run.

    I went to the database and consulted the rules discovery table and discover that doesn't matter if I change the update interval, the "nextcheck" to run the discovery is always 1969-12-31, never change; so the discovery never will run.

    This is my configuration of my discovery rule.

    Name: Local Network
    Discover by proxy: No proxy
    IP range: 192.168.0.0/16
    Update Interval: 1h
    Check: Zabbix agent "system.uname"
    Device uniqueness criteria: IP Address

    When I consult the database , this is what I get.

    Code:
    mysql> select name, from_unixtime(nextcheck) from drules;
    +------------------------+--------------------------+
    | name                   | from_unixtime(nextcheck) |
    +------------------------+--------------------------+
    | Local network          | 1969-12-31 21:00:00      |
    | Red local PING         | 2019-01-28 11:14:17      |
    | Red local SNMP         | 2019-01-10 11:17:12      |
    | Local Network Hostname | 1969-12-31 21:00:00      |
    +------------------------+--------------------------+
    4 rows in set (0.00 sec)
  • rich_h
    Junior Member
    • Aug 2019
    • 2

    #2
    I have the same issue for an SNMPv3 Discovery agent.
    Code:
    MariaDB [zabbix]> select * from drules;
    +---------+--------------+---------------+-----------------+-------+------------+--------+
    | druleid | proxy_hostid | name          | iprange         | delay | nextcheck  | status |
    +---------+--------------+---------------+-----------------+-------+------------+--------+
    |       2 |         NULL | Local network | 192.168.1.1-254 | 1h    | 1566690540 |      0 |
    |       3 |         NULL | SNMPv3        | 192.168.1.1-254 | 1h    |          0 |      0 |
    +---------+--------------+---------------+-----------------+-------+------------+--------+
    Did you ever find a resolution?

    Comment

    Working...