[ZBX-21859] Zabbix Agent 2 - sometimes send no Values for Agent.Ping active Check Created: 2022 Nov 03  Updated: 2024 Apr 10  Resolved: 2023 Jun 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 6.0.9, 6.2.3, 6.4.2
Fix Version/s: 5.0.36rc1, 6.0.19rc1, 6.4.4rc1, 7.0.0alpha2, 7.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Bernd Dausch Assignee: Vladislavs Sokurenko
Resolution: Fixed Votes: 1
Labels: agent
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows Server 2016 with Exchange Installed, RHEL 7.9


Attachments: PNG File Bildschirmfoto 2022-11-03 um 11.41.41.png     PNG File Bildschirm­foto 2023-01-25 um 11.54.45.png     PNG File Bildschirm­foto 2023-01-25 um 16.48.52.png     File ZBX-21859-6.4-fix.diff     File ZBX-21859-debug-2.diff     Zip Archive zabbix_agent.zip    
Issue Links:
Duplicate
Team: Team A
Sprint: Sprint 101 (Jun 2023)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. After some Time the Agent 2 Agent.Ping exporter send no items for some time, then starts again
  2. Other Values on the same host was send without problems
  3.  

Result:

Monitoring Screenshot and Agent log Attached

Expected:

Agent2 send all values.



 Comments   
Comment by Bernd Dausch [ 2022 Nov 10 ]

We had set the Value for RefreshActiveChecks=3600 in our configuration. to reduce bandwith. After we switch back to the default RefreshActiveChecks=120 there are no missing Values anymore. We get more Values because it seams each check for Configuration add a Value to the Agent.Ping Item

Comment by Edgar Akhmetshin [ 2023 Jan 12 ]

Hello Bernd,

Could you add Agent configuration used to the issue?

Also which exact version used on the Agent side?

Regards,
Edgar

Comment by Bernd Dausch [ 2023 Jan 12 ]

Hello Edgar,

 

we have Testet it with 6.0.12 and 6.0.9

 

When we change the RefreshActiveChecks to 120 it worked, because the refresh seams to heal it. 

 

This is our Agent Config File


          1. GENERAL PARAMETERS 
            LogType=console
            DebugLevel=0
          1. Passive checks related
            Server=127.0.0.1,10.184.250.0/24
          1. Active checks related
            RefreshActiveChecks=3600
          1. ADVANCED PARAMETERS 
            Timeout=30
          1. INCLUDE CONFIGURATIONS
            Include=c:\Program Files\zabbix\conf\conf.d*.conf
          1. USER-DEFINED MONITORED PARAMETERS 
            UnsafeUserParameters=0

ControlSocket=\\.\pipe\agent.sock

            1. Machine Settings
              Hostname=SW592_FILESRV
              HostMetadata=Filesrv
              ServerActive=10.184.250.11

------

 

Kind Regards,

 

Bernd

Comment by Edgar Akhmetshin [ 2023 Jan 24 ]

So you have RefreshActiveChecks=3600 in the configuration file and could you show latest data for the Agent Ping item and how trigger is configured?

Comment by Bernd Dausch [ 2023 Jan 25 ]

We have switched to 120 Seconds to get the checks Working without error.

 

I have changed one Server to 3600 Seconds again. If i have the Values I add them here.

 

We have used the "Template App Zabbix Agen"t for the Trigger. And changed the Template to use Active Checks for the Items.

!Bildschirm­foto 2023-01-25 um 11.54.45.png!

 

 

Comment by Bernd Dausch [ 2023 Jan 25 ]

I have attached the Screenshot with the Values, he should send the Values every minute, some of them are missing

 

!Bildschirm­foto 2023-01-25 um 16.48.52.png!

Comment by Vladislavs Sokurenko [ 2023 Jun 09 ]

Please try collecting debug with ZBX-21859-debug-2.diff

Comment by Vladislavs Sokurenko [ 2023 Jun 16 ]

Fixed in:

Generated at Sat Dec 13 23:08:49 EET 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.