Ad Widget

Collapse

Different behavior at the two similar Zabbix 4.4.9 for the one host w\o any errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mike_G
    Junior Member
    • Sep 2020
    • 7

    #1

    Different behavior at the two similar Zabbix 4.4.9 for the one host w\o any errors

    Hello there.
    We have a very strange issue with one host which is monitored by two similar Zabbix without any errors.

    Server1's and Server2's Zabbix version is 4.4.9.

    The bost servers have the same host which they should monitoring.

    Host:
    IP: 1.1.1.1
    Agent version:
    Code:
    root@host:/# zabbix_agentd -V
    zabbix_agentd (daemon) (Zabbix) 5.0.0rc1
    Revision ffde654900 5 May 2020, compilation time: May 5 2020 13:42:01
    
    Copyright (C) 2020 Zabbix SIA
    License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it according to
    the license. There is NO WARRANTY, to the extent permitted by law.
    
    This product includes software developed by the OpenSSL Project
    for use in the OpenSSL Toolkit (http://www.openssl.org/).
    
    Compiled with OpenSSL 1.0.2g-fips 1 Mar 2016
    Running with OpenSSL 1.0.2g 1 Mar 2016
    Logs:
    Code:
    root@host:/# tail -f /var/log/zabbix/zabbix_agentd.log
    11526:20200916:130359.803 TLS support: YES
    11526:20200916:130359.803 **************************
    11526:20200916:130359.803 using configuration file: /etc/zabbix/zabbix_agentd.conf
    11526:20200916:130359.803 agent #0 started [main process]
    11527:20200916:130359.804 agent #1 started [collector]
    11528:20200916:130359.805 agent #2 started[listener #1]
    11530:20200916:130359.806 agent #4 started[listener #3]
    11529:20200916:130359.806 agent #3 started[listener #2]
    11532:20200916:130359.807 agent #6 started [active checks #2]
    11531:20200916:130359.810 agent #5 started [active checks #1]
    Item1 on the both Zabbixes collects rows which have the string 'status_OK'. IT WORKS at both Zabbixes, and we can see needed logs at the Latest data.
    Item2 on both Zabbixes has to calculate the count of the rows at the Item1 during some period of time and return value. It WORKS only at one Zabbix but doesn't work at another one.

    Item1 (Works correctly - return logs ):
    Name: log_status_count
    Type: Zabbix-agent (active)
    Key: log[/var/log/jscripts/main.log,status_OK]
    Type of information: Log
    Update interval: 30s

    Item2 (Works at one Zabbix-server-returns integer,but at the another one - returns 0) (screens below):
    Name: logs
    Type: caclulated
    Key: log_status_count.count
    Formula: count("log[/var/log/jscripts/main.log,status_OK]", 300)
    Type of information: numeric (unsigned)

    Item2 at the Server1:
    server1_item2_graph

    Item2 at the Server 2:
    Click image for larger versionName:	server1_item2_graph.pngViews:	2Size:	127.6 KBID:	409207

    I hope, that someone is able to help me with this issue.

    Thx in advance.
    Regards,
    Mike
    Attached Files
    Last edited by Mike_G; 17-09-2020, 09:59.
  • Mike_G
    Junior Member
    • Sep 2020
    • 7

    #2
    Hello there.
    No any ideas?

    Comment

    Working...