Recompiling/Reinstalling packaged plugins on centOS Linux

Posted on 2009-12-31
Last Modified: 2013-12-15
Before I ask my question, I will preface my statement with the fact that I am a complete novice when it comes to Linux.

I have installed Nagios 3.2 on centOS 5.4 and everything is working fine.  I am monitoring a few hosts with no problem.  However, I went to configure printers and noticed that I didn't have the check_hpjd plugin in the /usr/local/nagios/libexec directory.  So after some research I found I needed to install net-snmp and net-snmp-utils.  I used yum to download/install these packages which went fine.  However, my impression is that I have to recompile/reinstall the Nagios plugins now.  My question is am I going to run the ./configure /make /make install commands again in the Nagios plugins folder or will that mess up my current setup.  Am I doing this correctly?
Question by:rufustmac
    LVL 76

    Accepted Solution

    Yes you would need to run the configure make and make install on the plugins, the install of the plugins do not alter the configuration files.
    But just in case, backup the /usr/local/nagios/etc/ folder.
    LVL 76

    Expert Comment

    Oh, make sure to run make distclean prior to running configure on the plugins.  make distclean removes all the objects/config.cache files.

    Author Closing Comment

    Cool, that seemed to do the trick.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now