Ad Widget

Collapse

Zabbix Proxy 4.2.4 - no host data is collected

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jerelev
    Junior Member
    • Feb 2015
    • 15

    #1

    Zabbix Proxy 4.2.4 - no host data is collected

    Hello
    I setup a proxy in my environment to relief the zabbix master.

    Proxy mode is active and was last seen 2 seconds ago
    I have connected 2 servers, both agents have the green ZBX availablity.
    The name of the 2 servers is "proxy_name: server_name"

    Proxy config file:
    # grep "^[a-zA-Z]" /etc/zabbix/zabbix_proxy.conf
    ProxyMode=0
    Server=zabbixmaster.domain.com
    Hostname=jrsgzbproxy.domain.com
    LogFile=/var/log/zabbix/zabbix_proxy.log
    LogFileSize=0
    PidFile=/var/run/zabbix/zabbix_proxy.pid
    SocketDir=/var/run/zabbix
    DBHost=db.domain.com
    DBName=zabbix_proxy
    DBUser=zabbix
    DBPassword=zabbix_proxy
    DBPort=3307
    ProxyOfflineBuffer=6
    StartPollers=50
    StartPollersUnreachable=50
    StartPingers=50
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    Timeout=4
    ExternalScripts=/usr/lib/zabbix/externalscripts
    FpingLocation=/usr/bin/fping
    Fping6Location=/usr/bin/fping6
    LogSlowQueries=3000
    StatsAllowedIP=127.0.0.1


    No errors in the log.
    16817:20190716:095947.324 Starting Zabbix Proxy (active) [jrsgzbproxy.domain.com]. Zabbix 4.2.4 (revision 059af02c82).
    16817:20190716:095947.324 **** Enabled features ****
    16817:20190716:095947.324 SNMP monitoring: YES
    16817:20190716:095947.324 IPMI monitoring: YES
    16817:20190716:095947.324 Web monitoring: YES
    16817:20190716:095947.324 VMware monitoring: YES
    16817:20190716:095947.324 ODBC: YES
    16817:20190716:095947.324 SSH2 support: YES
    16817:20190716:095947.324 IPv6 support: YES
    16817:20190716:095947.324 TLS support: YES
    16817:20190716:095947.324 **************************
    16817:20190716:095947.324 using configuration file: /etc/zabbix/zabbix_proxy.conf
    16817:20190716:095947.536 current database version (mandatory/optional): 04020000/04020000
    16817:20190716:095947.536 required mandatory version: 04020000

    ...
    16851:20190716:095948.211 received configuration data from server at "zabbixmaster.domain.com", datalen 17553



    No data is retreived.

    What do i miss?
    Last edited by jerelev; 16-07-2019, 09:49.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    On "server" in agent config the proxy address has to be specified.

    Comment


    • jerelev
      jerelev commented
      Editing a comment
      Sure, here is the agent configuration:

      PidFile=/var/run/zabbix/zabbix_agentd.pid
      LogFile=/var/log/zabbix/zabbix_agentd.log
      LogFileSize=100
      DebugLevel=4
      EnableRemoteCommands=1
      Server=jrsgzbproxy.domain.com
      ServerActive=jrsgzbproxy.domain.com
      Hostname=jrscilx01.domain.com
      Include=/etc/zabbix/zabbix_agentd.d/*.conf
  • jerelev
    Junior Member
    • Feb 2015
    • 15

    #3
    Any help?
    Please
    Last edited by jerelev; 17-07-2019, 08:30.

    Comment

    • jerelev
      Junior Member
      • Feb 2015
      • 15

      #4
      The issue was apparently with the DB.
      I switch from cloud db to local DB and it works.
      Wired....

      Comment

      Working...