Ad Widget

Collapse

Dashboard: Server Running Status

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MikeBreton
    Junior Member
    • Nov 2009
    • 19

    #1

    Dashboard: Server Running Status

    Can't seem to figure out why Server Running Parameter remains "No" even when both server (zabbix_server) and agentd (zabbix_agentd) are both running.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    have you set server ip and port in frontend configuration file correctly ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • MikeBreton
      Junior Member
      • Nov 2009
      • 19

      #3
      Checked zabbix_server.conf port=10051 and ip is correct.

      Now using 1.6.7 which solved my issue with small agentd daemons.
      Thanks for your help.

      Not sure I was clear about where the "No" appears:

      Dashboard page, Status of ZABBIX panel
      Parameter=ZABBIX Server, Value=No

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        no, not zabbix server config, but frontend config - zabbix.conf.php file, $ZBX_SERVER and $ZBX_SERVER_PORT variables
        Zabbix 3.0 Network Monitoring book

        Comment

        • MikeBreton
          Junior Member
          • Nov 2009
          • 19

          #5
          Looks OK to me.

          global $DB;

          $DB["TYPE"] = "MYSQL";
          $DB["SERVER"] = "localhost";
          $DB["PORT"] = "0";
          $DB["DATABASE"] = "zabbix";
          $DB["USER"] = "root";
          $DB["PASSWORD"] = "";

          $ZBX_SERVER = "localhost";
          $ZBX_SERVER_PORT = "10051";

          $IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;

          Comment

          • richlv
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Oct 2005
            • 3112

            #6
            and if you telnet to port 10051 on localhost from the host where web frontend is installed ?
            Zabbix 3.0 Network Monitoring book

            Comment

            • MikeBreton
              Junior Member
              • Nov 2009
              • 19

              #7
              # telnet localhost 10051
              Trying 127.0.0.1...
              telnet: connect to address 127.0.0.1: Connection refused

              # telnet 161.236.61.35 10051
              Trying 161.236.61.35...
              Connected to 161.236.61.35.
              Escape character is '^]'.
              ^[}^H
              Connection closed by foreign host.

              changed
              $ZBX_SERVER = "localhost"; to
              $ZBX_SERVER = "161.236.61.35";

              Now ZABBIX server is running = "Yes".

              Thanks.

              Comment

              • channelasian
                Junior Member
                • Nov 2009
                • 16

                #8
                Originally posted by MikeBreton
                # telnet localhost 10051
                Trying 127.0.0.1...
                telnet: connect to address 127.0.0.1: Connection refused

                # telnet 161.236.61.35 10051
                Trying 161.236.61.35...
                Connected to 161.236.61.35.
                Escape character is '^]'.
                ^[}^H
                Connection closed by foreign host.

                changed
                $ZBX_SERVER = "localhost"; to
                $ZBX_SERVER = "161.236.61.35";

                Now ZABBIX server is running = "Yes".

                Thanks.
                I face the same problem. After i changed
                $ZBX_SERVER = "localhost"; to
                $ZBX_SERVER = "my local ip";

                still got no luck for me.

                Please help

                Comment

                • MrKen
                  Senior Member
                  • Oct 2008
                  • 652

                  #9
                  Originally posted by channelasian
                  I face the same problem. After i changed
                  $ZBX_SERVER = "localhost"; to
                  $ZBX_SERVER = "my local ip";

                  still got no luck for me.

                  Please help
                  And did you restart Zabbix_server?
                  Disclaimer: All of the above is pure speculation.

                  Comment

                  • MikeBreton
                    Junior Member
                    • Nov 2009
                    • 19

                    #10
                    Remember, after making changes to zabbix/conf/zabbix.conf.php I believe you must restart web server for changes to take effect.

                    Comment

                    • richlv
                      Senior Member
                      Zabbix Certified Trainer
                      Zabbix Certified SpecialistZabbix Certified Professional
                      • Oct 2005
                      • 3112

                      #11
                      Originally posted by MikeBreton
                      Remember, after making changes to zabbix/conf/zabbix.conf.php I believe you must restart web server for changes to take effect.
                      that should not be required. refreshing the page would, though
                      Zabbix 3.0 Network Monitoring book

                      Comment

                      • channelasian
                        Junior Member
                        • Nov 2009
                        • 16

                        #12
                        both apache2 and zabbix server restarted many times....

                        Comment

                        • richlv
                          Senior Member
                          Zabbix Certified Trainer
                          Zabbix Certified SpecialistZabbix Certified Professional
                          • Oct 2005
                          • 3112

                          #13
                          and can you telnet to zabbix server port 10051 from frontend machine ? (assuming you didn't change the default port)
                          Zabbix 3.0 Network Monitoring book

                          Comment

                          • MrKen
                            Senior Member
                            • Oct 2008
                            • 652

                            #14
                            Originally posted by channelasian
                            both apache2 and zabbix server restarted many times....
                            and still nothing?

                            Try this http://www.zabbix.com/forum/showpost...79&postcount=3

                            HTH,
                            MrKen
                            Disclaimer: All of the above is pure speculation.

                            Comment

                            • channelasian
                              Junior Member
                              • Nov 2009
                              • 16

                              #15
                              sure... all i restart even the whole server. i dont kno why...

                              Comment

                              Working...