Linux agent installation error

When trying to compile the source file to install the servers check agent on linux machine, I got this error:

gcc serverscheck.c -o serverscheck
/tmp/ccyHDPqW.o: In function `main':
serverscheck.c:(.text+0x4d): undefined reference to `pthread_create'
collect2: ld returned 1 exit status

Comments

  • AdministratorAdministrator
    Kindly indicate which Linux distribution you are trying to install this on. As a suggestion, I would recommend using SNMP instead. This is less resource hungry and is a native built-in into Linux.

    yum install net-snmp-utils
    yum install net-snmp
  • AdministratorAdministrator
    The concept of using SNMP can also be used on Windows based system by activating the SNMP feature in the Windows Server Manager > Roles > Features
Sign In or Register to comment.