Ad Widget

Collapse

Receiving Active Agent Data but no passive

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • igordashaar@gmx.de
    Junior Member
    • Mar 2018
    • 7

    #1

    Receiving Active Agent Data but no passive

    Hi everybody,

    I just started using Zabbix and ran into some problems. I have an agent running on a RasperryPi and a Zabbix Server within the same network. To get the CPU temperature to the zabbix server I use a script that is called by zabbix agent. I receive this data in the server frontend without problems. But when using the Linux OS Template on the same host I receive no data at all. Further more i get a red ZBX button in the host configuration on the frontend:
    Code:
    "Received empty response from Zabbix Agent at [ip]. Assuming that agent dropped connection because of access permissions."
    My zabbix-agentd.conf looks as follows (removed all comments):
    Code:
    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix-agent/zabbix_agentd.log
    LogFileSize=1
    DebugLevel=3
    Server=<IPv6>, zabbix.example.com
    ListenIP=0.0.0.0
    ServerActive=<IPv6>, zabbix.example.com
    Hostname=RaspberryPi
    UserParameter=raspberrypi.sh[*],/usr/local/share/zabbix/externalscripts/raspberrypi.sh $1
    Do I need another agent to perform the passive requests? Or am I missing something in the configuration?
    Thanks for your help!
  • jeremyverda
    Junior Member
    • Jun 2017
    • 3

    #2
    Hello,

    Your configuration seems to be fine.
    You should check the firewall of your Raspberry and check if the port 10050 is open.

    Regards

    Comment


    • tcilmo
      tcilmo commented
      Editing a comment
      I concur with jeremyverda, Zabbix agent items talk to the host on port 10050. If memory serves me correctly, the all the builtin templates use Zabbix Agent items (not Zabbix Agent Active).
Working...