How do you install a nagios plug-in or patch?

by Yzhang   Last Updated October 11, 2015 11:01 AM

This may be a basic question, but I have absolutely no idea how to do this. And I've looked everywhere online and I haven't found a decent article or instructions how to do so. So perhaps some of you know?

How do you install a plug in like the following in nagios?

I downloaded that file and I have no idea what to do with it. I've tried moving it to plugins directory and then execute but that doesn't seem to be the way.

Moreover occasionally they have patches for plugins with a .patch extension, like this:

And I really don't know what to do with that either. I've tried using the patch command to apply but that doesn't seem to work, I think somewhere I read you have to apply it to the source and recompile? But that would be insanely dumb and inefficient to do so. So maybe I am missing something?

Sorry If I am missing something very obvious, but I can't see it.

Related Questions

Patching to a specific date

Updated April 04, 2018 16:02 PM

Open Source Linux patch management

Updated February 28, 2018 12:02 PM