• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 872
  • 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?
0
rufustmac
Asked:
rufustmac
  • 2
1 Solution
 
arnoldCommented:
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.
0
 
arnoldCommented:
Oh, make sure to run make distclean prior to running configure on the plugins.  make distclean removes all the objects/config.cache files.
0
 
rufustmacAuthor Commented:
Cool, that seemed to do the trick.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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