Ad Widget

Collapse

Proxy does not submit collected data after restoring of connection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jancs
    Member
    • Jul 2014
    • 30

    #1

    Proxy does not submit collected data after restoring of connection

    Hi!
    I have a problem with Proxy not submitting collected data after internet link is going up.
    About the setup:
    I am using Raspberry Pi to collect temperature measurements from N sensors. Items on server are configured as trapper type.
    Taking into account link instability, measurements data are submitted to server via proxy (/usr/bin/zabbix_sender -z ZPROXY -i - ).
    Everything is working fine while the link is up. Data collected (?) during downtime are lost. Readings are OK, I am logging them locally, too.
    Here is config of proxy:

    ConfigFrequency=3600
    DataSenderFrequency=60
    DBHost=localhost
    DBName=/var/log/zabbix/database
    DebugLevel=3
    HeartbeatFrequency=60
    Hostname=Raspi Proxis
    HousekeepingFrequency=24
    LogFileSize=2
    LogFile=/var/log/zabbix/zabbix_proxy.log
    PidFile=/var/run/zabbix/zabbix_proxy.pid
    ProxyLocalBuffer=0
    ProxyMode=0
    ProxyOfflineBuffer=72
    Server=SERVER_IP
    StartDBSyncers=2
    StartDiscoverers=1
    StartHTTPPollers=0
    StartPingers=1
    StartPollers=2
    StartPollersUnreachable=1
    StartTrappers=2

    May be it means smth, but in the agent log on the same machine I see:
    no active checks on server [SERVER:10051]: host [Raspi] not found
    Agent config:
    Hostname=Raspi
    LogFile=/var/log/zabbix/zabbix_agentd.log
    PidFile=/var/run/zabbix/zabbix_agentd.pid
    Server=SERVER_IP
    ServerActive=SERVER_IP
    UnsafeUserParameters=1

    Janis
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    When monitoring via Zabbix proxy, please specify the Zabbix proxy to be used for Server and ServeActive in zabbix_agentd.conf to be monitored.

    Comment

    • jancs
      Member
      • Jul 2014
      • 30

      #3
      Thanks for suggestion on the right server address values.

      As for the initial problem - somehow it disappeared on itself.

      Comment

      Working...