Trick: compile latest Nagios NRPE agent and plugins for MacOS with SSL

Steps to build the latest Nagios NRPE agent and nagios-plugins package for MacOS with SSL support:

    1. Download openssl-0.9.8zh.tar.gz
    2. Unpack and compile openssl-0.9.8gz (but do not “make install”):
      tar xzf openssl-0.9.8zh.tar.gz -C /tmp
      cd /tmp/openssl-0.9.8zh
      ./config
      make
    3. Download nagios-plugins-2.1.2.tar.gz.
    4. Unpack and compile nagios-plugins:
      cd -
      tar xzf nagios-plugins-2.1.2.tar.gz -C /tmp/
      cd /tmp/nagios-plugins-2.1.2
      ./configure --with-openssl=/tmp/openssl-0.9.8zh --enable-perl-modules
      make
      sudo make install
    5. Download nrpe 3.0.tar.gz.
    6. Unpack and compile nrpe 3.0:
      cd -
      tar xzf nrpe-3.0.tar.gz -C /tmp/
      cd /tmp/nrpe-3.0
      ./configure --with-openssl=/tmp/openssl-0.9.8zh
      make
      sudo make install
      
      

 

© Copyright 2018 Rex Consulting, Inc. - All rights reserved

From an early age, Chris Paul moved frequently because his dad was in the US Air Force. Born in Germany, then moved to Alabama, then Maryland, then Naples, Italy, then California since high school, with many Christmas seasons spent in Pittsburgh, PA, the home of his grandparents.

Leave a Reply

Your email address will not be published. Required fields are marked *