Ad Widget

Collapse

how to run zabbix web console?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nishith
    Junior Member
    • Jun 2008
    • 22

    #1

    how to run zabbix web console?

    I have installed zabbix without any errors on my Fedora Linux Platform.

    Now, After the installation,I didn't get any configuration file in /etc/zabbix directory.

    The Online documentation is not giving me step by step support for zabbix installation. So, tell me How to sort out this problem.
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    While I agree the documentation may be frustrating at times, installation is actually one of the clearer parts of it.

    You need to manually create the config files. A sample file is found in the misc/conf directory in the Zabbix tree from the tarball. Same also goes for the init script. A sample init script can be found in the misc/init.d directory, however you do not need an init script if you are doing a test environment, you can just run the server and agent from the command line. When you reboot however the server will not automatically startup.

    As for getting the web frontend, I do not know how to help as you have not given enough information to go on. Based on experience though you may be having an issue with Apache not haivng php setup by default. This is an Apache issue and you will need to deal with that seperately. If you can post information about that problem I'm sure someone here can help.

    Give Zabbix a chance, yes the learning curve can be frustating but it is well worth it in the end.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • Nishith
      Junior Member
      • Jun 2008
      • 22

      #3
      OK Sir.-Ready to work on zabbix.

      Originally posted by nelsonab
      While I agree the documentation may be frustrating at times, installation is actually one of the clearer parts of it.

      You need to manually create the config files. A sample file is found in the misc/conf directory in the Zabbix tree from the tarball. Same also goes for the init script. A sample init script can be found in the misc/init.d directory, however you do not need an init script if you are doing a test environment, you can just run the server and agent from the command line. When you reboot however the server will not automatically startup.

      As for getting the web frontend, I do not know how to help as you have not given enough information to go on. Based on experience though you may be having an issue with Apache not having php setup by default. This is an Apache issue and you will need to deal with that separately. If you can post information about that problem I'm sure someone here can help.

      Give Zabbix a chance, yes the learning curve can be frustating but it is well worth it in the end.
      Dear SIr,

      I also agree that ZABBIX can do very much more then any other Monitoring tools available in Open Source Environment.

      From my side,I have everything in my linux PC,including all httpd libraries with php,mysql-devel all all stuff which is compulsory to install zabbix.

      So,I am ready to reset my zabbix installation from level 0.

      If you have any good documentation for the same,kindly provide me that link. About me,I want to install ZABBIX to monitor my upto 40 servers's health,packet loss,bandwidth usage graph & more. So,for me,it's a big advantage to install zabbix.

      Waiting for you favorable response,

      Thanks,
      Nishith.

      Comment

      • nelsonab
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2006
        • 1233

        #4
        I don't have any external or additional documentation for installation, granted I've done it *several* times so I usually do it mostly from memory.

        Here's the steps I take

        1) Download the source and uncompress to a work area.
        2) Configure with the options I want. (I usually compile the server and agent seperately)\
        The following example is done from memory, check the install doc to verify
        Code:
        ./configure --enable-server --with-mysql --with-snmp --enable-static
        make
        make install  (must be done as root or a user with permission to /usr/local/sbin
        I then setup the agent
        Code:
        ./configure --enable-agent --enable-static
        make
        make install   (same as above)
        3) create the zabbix user
        Code:
        useradd zabbix
        4) create the config directory
        Code:
        mkdir /etc/zabbix
        cp <zabbix_source_dir>/misc/conf/zabbix_server.conf /etc/zabbix
        cp <zabbix_source_dir>/misc/conf/zabbix_agentd.conf /etc/zabbix
        5) edit the config files in the /etc/zabbix directory as appropriate to your installation

        6) copy the appropriate init files (zabbix_server, zabbix_agentd) from misc/init/<distro>
        6a) add the init script to the startup.
        chkconfig --add zabbix_agentd
        chkconfig --add zabbix_server
        You may have issues here, check the forums and your favorite search engine regarding init scripts

        7) copy the frontend directory to your web server's root directory

        8) start mysql
        (edit) Insert the schema and base data files. See the documentation for this, as I do not have a system in front of me right now to show the commands.

        9) start the zabbix server
        /etc/init.d/zabbix_server start
        or /usr/loca/sbin/zabbix_server

        10) start the agent
        see above and modify as appropriate

        11) start apache
        see your system documentation for the appropriate method

        12) Point a browser to your zabbix server

        13) Follow the install wizard.
        php.ini is found somewhere within /etc some distros put it in /etc others /etc/apache/* others /etc/httpd/*

        14) Enjoy... Beer works well with this step.

        Hopefully this helps , as you can see I basically follow the install doc, the only thing I do not do is setup inetd or edit the /etc/services file. Editing the /etc/services file is not a bad idea but it's not required. Using inetd is not needed if you are using zabbix_agentd. Installing/setting up both can have "undesired side effects" and much head flattening (see banging head against wall).

        Cheers!
        Last edited by nelsonab; 04-08-2009, 21:08. Reason: Added comment about setting up DB
        RHCE, author of zbxapi
        Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
        Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

        Comment

        • Nishith
          Junior Member
          • Jun 2008
          • 22

          #5
          Solved.

          Zabbix Is Working Fine.

          Comment

          • nelsonab
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2006
            • 1233

            #6
            Yeah! WIN!
            RHCE, author of zbxapi
            Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
            Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

            Comment

            Working...