Ad Widget

Collapse

Patch for setproctitle library (zabbix 1.4.4)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shmuma
    Member
    • Nov 2007
    • 49

    #1

    Patch for setproctitle library (zabbix 1.4.4)

    Hello,

    attached small fix allows zabbix daemons to utilize library libsetproctitle written by Dmitry V. Levin. Source codes of this library can be found there: http://sisyphus.ru/srpm/Sisyphus/setproctitle/get
    Attached Files
  • Petya
    Member
    • Dec 2007
    • 37

    #2
    works for me

    To use this patch:

    1) download libsetproctitle:
    ftp://ftp.altlinux.org/pub/distribut...1-alt1.src.rpm

    2) get the source, compile:
    rpm2cpio setproctitle-0.3.1-alt1.src.rpm | cpio -id
    tar xf setproctitle-0.3.1.tar
    cd setproctitle-0.3.1 ; make

    3) copy *.so* to /usr/lib, run ldconfig -v | grep proctitle
    make sure libsetproctitle is in the output

    4) apply the above attached patch to zabbix source:
    patch -p 1 < setproctitle-configure.patch

    5) ./configure zabbix and check that config.h now contains
    the following line:
    #define HAVE_FUNCTION_SETPROCTITLE 1

    6) make ; make install

    Works with FC4! Thanks.

    Comment

    • Shmuma
      Member
      • Nov 2007
      • 49

      #3
      Originally posted by Petya
      3) copy *.so* to /usr/lib, run ldconfig -v | grep proctitle
      make sure libsetproctitle is in the output
      This step can be reduced to "sudo make install".

      Thank you for detailed instruction!

      Comment

      Working...