• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 882
  • Last Modified:

Recompiling/Reinstalling packaged plugins on centOS Linux

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?
  • 2
1 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.
Oh, make sure to run make distclean prior to running configure on the plugins.  make distclean removes all the objects/config.cache files.
rufustmacAuthor Commented:
Cool, that seemed to do the trick.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now