How to Compile NRPE With an SSL Option

Nagios is a sophisticated program designed to make it easy for Linux administrators to monitor dozens or even hundreds of systems from one computer. NRPE is an add on designed to allow you to monitor even local resources, like CPU load and memory usage, on those machines.

Instructions

    • 1

      Download both the Nagios Core and the Nagios Plugins from the project home page, as well as the NRPE add on (see Resources). The core contains the program itself, while the plugins contain common extra features including support for SSL.

    • 2

      Open a terminal and navigate to the directory where downloaded the Nagios Core using the following command:

      cd ~/Downloads/nagios-3.2.3

      Replace the path with the path where you made the download.

    • 3

      Type the following three commands to configure, compile and install the Nagios Core:

      ./configure

      make

      make install

    • 4

      Navigate to the directory where downloaded the plugins package using the following command:

      cd ../nagios-plugins-1.4.15

    • 5

      Type the following:

      ./configure > config_log; cat config_log | egrep "ssl|SSL"

      This command is a little more sophisticated than the last one: it runs the "configure" script and sends the output to the file "config_log." As soon as it finished, it searches the config_log using the "cat" and "grep" commands for the word "SSL" and prints only those lines. If the lines all read "yes," everything is configured to use SSL. If any of them read "no," then you need to download and install the latest version of OpenSSL.

      If the Nagios Plugins are not configured to use SSL, NRPE will not work with SSL either.

    • 6

      Type the following command to build and install the Nagios plugins:

      make

      make install

    • 7

      Type the following to navigate to the NRPE folder:

      cd ../nrpe-2.12

    • 8

      Type the same command that you used in step 5:

      ./configure > config_log; cat config_log | egrep "ssl|SSL"

      If it fails, but you have OpenSSL installed, you may need to specify the directory manually by typing:

      ./configure --with-ssl-lib=/usr/lib > config_log; cat config_log | egrep "ssl|SSL"

Tips & Warnings

  • In steps 5 and 8, the "|" is the pipe symbol (Shift-\), not a lowercase l or uppercase i.

Related Searches:

References

Comments

You May Also Like

  • How to Compile PHP With SSL

    As a language designed explicitly for developing web applications, PHP comes with most of the tools web developers need out of the...

  • How to Remove SSL Exchange

    With the Internet Information Services (IIS) Manager application you can manage the local settings for the Microsoft Exchange Server 2010 that's set...

  • How to Configure Stunnel Windows

    Server administrators and home users alike feel the pressure to secure their Internet communications, but not every application supports using Transport Layer...

  • How to Monitor CPU Usage in Linux

    Most Linux distributions are relatively easy on system resources, and can run well on computers that may bog down with Windows. Still,...

  • How to Add Contacts to Nagios

    Nagios is a modular system that is used to monitor networks. It is used to monitor services such as http, smtp, and...

  • How to Add New Contacts in Nagios

    Nagios is monitoring software designed to detect and track problems that arise within commercial IT infrastructures. Beyond simply detecting problems, Nagios also...

  • How to Monitor Memory in Linux

    Activating a system monitor in Linux is a quick and easy process. The system monitor will enable you to not only monitor...

  • How to Download Java 1.6

    Java is an object-oriented programming language developed by Sun. It allows programmers to compile applications into packages known as class files. These...

  • How to Monitor Web & Computer Usage

    Whether you're monitoring employees or keeping an eye on your curious teenager, monitoring web and computer usage can be vital to computer...

  • How to Monitor Web Usage

    If you are a concerned parent or an employer who needs to monitor employee activity, there are Web usage trackers available for...

  • How to Use Pound with SSL

    Pound is a non-caching reverse proxy server for Linux and UNIX that is used in load balancing, security analysis, decryption and network...

  • How to Compile C in Ubuntu

    C is a low-level programming language used to develop the Linux operating system. You can use the C language to write your...

  • How to Compile the Apache2 SSL

    The Secure Socket Layer (SSL) protocol is the basis for most of the secure e-commerce transactions on the Internet. By using end-to-end...

  • How to Compile Python Code

    You May Also Like. How to Compile a Python File. Python is slightly different from most other programming languages, both higher- and...

Related Ads

Featured