Ad Widget

Collapse

Makes without error but no bins?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • romulus15
    Junior Member
    • Aug 2005
    • 9

    #1

    Makes without error but no bins?

    Hi,

    I am just starting with Zabbix and wanted to use the 1.1 alpha 12 release.

    After quite a few packages missing and some dependency nightmares, I was finally able to get everthing to work, or so I thought.

    Running ./configure --enable-server --with-mysql --with-net-snmp
    No errors or warnings.

    Ran make with no errors or warnings.

    When I look in the bin directory, I'm not finding any compiled files other than the Windows exe.

    I've followed everything according to the 1.1 alpha manual.

    I'm attaching the output of make to this post. Any help you can provide is appreciated. It looks like zabbix will do exactly what we want to do.

    Thanks ~Max
    Attached Files
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

    Not sure if it is a bug, or design, but the binaries are no longer put in the bin directory, instead they are located in the src directory for the item(s) you enabled. So the zabbix_agentd is located in src/zabbix_agent directory and the zabbix_server is located in the src/zabbix_server directory.
    Unofficial Zabbix Developer

    Comment

    • romulus15
      Junior Member
      • Aug 2005
      • 9

      #3
      Hmm...the only executable file that I have is ./source/zabbix_server/zabbix_server

      Nothing in any other directory, just source, header and include files.

      Seems like the make didn't actually make anything but the server module?

      Comment

      • James Wells
        Senior Member
        • Jun 2005
        • 664

        #4
        Correct. That is to be expected based on;
        Originally posted by romulus15
        Running ./configure --enable-server --with-mysql
        According to this, you told configure to only build the server portion, which will be located in the src/zabbix_server directory as zabbix_server. You didn't tell it to also build the agents.
        Unofficial Zabbix Developer

        Comment

        • romulus15
          Junior Member
          • Aug 2005
          • 9

          #5
          So there is only one binary executable file to run the entire zabbix program? No daemons to handle traps, events, actions, pollers, etc?

          I'm comming from the OpenNMS world where there's a ton of things running all the time.

          Thanks for all your help.

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            When doing ./configure you have to specify what you're trying to compile:

            --enable-agent # compile agents
            --enable-server # compile server
            --enable-agent --enable-server # compile both

            Yes, there is only one server process, zabbix_server. ZABBIX agent is called zabbix_agentd.

            And don't forget to do "make install" to put compiled binaries into --prefix, which is /usr/local/ by default.
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • romulus15
              Junior Member
              • Aug 2005
              • 9

              #7
              Thanks for all your help. I have Zabbix up and running and monitoring my Windows 2003 server after quite some initial confusion on the configuration.

              Now on to my next problem, figuring out why no graphs are displaying even though I have GD installed and PHP is compiled with '--with-gd=shared' '--enable-gd-native-ttf'

              Comment

              • romulus15
                Junior Member
                • Aug 2005
                • 9

                #8
                Well, figured that one out. Now I'm all set.

                Turns out Fedora Core 3's PHP RPM doesn't actually install PHP-GD, even though it's compiled with it, and all PHP Documentation shows that 3.4.x comes with GD.

                Just did a 'yum install php-gd', retstarted Apache and all is good.

                Pretty graphs everywhere.

                I look forward to really testing this thing out, especially with Win32 event log monitoring.

                Comment

                Working...