Feature #415
Create an apk Package for Nagios Standard Plugins
| Status: | Closed | Start date: | 08/20/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - |
Description
Please create a package of Nagios standard plugins. The source code can be found at http://nagiosplugins.org. Due to several limitations of BusyBox, the standard plugins will not work unless the configure script is adjusted. I have an adjusted version and a set of instructions to correctly compile the plugins. Please contact me when you are ready.
NOTE: The existing nrpe apk package uses /usr/libexec/ as the location of the NRPE plugin. This represents two errors. First, the NRPE package goes on client computers and generally does not need the check_nrpe plugin. This plugin should be part of the standard plugin package. Secondly, there are hard-wired values in the standard plugins to use /usr/local/nagios/libexec/ as the standard plugin location. If this location is not used problems result.
History
Updated by Jeff Bilyk over 1 year ago
A few things: 1) check_nrpe is useful when packaged with the nrpe daemon. This allows you to confirm locally that nrpe is working before testing over the network. 2) Source package for plugins is http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.15.tar.gz. 3) check_nrpe is not included with the standard nagios plugins source tarball (see http://nagiosplugins.org/node/2 for the list of included plugins), so do we want to deviate from how the makers do things? If you want it seperate from nrpe, how about a subpackage of nrpe, for example nrpe-plugins, which could also include other plugins that could be executed on client machines. Thoughts?
Updated by Jeff Bilyk over 1 year ago
- File nagios-plugins-APKBUILD.txt added
Also, put together an APKBUILD from the plugin-compile script that you attached. It's missing 2 things: radiusclient-ng (because I wasn't sure if freeradius-client would be compatible and was too lazy to check) and the md5sums. I should be able to test the APKBUILD early next week.
Updated by Jeff Bilyk over 1 year ago
- File nagios-plugins-APKBUILD.txt added
Typo in first APKBUILD - forgot source line - this one should actually work.
Updated by Robert Boisvert over 1 year ago
I can see why check_nrpe should remain in the NRPE package but please make sure it is part of the standard plugin package since it is needed there.
Also, several plugins will fail to compile properly without the changes I made to the configure file. Did you incorporate these changes? They can easily be identified with a diff.
Thanks.
Updated by Jeff Bilyk over 1 year ago
Tested apkbuild + patch (needed because of busybox differences) and submitted.
Updated by Jeff Bilyk over 1 year ago
Made a couple more commits that should resolve this ticket(pending end-user testing by Robert). Added a subpackage of nrpe called nrpe-plugin that contains check_nrpe. Added this as a dependency for nagios-plugins. The only nagios plugin that isn't currently included in APK is check_radius, since it depends on radiusclient-ng which we don't currently have. Also, there isn't a current need for the check_radius plugin. If there is a need, we can package radiusclient-ng and then bump pkgrel on nagios-plugins.
Updated by Jeff Bilyk over 1 year ago
Ticket should be fine to close now.
Updated by Natanael Copa over 1 year ago
- Status changed from New to Closed
Updated by Natanael Copa over 1 year ago
- % Done changed from 0 to 100