Ad Widget

Collapse

Figuring out the automatic discovery of network devices

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pavars
    Junior Member
    • Jul 2020
    • 6

    #16
    Originally posted by skym
    Any ideas people? I'm still stuck.
    I'm pretty sure that this is not the probelm but anyways, is SNMP v2 community correct?
    Can you add a screenshot with Monitoring -> Discovery?

    Also does your discovery action adds the host to any host group?

    Comment

    • skym
      Junior Member
      • Jun 2020
      • 23

      #17
      Originally posted by pavars

      I'm pretty sure that this is not the probelm but anyways, is SNMP v2 community correct?
      Can you add a screenshot with Monitoring -> Discovery?

      Also does your discovery action adds the host to any host group?
      Monitoring -> Discovery is empty which is part of the problem but if I add ICMP check, it will populate but that's not what I want as even then it wouldn't actually add the devices.
      Community is correct, I can get the information by using the same OID and manually using snmpwalk with the right community and version 2.
      Discovery action does not appear to even send a email, much less add anything to anywhere which is the problem.

      Comment

      • pavars
        Junior Member
        • Jul 2020
        • 6

        #18
        Originally posted by skym

        Monitoring -> Discovery is empty which is part of the problem but if I add ICMP check, it will populate but that's not what I want as even then it wouldn't actually add the devices.
        Community is correct, I can get the information by using the same OID and manually using snmpwalk with the right community and version 2.
        Discovery action does not appear to even send a email, much less add anything to anywhere which is the problem.
        Thing is that the snmp check should show up in the monitoring -> discovery as well

        Try to raise the log level to 4 or 5 for discoverer process and check server log for what's going on.
        Code:
        zabbix_server -R log_level_increase=discoverer

        Comment

        • skym
          Junior Member
          • Jun 2020
          • 23

          #19
          Originally posted by pavars

          Thing is that the snmp check should show up in the monitoring -> discovery as well

          Try to raise the log level to 4 or 5 for discoverer process and check server log for what's going on.
          Code:
          zabbix_server -R log_level_increase=discoverer
          If the devices are discover-able only from a Zabbix proxy, I should do that on zabbix_proxy, right?

          Comment

          • pavars
            Junior Member
            • Jul 2020
            • 6

            #20
            Yes, you should do it on proxy. You can also raise it on server but I'm not sure if you'll see anything there

            Comment

            • skym
              Junior Member
              • Jun 2020
              • 23

              #21
              I think I know the issue. The discoverer says "processed 0 rules", even though it's supposed to process them.. I will keep monitoring it, as I set it to 10 min interval.

              Proxy log:
              Code:
              174504:20200714:115318.226 query [txnlev:0] [select count(*),min(nextcheck) from drules where status=0 and mod(druleid,1)=0]
              174504:20200714:115318.227 zbx_setproctitle() title:'discoverer #1 [processed 0 rules in 0.000930 sec, idle 60 sec]'
              174504:20200714:115418.233 zbx_setproctitle() title:'discoverer #1 [processed 0 rules in 0.000930 sec, performing discovery]'
              174504:20200714:115418.233 query [txnlev:0] [select distinct r.druleid,r.iprange,r.name,c.dcheckid,r.proxy_host id,r.delay from drules r left join dchecks c on c.druleid=r.druleid and c.uniq=1 where r.status=0 and r.nextcheck<=1594716858 and mod(r.druleid,1)=0]
              174504:20200714:115418.234 query [txnlev:0] [select count(*),min(nextcheck) from drules where status=0 and mod(druleid,1)=0]
              174504:20200714:115418.234 zbx_setproctitle() title:'discoverer #1 [processed 0 rules in 0.000896 sec, idle 60 sec]'

              Comment

              • skym
                Junior Member
                • Jun 2020
                • 23

                #22
                Okey, got actual logs and it seems that I was originally wrong and it seems that the rules are being ran but the OID I'm using is somehow invalid? It should return the system host name which has worked when I tried snmpwalk manually.


                I have verified that the devices with addresses ending .202.220-.202-223 do reply to OID 1.3.6.1.2.1.1.5 query and Zabbix proxy says otherwise so I don't understand what's going on.

                Code:
                174504:20200714:121526.349 zbx_snmp_get_values() snmp_synch_response() status:2 s_snmp_errno:-24 errstat:-1 mapping_num:1
                174504:20200714:121526.349 End of zbx_snmp_get_values():NETWORK_ERROR
                174504:20200714:121526.349 End of zbx_snmp_process_standard():NETWORK_ERROR
                174504:20200714:121526.349 In zbx_snmp_close_session()
                174504:20200714:121526.349 End of zbx_snmp_close_session()
                174504:20200714:121526.349 getting SNMP values failed: Timeout while connecting to "xxx.xxx.202.205:161".
                174504:20200714:121526.349 End of get_values_snmp()
                174504:20200714:121526.349 discovery: item [1.3.6.1.2.1.1.5] error: Timeout while connecting to "xxx.xxx.202.205:161".
                174504:20200714:121526.349 End of discover_service():FAIL
                174504:20200714:121526.349 End of process_check()
                174504:20200714:121526.349 query [txnlev:1] [begin;]
                174504:20200714:121526.350 In DBlock_record()
                174504:20200714:121526.350 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.350 End of DBlock_record():SUCCEED
                174504:20200714:121526.350 In process_services()
                174504:20200714:121526.350 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.350 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718118,8,20,'xxx.xxx.202.205','',161,'',1)]
                174504:20200714:121526.351 End of process_services():SUCCEED
                174504:20200714:121526.351 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718118,8,'xxx.xxx.202.205','',1)]
                174504:20200714:121526.351 query [txnlev:1] [commit;]
                174504:20200714:121526.353 process_rule() ip:'xxx.xxx.202.206'
                174504:20200714:121526.363 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.363 In process_check()
                174504:20200714:121526.363 process_check() port:161
                174504:20200714:121526.363 In discover_service()
                174504:20200714:121526.363 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.363 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.363 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.363 In get_values_snmp() host:'' addr:'xxx.xxx.202.206' num:1
                174504:20200714:121526.363 In zbx_snmp_open_session()
                174504:20200714:121526.363 SNMP [<snip-community>@xxx.xxx.202.206:161]
                174504:20200714:121526.363 End of zbx_snmp_open_session()
                174504:20200714:121526.363 In zbx_snmp_process_standard()
                174504:20200714:121526.363 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.363 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.363 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.367 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.367 In zbx_snmp_set_result() type:129
                174504:20200714:121526.367 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.367 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.367 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.367 In zbx_snmp_close_session()
                174504:20200714:121526.367 End of zbx_snmp_close_session()
                174504:20200714:121526.367 End of get_values_snmp()
                174504:20200714:121526.368 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.368 End of discover_service():FAIL
                174504:20200714:121526.368 End of process_check()
                174504:20200714:121526.368 query [txnlev:1] [begin;]
                174504:20200714:121526.368 In DBlock_record()
                174504:20200714:121526.368 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.368 End of DBlock_record():SUCCEED
                174504:20200714:121526.368 In process_services()
                174504:20200714:121526.368 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.368 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.206','',161,'',1)]
                174504:20200714:121526.368 End of process_services():SUCCEED
                174504:20200714:121526.368 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.206','',1)]
                174504:20200714:121526.369 query [txnlev:1] [commit;]
                174504:20200714:121526.370 process_rule() ip:'xxx.xxx.202.207'
                174504:20200714:121526.380 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.381 In process_check()
                174504:20200714:121526.381 process_check() port:161
                174504:20200714:121526.381 In discover_service()
                174504:20200714:121526.381 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.381 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.381 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.381 In get_values_snmp() host:'' addr:'xxx.xxx.202.207' num:1
                174504:20200714:121526.381 In zbx_snmp_open_session()
                174504:20200714:121526.381 SNMP [<snip-community>@xxx.xxx.202.207:161]
                174504:20200714:121526.381 End of zbx_snmp_open_session()
                174504:20200714:121526.381 In zbx_snmp_process_standard()
                174504:20200714:121526.381 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.381 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.381 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.384 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.384 In zbx_snmp_set_result() type:129
                174504:20200714:121526.384 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.384 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.384 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.384 In zbx_snmp_close_session()
                174504:20200714:121526.384 End of zbx_snmp_close_session()
                174504:20200714:121526.384 End of get_values_snmp()
                174504:20200714:121526.384 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.384 End of discover_service():FAIL
                174504:20200714:121526.384 End of process_check()
                174504:20200714:121526.384 query [txnlev:1] [begin;]
                174504:20200714:121526.384 In DBlock_record()
                174504:20200714:121526.385 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.385 End of DBlock_record():SUCCEED
                174504:20200714:121526.385 In process_services()
                174504:20200714:121526.385 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.385 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.207','',161,'',1)]
                174504:20200714:121526.385 End of process_services():SUCCEED
                174504:20200714:121526.385 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.207','',1)]
                174504:20200714:121526.385 query [txnlev:1] [commit;]
                174504:20200714:121526.388 process_rule() ip:'xxx.xxx.202.208'
                174504:20200714:121526.399 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.399 In process_check()
                174504:20200714:121526.399 process_check() port:161
                174504:20200714:121526.399 In discover_service()
                174504:20200714:121526.399 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.399 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.399 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.399 In get_values_snmp() host:'' addr:'xxx.xxx.202.208' num:1
                174504:20200714:121526.399 In zbx_snmp_open_session()
                174504:20200714:121526.399 SNMP [<snip-community>@xxx.xxx.202.208:161]
                174504:20200714:121526.399 End of zbx_snmp_open_session()
                174504:20200714:121526.400 In zbx_snmp_process_standard()
                174504:20200714:121526.400 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.400 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.400 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.406 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.406 In zbx_snmp_set_result() type:129
                174504:20200714:121526.406 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.406 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.406 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.406 In zbx_snmp_close_session()
                174504:20200714:121526.406 End of zbx_snmp_close_session()
                174504:20200714:121526.406 End of get_values_snmp()
                174504:20200714:121526.406 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.406 End of discover_service():FAIL
                174504:20200714:121526.406 End of process_check()
                174504:20200714:121526.406 query [txnlev:1] [begin;]
                174504:20200714:121526.406 In DBlock_record()
                174504:20200714:121526.407 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.407 End of DBlock_record():SUCCEED
                174504:20200714:121526.407 In process_services()
                174504:20200714:121526.407 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.407 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.208','',161,'',1)]
                174504:20200714:121526.407 End of process_services():SUCCEED
                174504:20200714:121526.407 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.208','',1)]
                174504:20200714:121526.408 query [txnlev:1] [commit;]
                174504:20200714:121526.410 process_rule() ip:'xxx.xxx.202.209'
                174504:20200714:121526.422 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.422 In process_check()
                174504:20200714:121526.422 process_check() port:161
                174504:20200714:121526.422 In discover_service()
                174504:20200714:121526.422 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.422 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.422 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.423 In get_values_snmp() host:'' addr:'xxx.xxx.202.209' num:1
                174504:20200714:121526.423 In zbx_snmp_open_session()
                174504:20200714:121526.423 SNMP [<snip-community>@xxx.xxx.202.209:161]
                174504:20200714:121526.423 End of zbx_snmp_open_session()
                174504:20200714:121526.423 In zbx_snmp_process_standard()
                174504:20200714:121526.423 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.423 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.423 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.428 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.429 In zbx_snmp_set_result() type:129
                174504:20200714:121526.429 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.429 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.429 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.429 In zbx_snmp_close_session()
                174504:20200714:121526.429 End of zbx_snmp_close_session()
                174504:20200714:121526.429 End of get_values_snmp()
                174504:20200714:121526.429 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.429 End of discover_service():FAIL
                174504:20200714:121526.429 End of process_check()
                174504:20200714:121526.429 query [txnlev:1] [begin;]
                174504:20200714:121526.429 In DBlock_record()
                174504:20200714:121526.429 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.429 End of DBlock_record():SUCCEED
                174504:20200714:121526.429 In process_services()
                174504:20200714:121526.429 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.430 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.209','',161,'',1)]
                174504:20200714:121526.430 End of process_services():SUCCEED
                174504:20200714:121526.430 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.209','',1)]
                174504:20200714:121526.430 query [txnlev:1] [commit;]
                174504:20200714:121526.432 process_rule() ip:'xxx.xxx.202.210'
                174504:20200714:121526.442 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.443 In process_check()
                174504:20200714:121526.443 process_check() port:161
                174504:20200714:121526.443 In discover_service()
                174504:20200714:121526.443 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.443 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.443 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.443 In get_values_snmp() host:'' addr:'xxx.xxx.202.210' num:1
                174504:20200714:121526.443 In zbx_snmp_open_session()
                174504:20200714:121526.443 SNMP [<snip-community>@xxx.xxx.202.210:161]
                174504:20200714:121526.443 End of zbx_snmp_open_session()
                174504:20200714:121526.443 In zbx_snmp_process_standard()
                174504:20200714:121526.443 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.443 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.443 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.449 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.449 In zbx_snmp_set_result() type:129
                174504:20200714:121526.449 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.449 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.449 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.449 In zbx_snmp_close_session()
                174504:20200714:121526.449 End of zbx_snmp_close_session()
                174504:20200714:121526.449 End of get_values_snmp()
                174504:20200714:121526.449 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.449 End of discover_service():FAIL
                174504:20200714:121526.449 End of process_check()
                174504:20200714:121526.449 query [txnlev:1] [begin;]
                174504:20200714:121526.449 In DBlock_record()
                174504:20200714:121526.449 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.450 End of DBlock_record():SUCCEED
                174504:20200714:121526.450 In process_services()
                174504:20200714:121526.450 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.450 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.210','',161,'',1)]
                174504:20200714:121526.450 End of process_services():SUCCEED
                174504:20200714:121526.450 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.210','',1)]
                174504:20200714:121526.450 query [txnlev:1] [commit;]
                174504:20200714:121526.452 process_rule() ip:'xxx.xxx.202.211'
                174504:20200714:121526.462 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.463 In process_check()
                174504:20200714:121526.463 process_check() port:161
                174504:20200714:121526.463 In discover_service()
                174504:20200714:121526.463 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.463 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.463 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.463 In get_values_snmp() host:'' addr:'xxx.xxx.202.211' num:1
                174504:20200714:121526.463 In zbx_snmp_open_session()
                174504:20200714:121526.463 SNMP [<snip-community>@xxx.xxx.202.211:161]
                174504:20200714:121526.463 End of zbx_snmp_open_session()
                174504:20200714:121526.463 In zbx_snmp_process_standard()
                174504:20200714:121526.463 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.463 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.463 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.503 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.503 In zbx_snmp_set_result() type:129
                174504:20200714:121526.503 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.503 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.503 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.503 In zbx_snmp_close_session()
                174504:20200714:121526.503 End of zbx_snmp_close_session()
                174504:20200714:121526.503 End of get_values_snmp()
                174504:20200714:121526.503 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.503 End of discover_service():FAIL
                174504:20200714:121526.503 End of process_check()
                174504:20200714:121526.503 query [txnlev:1] [begin;]
                174504:20200714:121526.503 In DBlock_record()
                174504:20200714:121526.503 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.504 End of DBlock_record():SUCCEED
                174504:20200714:121526.504 In process_services()
                174504:20200714:121526.504 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.504 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.211','',161,'',1)]
                174504:20200714:121526.504 End of process_services():SUCCEED
                174504:20200714:121526.504 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.211','',1)]
                174504:20200714:121526.504 query [txnlev:1] [commit;]
                174504:20200714:121526.506 process_rule() ip:'xxx.xxx.202.212'
                174504:20200714:121526.517 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.517 In process_check()
                174504:20200714:121526.517 process_check() port:161
                174504:20200714:121526.517 In discover_service()
                174504:20200714:121526.517 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.517 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.517 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.517 In get_values_snmp() host:'' addr:'xxx.xxx.202.212' num:1
                174504:20200714:121526.517 In zbx_snmp_open_session()
                174504:20200714:121526.517 SNMP [<snip-community>@xxx.xxx.202.212:161]
                174504:20200714:121526.517 End of zbx_snmp_open_session()
                174504:20200714:121526.517 In zbx_snmp_process_standard()
                174504:20200714:121526.517 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.517 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.517 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.524 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.524 In zbx_snmp_set_result() type:129
                174504:20200714:121526.524 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.524 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.524 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.524 In zbx_snmp_close_session()
                174504:20200714:121526.525 End of zbx_snmp_close_session()
                174504:20200714:121526.525 End of get_values_snmp()
                174504:20200714:121526.525 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.525 End of discover_service():FAIL
                174504:20200714:121526.525 End of process_check()
                174504:20200714:121526.525 query [txnlev:1] [begin;]
                174504:20200714:121526.525 In DBlock_record()
                174504:20200714:121526.525 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.525 End of DBlock_record():SUCCEED
                174504:20200714:121526.525 In process_services()
                174504:20200714:121526.525 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.525 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.212','',161,'',1)]
                174504:20200714:121526.526 End of process_services():SUCCEED
                174504:20200714:121526.526 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.212','',1)]
                174504:20200714:121526.526 query [txnlev:1] [commit;]
                174504:20200714:121526.527 process_rule() ip:'xxx.xxx.202.213'
                174504:20200714:121526.538 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.538 In process_check()
                174504:20200714:121526.538 process_check() port:161
                174504:20200714:121526.538 In discover_service()
                174504:20200714:121526.539 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.539 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.539 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.539 In get_values_snmp() host:'' addr:'xxx.xxx.202.213' num:1
                174504:20200714:121526.539 In zbx_snmp_open_session()
                174504:20200714:121526.539 SNMP [<snip-community>@xxx.xxx.202.213:161]
                174504:20200714:121526.539 End of zbx_snmp_open_session()
                174504:20200714:121526.539 In zbx_snmp_process_standard()
                174504:20200714:121526.539 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.539 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.539 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.546 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.546 In zbx_snmp_set_result() type:129
                174504:20200714:121526.546 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.546 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.546 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.546 In zbx_snmp_close_session()
                174504:20200714:121526.546 End of zbx_snmp_close_session()
                174504:20200714:121526.546 End of get_values_snmp()
                174504:20200714:121526.546 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.546 End of discover_service():FAIL
                174504:20200714:121526.546 End of process_check()
                174504:20200714:121526.546 query [txnlev:1] [begin;]
                174504:20200714:121526.546 In DBlock_record()
                174504:20200714:121526.546 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.546 End of DBlock_record():SUCCEED
                174504:20200714:121526.546 In process_services()
                174504:20200714:121526.546 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.547 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.213','',161,'',1)]
                174504:20200714:121526.547 End of process_services():SUCCEED
                174504:20200714:121526.547 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.213','',1)]
                174504:20200714:121526.547 query [txnlev:1] [commit;]
                174504:20200714:121526.549 process_rule() ip:'xxx.xxx.202.214'
                174504:20200714:121526.559 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.559 In process_check()
                174504:20200714:121526.559 process_check() port:161
                174504:20200714:121526.559 In discover_service()
                174504:20200714:121526.559 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.559 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.559 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.559 In get_values_snmp() host:'' addr:'xxx.xxx.202.214' num:1
                174504:20200714:121526.559 In zbx_snmp_open_session()
                174504:20200714:121526.559 SNMP [<snip-community>@xxx.xxx.202.214:161]
                174504:20200714:121526.559 End of zbx_snmp_open_session()
                174504:20200714:121526.559 In zbx_snmp_process_standard()
                174504:20200714:121526.559 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.559 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.559 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.565 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.565 In zbx_snmp_set_result() type:129
                174504:20200714:121526.565 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.565 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.565 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.565 In zbx_snmp_close_session()
                174504:20200714:121526.565 End of zbx_snmp_close_session()
                174504:20200714:121526.565 End of get_values_snmp()
                174504:20200714:121526.565 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.565 End of discover_service():FAIL
                174504:20200714:121526.565 End of process_check()
                174504:20200714:121526.565 query [txnlev:1] [begin;]
                174504:20200714:121526.565 In DBlock_record()
                174504:20200714:121526.565 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.566 End of DBlock_record():SUCCEED
                174504:20200714:121526.566 In process_services()
                174504:20200714:121526.566 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.566 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.214','',161,'',1)]
                174504:20200714:121526.566 End of process_services():SUCCEED
                174504:20200714:121526.566 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.214','',1)]
                174504:20200714:121526.567 query [txnlev:1] [commit;]
                174504:20200714:121526.568 process_rule() ip:'xxx.xxx.202.215'
                174504:20200714:121526.579 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.579 In process_check()
                174504:20200714:121526.579 process_check() port:161
                174504:20200714:121526.579 In discover_service()
                174504:20200714:121526.579 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.579 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.579 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.579 In get_values_snmp() host:'' addr:'xxx.xxx.202.215' num:1
                174504:20200714:121526.579 In zbx_snmp_open_session()
                174504:20200714:121526.580 SNMP [<snip-community>@xxx.xxx.202.215:161]
                174504:20200714:121526.580 End of zbx_snmp_open_session()
                174504:20200714:121526.580 In zbx_snmp_process_standard()
                174504:20200714:121526.580 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.580 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.580 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.583 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.583 In zbx_snmp_set_result() type:129
                174504:20200714:121526.583 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.583 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.583 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.583 In zbx_snmp_close_session()
                174504:20200714:121526.583 End of zbx_snmp_close_session()
                174504:20200714:121526.583 End of get_values_snmp()
                174504:20200714:121526.583 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.583 End of discover_service():FAIL
                174504:20200714:121526.583 End of process_check()
                174504:20200714:121526.583 query [txnlev:1] [begin;]
                174504:20200714:121526.583 In DBlock_record()
                174504:20200714:121526.583 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.584 End of DBlock_record():SUCCEED
                174504:20200714:121526.584 In process_services()
                174504:20200714:121526.584 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.584 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.215','',161,'',1)]
                174504:20200714:121526.584 End of process_services():SUCCEED
                174504:20200714:121526.584 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.215','',1)]
                174504:20200714:121526.584 query [txnlev:1] [commit;]
                174504:20200714:121526.586 process_rule() ip:'xxx.xxx.202.216'
                174504:20200714:121526.597 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.597 In process_check()
                174504:20200714:121526.597 process_check() port:161
                174504:20200714:121526.597 In discover_service()
                174504:20200714:121526.597 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.597 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.597 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.597 In get_values_snmp() host:'' addr:'xxx.xxx.202.216' num:1
                174504:20200714:121526.597 In zbx_snmp_open_session()
                174504:20200714:121526.597 SNMP [<snip-community>@xxx.xxx.202.216:161]
                174504:20200714:121526.597 End of zbx_snmp_open_session()
                174504:20200714:121526.597 In zbx_snmp_process_standard()
                174504:20200714:121526.597 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.597 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.597 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.603 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.603 In zbx_snmp_set_result() type:129
                174504:20200714:121526.603 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.603 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.603 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.603 In zbx_snmp_close_session()
                174504:20200714:121526.603 End of zbx_snmp_close_session()
                174504:20200714:121526.603 End of get_values_snmp()
                174504:20200714:121526.603 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.603 End of discover_service():FAIL
                174504:20200714:121526.603 End of process_check()
                174504:20200714:121526.603 query [txnlev:1] [begin;]
                174504:20200714:121526.603 In DBlock_record()
                174504:20200714:121526.603 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.603 End of DBlock_record():SUCCEED
                174504:20200714:121526.603 In process_services()
                174504:20200714:121526.603 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.604 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.216','',161,'',1)]
                174504:20200714:121526.604 End of process_services():SUCCEED
                174504:20200714:121526.604 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.216','',1)]
                174504:20200714:121526.604 query [txnlev:1] [commit;]
                174504:20200714:121526.606 process_rule() ip:'xxx.xxx.202.217'
                174504:20200714:121526.617 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.617 In process_check()
                174504:20200714:121526.617 process_check() port:161
                174504:20200714:121526.617 In discover_service()
                174504:20200714:121526.617 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.617 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.617 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.617 In get_values_snmp() host:'' addr:'xxx.xxx.202.217' num:1
                174504:20200714:121526.617 In zbx_snmp_open_session()
                174504:20200714:121526.617 SNMP [<snip-community>@xxx.xxx.202.217:161]
                174504:20200714:121526.617 End of zbx_snmp_open_session()
                174504:20200714:121526.617 In zbx_snmp_process_standard()
                174504:20200714:121526.617 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.617 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.617 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.619 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.619 In zbx_snmp_set_result() type:129
                174504:20200714:121526.619 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.619 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.619 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.619 In zbx_snmp_close_session()
                174504:20200714:121526.619 End of zbx_snmp_close_session()
                174504:20200714:121526.619 End of get_values_snmp()
                174504:20200714:121526.619 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.619 End of discover_service():FAIL
                174504:20200714:121526.619 End of process_check()
                174504:20200714:121526.619 query [txnlev:1] [begin;]
                174504:20200714:121526.619 In DBlock_record()
                174504:20200714:121526.620 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.620 End of DBlock_record():SUCCEED
                174504:20200714:121526.620 In process_services()
                174504:20200714:121526.620 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.620 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.217','',161,'',1)]
                174504:20200714:121526.620 End of process_services():SUCCEED
                174504:20200714:121526.620 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.217','',1)]
                174504:20200714:121526.620 query [txnlev:1] [commit;]
                174504:20200714:121526.622 process_rule() ip:'xxx.xxx.202.218'
                174504:20200714:121526.632 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.633 In process_check()
                174504:20200714:121526.633 process_check() port:161
                174504:20200714:121526.633 In discover_service()
                174504:20200714:121526.633 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.633 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.633 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.633 In get_values_snmp() host:'' addr:'xxx.xxx.202.218' num:1
                174504:20200714:121526.633 In zbx_snmp_open_session()
                174504:20200714:121526.633 SNMP [<snip-community>@xxx.xxx.202.218:161]
                174504:20200714:121526.633 End of zbx_snmp_open_session()
                174504:20200714:121526.633 In zbx_snmp_process_standard()
                174504:20200714:121526.633 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.633 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.633 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.639 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.639 In zbx_snmp_set_result() type:129
                174504:20200714:121526.639 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.639 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.639 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.639 In zbx_snmp_close_session()
                174504:20200714:121526.639 End of zbx_snmp_close_session()
                174504:20200714:121526.639 End of get_values_snmp()
                174504:20200714:121526.639 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.639 End of discover_service():FAIL
                174504:20200714:121526.639 End of process_check()
                174504:20200714:121526.639 query [txnlev:1] [begin;]
                174504:20200714:121526.639 In DBlock_record()
                174504:20200714:121526.639 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.639 End of DBlock_record():SUCCEED
                174504:20200714:121526.639 In process_services()
                174504:20200714:121526.640 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.640 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.218','',161,'',1)]
                174504:20200714:121526.640 End of process_services():SUCCEED
                174504:20200714:121526.640 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.218','',1)]
                174504:20200714:121526.640 query [txnlev:1] [commit;]
                174504:20200714:121526.643 process_rule() ip:'xxx.xxx.202.219'
                174504:20200714:121526.653 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.653 In process_check()
                174504:20200714:121526.654 process_check() port:161
                174504:20200714:121526.654 In discover_service()
                174504:20200714:121526.654 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.654 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.654 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.654 In get_values_snmp() host:'' addr:'xxx.xxx.202.219' num:1
                174504:20200714:121526.654 In zbx_snmp_open_session()
                174504:20200714:121526.654 SNMP [<snip-community>@xxx.xxx.202.219:161]
                174504:20200714:121526.654 End of zbx_snmp_open_session()
                174504:20200714:121526.654 In zbx_snmp_process_standard()
                174504:20200714:121526.654 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.654 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.654 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.657 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.657 In zbx_snmp_set_result() type:129
                174504:20200714:121526.657 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.657 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.657 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.657 In zbx_snmp_close_session()
                174504:20200714:121526.657 End of zbx_snmp_close_session()
                174504:20200714:121526.657 End of get_values_snmp()
                174504:20200714:121526.657 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.658 End of discover_service():FAIL
                174504:20200714:121526.658 End of process_check()
                174504:20200714:121526.658 query [txnlev:1] [begin;]
                174504:20200714:121526.658 In DBlock_record()
                174504:20200714:121526.658 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.658 End of DBlock_record():SUCCEED
                174504:20200714:121526.658 In process_services()
                174504:20200714:121526.658 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.658 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.219','',161,'',1)]
                174504:20200714:121526.658 End of process_services():SUCCEED
                174504:20200714:121526.658 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.219','',1)]
                174504:20200714:121526.659 query [txnlev:1] [commit;]
                174504:20200714:121526.660 process_rule() ip:'xxx.xxx.202.220'
                174504:20200714:121526.671 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.671 In process_check()
                174504:20200714:121526.671 process_check() port:161
                174504:20200714:121526.671 In discover_service()
                174504:20200714:121526.671 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.671 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.671 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.671 In get_values_snmp() host:'' addr:'xxx.xxx.202.220' num:1
                174504:20200714:121526.671 In zbx_snmp_open_session()
                174504:20200714:121526.671 SNMP [<snip-community>@xxx.xxx.202.220:161]
                174504:20200714:121526.671 End of zbx_snmp_open_session()
                174504:20200714:121526.671 In zbx_snmp_process_standard()
                174504:20200714:121526.672 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.672 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.672 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.677 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.678 In zbx_snmp_set_result() type:129
                174504:20200714:121526.678 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.678 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.678 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.678 In zbx_snmp_close_session()
                174504:20200714:121526.678 End of zbx_snmp_close_session()
                174504:20200714:121526.678 End of get_values_snmp()
                174504:20200714:121526.678 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.678 End of discover_service():FAIL
                174504:20200714:121526.678 End of process_check()
                174504:20200714:121526.678 query [txnlev:1] [begin;]
                174504:20200714:121526.678 In DBlock_record()
                174504:20200714:121526.678 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.678 End of DBlock_record():SUCCEED
                174504:20200714:121526.678 In process_services()
                174504:20200714:121526.678 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.679 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.220','',161,'',1)]
                174504:20200714:121526.679 End of process_services():SUCCEED
                174504:20200714:121526.679 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.220','',1)]
                174504:20200714:121526.679 query [txnlev:1] [commit;]
                174504:20200714:121526.682 process_rule() ip:'xxx.xxx.202.221'
                174504:20200714:121526.692 query [txnlev:0] [select dcheckid,type,key_,snmp_community,snmpv3_securityn ame,snmpv3_securitylevel,snmpv3_authpassphrase,snm pv3_privpassphrase,snmpv3_authprotocol,snmpv3_priv protocol,ports,snmpv3_contextname from dchecks where druleid=8 order by dcheckid]
                174504:20200714:121526.692 In process_check()
                174504:20200714:121526.692 process_check() port:161
                174504:20200714:121526.692 In discover_service()
                174504:20200714:121526.692 In substitute_simple_macros_impl() data:'<snip-community>'
                174504:20200714:121526.692 In substitute_key_macros_impl() data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.692 End of substitute_key_macros_impl():SUCCEED data:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.692 In get_values_snmp() host:'' addr:'xxx.xxx.202.221' num:1
                174504:20200714:121526.692 In zbx_snmp_open_session()
                174504:20200714:121526.692 SNMP [<snip-community>@xxx.xxx.202.221:161]
                174504:20200714:121526.693 End of zbx_snmp_open_session()
                174504:20200714:121526.693 In zbx_snmp_process_standard()
                174504:20200714:121526.693 In zbx_snmp_translate() OID:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.693 End of zbx_snmp_translate() oid_translated:'1.3.6.1.2.1.1.5'
                174504:20200714:121526.693 In zbx_snmp_get_values() num:1 level:0
                174504:20200714:121526.699 zbx_snmp_get_values() snmp_synch_response() status:0 s_snmp_errno:0 errstat:0 mapping_num:1
                174504:20200714:121526.699 In zbx_snmp_set_result() type:129
                174504:20200714:121526.699 End of zbx_snmp_set_result():NOTSUPPORTED
                174504:20200714:121526.699 End of zbx_snmp_get_values():SUCCEED
                174504:20200714:121526.699 End of zbx_snmp_process_standard():SUCCEED
                174504:20200714:121526.699 In zbx_snmp_close_session()
                174504:20200714:121526.699 End of zbx_snmp_close_session()
                174504:20200714:121526.699 End of get_values_snmp()
                174504:20200714:121526.699 discovery: item [1.3.6.1.2.1.1.5] error: No Such Instance currently exists at this OID
                174504:20200714:121526.699 End of discover_service():FAIL
                174504:20200714:121526.699 End of process_check()
                174504:20200714:121526.699 query [txnlev:1] [begin;]
                174504:20200714:121526.699 In DBlock_record()
                174504:20200714:121526.699 query [txnlev:1] [select null from drules where druleid=8 for update]
                174504:20200714:121526.699 End of DBlock_record():SUCCEED
                174504:20200714:121526.699 In process_services()
                174504:20200714:121526.699 query [txnlev:1] [select dcheckid from dchecks where dcheckid=20 order by dcheckid for update]
                174504:20200714:121526.700 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,dcheckid,ip,dns,port,value,status) values (1594718126,8,20,'xxx.xxx.202.221','',161,'',1)]
                174504:20200714:121526.700 End of process_services():SUCCEED
                174504:20200714:121526.700 query [txnlev:1] [insert into proxy_dhistory (clock,druleid,ip,dns,status) values (1594718126,8,'xxx.xxx.202.221','',1)]
                174504:20200714:121526.700 query [txnlev:1] [commit;]
                Last edited by skym; 15-07-2020, 14:33. Reason: Information about the verification.

                Comment

                • skym
                  Junior Member
                  • Jun 2020
                  • 23

                  #23
                  I have now also verified that all devices do reply to that OID, so what the heck is going on?

                  Comment

                  • skym
                    Junior Member
                    • Jun 2020
                    • 23

                    #24
                    I have no clue what's wrong with it, but it won't work even though snmpwalk works perfectly. Some help please?

                    Comment

                    • GArmao
                      Zabbix Certified Specialist
                      Zabbix Certified Trainer
                      Zabbix Certified Specialist
                      • Mar 2010
                      • 135

                      #25
                      hey!
                      don't use "snmpwalk" to test specific OIDs, always us "snmpget", you'll see that smpwalk on 1.3.6.1.2.1.1.5 actually automatically expands to 1.3.6.1.2.1.1.5.0 so the correct oid to use is 1.3.6.1.2.1.1.5.0.
                      In fact, if you test a snmpget on 1.3.6.1.2.1.1.5 you will get "no such instance..." error, but if you use 1.3.6.1.2.1.1.5.0 you'll get the hostname ;-)

                      Comment

                      • skym
                        Junior Member
                        • Jun 2020
                        • 23

                        #26
                        Originally posted by GArmao
                        hey!
                        don't use "snmpwalk" to test specific OIDs, always us "snmpget", you'll see that smpwalk on 1.3.6.1.2.1.1.5 actually automatically expands to 1.3.6.1.2.1.1.5.0 so the correct oid to use is 1.3.6.1.2.1.1.5.0.
                        In fact, if you test a snmpget on 1.3.6.1.2.1.1.5 you will get "no such instance..." error, but if you use 1.3.6.1.2.1.1.5.0 you'll get the hostname ;-)
                        Oh, wow. Did not know that, and yes you were correct. Using snmpget with that does give me the same error as in the logs.
                        I have been stuck at this for a quite a while and was like why is it not working, only to find out it was that small thing.

                        Comment

                        Working...