Ad Widget

Collapse

Frontend displays : "Zabbix server is running - No"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blakkheim.GW
    Junior Member
    • Feb 2010
    • 13

    #1

    Frontend displays : "Zabbix server is running - No"

    Hello,

    The Zabbix web frontend displays "No" in front of "Zabbix server is running" since my server rebooted. The zabbix_server process runs fine though and data is collected as well.

    I didn't change any parameters before rebooting the server. I can't see any error message concerning this problem in zabbix_server.log.

    The frontend runs on the same server as the zabbix_server process. Version of Zabbix is 1.8.2.

    Thanks for the help.
  • zab_monkey
    Member
    • Mar 2010
    • 37

    #2
    In order for the Frontend to monitor the "Zabbix Server", the server it needs to have the Zabbix agent correctly configured and running. The server needs the client to be up and active, as that is what it uses to perform all the same checks that it would use to check any other host.

    Cheers

    Comment

    • Blakkheim.GW
      Junior Member
      • Feb 2010
      • 13

      #3
      Thanks for your answer,

      Zabbix agent is up and running on the host and zabbix_server is collecting data from its agent.

      According to my zabbix_agentd.conf :

      Code:
      Server=::1
      
      # Server port for sending active checks
      
      #ServerPort=10051
      
      # Unique hostname. Required for active checks.
      
      Hostname=myhostname
      
      # Listen port. Default is 10050
      
      #ListenPort=10050
      
      # IP address to bind agent
      # If missing, bind to all available IPs
      
      ListenIP=::1
      Some revelant entries from the netstat -tulnW command :

      Code:
      tcp6       0      0 ::1:10050               :::*                    LISTEN     
      tcp6       0      0 ::1:10051               :::*                    LISTEN
      And some output from netstat -an | grep 10050 :

      Code:
      tcp6       0      0 ::1:10050               ::1:53624               TIME_WAIT  
      tcp6       0      0 ::1:10050               ::1:53625               TIME_WAIT  
      tcp6       0      0 ::1:53643               ::1:10050               TIME_WAIT  
      tcp6       0      0 ::1:10050               ::1:53207               TIME_WAIT  
      tcp6       0      0 ::1:10050               ::1:53228               TIME_WAIT  
      tcp6       0      0 ::1:10050               ::1:53154               TIME_WAIT  
      tcp6       0      0 ::1:10050               ::1:53465               TIME_WAIT  
      tcp6       0      0 ::1:10050               ::1:53256               TIME_WAIT
      ...
      ...
      The same but with grep 10051 :

      Code:
      tcp6       0      0 ::1:10051               :::*                    LISTEN     
      tcp6       0      0 ::1:10051               ::1:55869               TIME_WAIT
      According to this, it seems that the zabbix agent is up and running.

      Thanks for your answers.

      Comment

      • zab_monkey
        Member
        • Mar 2010
        • 37

        #4
        Hey,

        I believe the problem is that the Server=::1 needs to be the actual IP of your host. Its a common issue with some configs that the IPv4 127.0.0.1 or the IPv6 ::1 can be misinterpreted. Change it to the host IP, which if you are talking about monitoring the Zabbix server will be the same as the server, in the zabbix_agentd.conf, restart the agent and I dare say it should pick it up.

        Also change anywhere else (Like ListenIP=::1) to the actual IP. Dont rely on localhost addresses.

        Let me know how you go.

        Cheers
        Last edited by zab_monkey; 11-06-2010, 09:26. Reason: Bad syntax :)

        Comment

        • Blakkheim.GW
          Junior Member
          • Feb 2010
          • 13

          #5
          I've tried changing all references to ::1 by the actual server IPv6 address in all Zabbix configuration files.

          Furthermore, I've modified the conf/zabbix.conf.php to match the server IP address.

          Same result : frontend always says that Zabbix server is not running. I don't understand why it worked during all these months (with loopback address) and suddenly stoped working after a server reboot.

          Thanks.

          Comment

          Working...