Ad Widget

Collapse

Zabbix 6.0 Missing Hosts in autodioscover

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrenner80
    Junior Member
    • May 2022
    • 3

    #1

    Zabbix 6.0 Missing Hosts in autodioscover

    Hi all.

    i have a Network discovery running over a /24 network with only one type of device in it (except the router)
    Zabbix is missing 2 of the devices in the network from the total of 60.
    The missing devices are responding to ping an SNMP like all the other, but do not show up.
    Any advice for debugging/troubleshooting?

    Regards,
    Michael
  • LarsB
    Junior Member
    • Feb 2024
    • 3

    #2
    I'm new to Zabbix, but did you check the logfile to see if the devices are ever either discoverede og pollled?

    If you are discovering using a proxy do a

    zabbix_proxy --runtime-control log_level_increase=discoverer
    zabbix_proxy --runtime-control log_level_increase=poller

    And check the logfile in /var/log/zabbix/zabbix_proxy.log

    If discovering on the server do a

    zabbix_server --runtime-control log_level_increase=discovery
    zabbix_server --runtime-control log_level_increase=poller

    And check the logfile in /var/log/zabbix/zabbix_server.log

    You have to wait for the devices to be re-discoverede/polled, of course...

    Comment

    • mrenner80
      Junior Member
      • May 2022
      • 3

      #3
      Thanks for your helpfull feedback,

      It seems like the device IP is already in the zabbix database, but i cannot find the device either by name, DNS nor IP in the frontend.
      Code:
      2029:20240305:134438.597 process_rule() ip:'10.70.1.13'
      2029:20240305:134438.597 In get_values_snmp() host:'' addr:'10.70.1.13' num:1
      2029:20240305:134438.597 SNMP [[email protected]:161]
      2029:20240305:134438.603 In discovery_update_service() ip:'10.70.1.13' dns:'DeviceName.domain' port:161 status:0 value:'DeviceName'
      2029:20240305:134438.603 In discovery_register_host() ip:'10.70.1.13' status:0 value:'DeviceName'
      2029:20240305:134438.603 host at 10.70.1.13 is already in database
      2029:20240305:134438.603 In discovery_register_service() ip:'10.70.1.13' port:161
      2029:20240305:134438.603 query [txnlev:1] [select dserviceid,dhostid,status,lastup,lastdown,value,dns from dservices where dcheckid=5 and ip='10.70.1.13' and port=161]
      How do i remove or rediscover this device?

      Comment

      Working...