Ad Widget

Collapse

Build zabbix agent v2 from source on Ubuntu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MacX
    Junior Member
    • Jan 2021
    • 3

    #1

    Build zabbix agent v2 from source on Ubuntu

    Hi, I was following the article https://blog.zabbix.com/developing-p...2/#hello-world
    in order to try the new zabbix agent v2 and to see how plugins work
    my OS Ubuntu 20.04
    I found two problems, is not speficied in the article but you have to install build-essential package in order to build correctly (at least on ubuntu)
    next the last command make for me fails and throws this message
    Code:
    make: *** No targets specified and no makefile found. Stop.
    previous commands seem to be executed correctly
    Could somebody help with that ?
  • sherfyjane
    Junior Member
    • Jan 2021
    • 2

    #2
    Originally posted by MacX
    Hi, I was following the article https://blog.zabbix.com/developing-p...2/#hello-world njmcdirect
    in order to try the new zabbix agent v2 and to see how plugins work
    my OS Ubuntu 20.04
    I found two problems, is not speficied in the article but you have to install build-essential package in order to build correctly (at least on ubuntu)
    next the last command make for me fails and throws this message
    Code:
    make: *** No targets specified and no makefile found. Stop.
    previous commands seem to be executed correctly
    Could somebody help with that ?
    Through which version you are trying to? i mean using! It would save my time.
    Last edited by sherfyjane; 15-01-2021, 08:21.

    Comment

    • MacX
      Junior Member
      • Jan 2021
      • 3

      #3
      Hi, yes, forgot to mention it, I took the latest available in https://www.zabbix.com/download_sources so Zabbix 5.2.3

      Comment

      • MacX
        Junior Member
        • Jan 2021
        • 3

        #4
        looks like don't need source, installed from the zabbix repo, looks fine
        Code:
        apt install zabbix-agent2

        Comment

        Working...