Ad Widget

Collapse

zabbix server is not running the information displayed may not be current

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ciscosystem_mhr
    Junior Member
    • Mar 2013
    • 3

    #1

    zabbix server is not running the information displayed may not be current

    hello everyone
    i just install zabbix 2.0.4 on ubuntu server 12 ,everything was great and i had graphs for two day , after adding more host i got this message ( zabbix server is not running the information displayed may not be current ) for now i just disabled the new host but when i enable them i got same message .
    plz help i have no idea what is going on here
  • beli
    Junior Member
    • Mar 2013
    • 12

    #2
    Hi,
    Zabbix frontend tries to connect to Zabbix server to check if it is available. The address and port it connects to is defined in the frontend in conf/zabbix.conf.php file.
    Check that Zabbix server is really listening on that IP and port.
    So you say, that when you add a host in Zabbix, the frontend starts telling you that the server is not running and when you remove it, the message goes away? Interesting.
    You could try to check it yourself, that when you add the new host, if you still can connect to the address and port of Zabbix server from the machine running frontend, using telnet or netcat for example and if Zabbix server is really running (look at the process list in your OS for example). Also check logs from Zabbix server to see if it doesn't find some errors with the hosts you're adding.

    Comment

    • ciscosystem_mhr
      Junior Member
      • Mar 2013
      • 3

      #3
      hi beli thank you for replay i did as you said and i had access to address and port number before adding new hosts and everything was ok but after adding my cisco access servers the same message appears again and i lost my access to port number via port telneting , my database port is 0 , is that ok to be zero ?

      <?php
      // Zabbix GUI configuration file
      global $DB;

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

      // SCHEMA is relevant only for IBM_DB2 database
      $DB['SCHEMA'] = '';

      $ZBX_SERVER = 'localhost';
      $ZBX_SERVER_PORT = '10051';
      $ZBX_SERVER_NAME = '';

      $IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
      ?>

      Comment

      • nick0909
        Member
        • Apr 2013
        • 73

        #4
        Have you verified your zabbix server is actually running? Depending on what type of system is on the method you do this may be different, but it would be something like this:
        /etc/init.d/zabbix-server status

        If it is running, then check the logs to make sure it is able to connect to the database. It may just be sitting there constantly trying to connect to the DB and never actually able to fully start up:
        tail /var/log/zabbix/zabbix_server.log

        Comment

        • e.f.oliveros
          Junior Member
          • Jul 2013
          • 1

          #5
          Have the same issue but I appear to have fixed it in my zabbix server.

          I have this issue where I keep getting a message to advise that Zabbix Server is not running.

          Looking at the server, I can see that its running as well as the database and it only happens every 10-30 seconds.

          So I started looking at the zabbix_server.conf file. And when I was having a look at the documentation I noticed that you need to have at least one StartTrappers.

          Documentation can be found here:


          Displayed data
          Parameter Value Details
          Zabbix server is running Status of Zabbix server:
          Yes - server is running
          No - server is not running
          Note: To make sure the web frontend knows that the server is running there must be at least one trapper process started on the server (StartTrappers parameter in zabbix_server.conf file>0). Location and port of Zabbix server.

          So I made sure that on my server I uncomment "StartTrappers=5"and this appears to resolve my issues.


          In the server config this is what the config used to look like:

          ### Option: StartTrappers
          # Number of pre-forked instances of trappers.
          #
          # Mandatory: no
          # Range: 0-1000
          # Default:
          # StartTrappers=5

          Which is the default. So I changed this to:

          ### Option: StartTrappers
          # Number of pre-forked instances of trappers.
          #
          # Mandatory: no
          # Range: 0-1000
          # Default:
          StartTrappers=5

          This appears to have stopped the error message from showing in my browser.

          Hopefully it works as well for everyone.

          Comment

          • Uturn
            Junior Member
            • Jun 2013
            • 12

            #6
            or you're running chroot

            Comment

            Working...