Ad Widget

Collapse

Host disabled, then deleted but Zabbix still sending API calls

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mateusz
    Junior Member
    • Mar 2022
    • 14

    #1

    Host disabled, then deleted but Zabbix still sending API calls

    Good Day Everyone!

    I'm playing around with VMWare template: https://www.zabbix.com/integrations/vmware
    I ran into a very strange behavior of Zabbix today. I had a wrong password set on two of our ESX hosts and the account got locked so I wanted Zabbix to stop trying the checks for a moment. I disabled the hosts but in the ESX log I noticed that Zabbix is still trying to reach them.

    First I checked Cache Update Frequency is default at 60 seconds and I also tried "config_cache_reload" but Zabbix kept trying
    Code:
    # CacheUpdateFrequency=60
    
    :/home/user# zabbix_server -R config_cache_reload
    Runtime control command was forwarded successfully
    From zabbix_server.log:
    Code:
      
    1654:20230221:143504.338 forced reloading of the service manager cache
    1656:20230221:143506.931 forced reloading of the configuration cache
    ​
    I also checked the database for removed host and it's interface - it wasn't there but still, Zabbix kept trying
    Code:
    mysql> select * from interface where ip='my.esx.ip.address';
    Empty set (0.00 sec)
    
    mysql> select * from hosts where host='myesxhostname';
    Empty set (0.00 sec)
    After nearly an hour it stopped without any further action from me. Does anyone have a clue why this happened? It would be good to know in case I need to stop any API calls or other checks immediately...
    Code:
    zabbix_server (Zabbix) 6.0.9
    Many thanks in advance
  • Mateusz
    Junior Member
    • Mar 2022
    • 14

    #2
    I found this also https://www.zabbix.com/forum/zabbix-...e-vmware-cache
    Is this some kind of bug around VMWare Cache in Zabbix? Is there any way to reload that cache (I can't restart zabbix server anytime I would like)

    Comment

    • Mateusz
      Junior Member
      • Mar 2022
      • 14

      #3
      Anyone with similar experiences?

      Comment

      Working...