Ad Widget

Collapse

SNMP checks in discovery rules

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cerasus
    Junior Member
    • Mar 2020
    • 24

    #1

    SNMP checks in discovery rules

    It appears that if a discovery rule contains several SNMP checks, each one will be executed in sequence. If there's really no device on the other end, the first check will time out after 3 seconds (by default), followed by another check that will take the same amount of time and so on. So, if there's no device on the other end, it will take 3 * number of checks seconds per IP.

    Is there a way to abort all SNMP checks if nothing is listening on port 161? Maybe based on an ICMP ping against the IP?
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2

    Comment

    • cerasus
      Junior Member
      • Mar 2020
      • 24

      #3
      Thank you for your reply. I don't think we're talking about the same thing though. I'm talking about reachability during network discovery. The SNMP checks against dead IPs take too long and as a result the whole discovery process is protracted unnecessarily long.

      So I'm wondering if there's a way to short circuit the defined SNMP checks in the discovery rule IF the IP doesn't respond to a ping.

      Comment

      • cerasus
        Junior Member
        • Mar 2020
        • 24

        #4
        Actually what I'm noticing is that with my Timeout configured to be 3 seconds and two discovery checks, it takes 6 seconds per check or 12 seconds per IP

        Comment

        • cerasus
          Junior Member
          • Mar 2020
          • 24

          #5
          I think I may have found the answer: https://www.zabbix.com/documentation...itemtypes/snmp

          Since Zabbix 2.2.8 and Zabbix 2.4.2 Zabbix server and proxy daemons will always retry at least one time: either through the SNMP library's retrying mechanism or through the internal bulk processing mechanism.

          Comment

          Working...