Ad Widget

Collapse

How to enable Active check

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ffavre
    Junior Member
    • Aug 2018
    • 7

    #1

    How to enable Active check

    Hello,

    I got problem to enable active check on zabbix 3.4.

    I got a Zabbix server 3.4.12 and a remote zabbix agent 2.2.23.

    I want to enable Active check on my remote zabbix agent.

    I've set those parameters in remote agent to active it :

    ServerActive=192.168.51.29:10051 (Zabbix Server IP)
    Hostname=Cerbere


    I've set those parameters in server to listen on it :

    StartTrappers=5
    ListenIP=127.0.0.1,192.168.51.29


    I've rebooted my zabbix-agent service, but when I look on zabbix_agentd.log, I got this error message below :

    active check configuration update from [192.168.51.29:10051] started to fail (cannot connect to [[192.168.51.29]:10051]: [4] Interrupted system call)

    It's normal, or no ?

    What I missed in config ?

    Could you help me please ?

    At the end I want to send script result to zabbix server like NSCA does in Nagios.

    FFavre

  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    The Zabbix agent seems to be unable to connect to the Zabbix server.
    Please make sure there are no restrictions by Firewall etc until Zabbix agent connects to Zabbix server.

    Comment

    • ffavre
      Junior Member
      • Aug 2018
      • 7

      #3
      Yes for sure, the connection is OK on 10050.
      I already open firewall port to accept 10051 query.

      On server, I've create Item who used Zabbix Trapper

      To test it, I try to execute this command :

      zabbix_sender -z 192.168.51.29 -p 10051 -s "Srv-Cerbere" -k imsbck.status -o "Test ZBX_Sender" -vv

      I got this error message :

      zabbix_sender [11928]: DEBUG: send value error: cannot connect to [[192.168.51.29]:10051]: [110] Connection timed out
      Sending failed.




      Comment

      • ffavre
        Junior Member
        • Aug 2018
        • 7

        #4
        Ok my bad, I open port on internal firewall (iptables) but no on real firewall.

        It's ok now.

        Comment

        Working...