1. Build the plugin binary unpack check_printer.tar.gz `tar xzf check_printer.tar.gz` change to the directory "check_printer" and type `make` to build to plugin. `make install` will copy the plugin to "/usr/lib/nagios/plugins/" Have Fun! 2. Create a patched nagios-plugins-1.4 RPM get and install the nagios-plugins-1.4 source RPM. copy "check_printer.diff" to your source directory ( /usr/src/packages/SOURCES ) Change to the directory containing the SPEC file for nagios-plugins. ( /usr/src/packages/SPECS ) Add the patch to the nagios-plugins.spec file. For Example: --- nagios-plugins.spec 2006-02-17 09:19:18.000000000 +0100 +++ nagios-plugins.spec 2006-02-17 09:19:43.000000000 +0100 @@ -22,6 +22,7 @@ Autoreqprov: on Source0: nagios-plugins-%{version}.tar.bz2 Patch1: autoconf.patch +Patch2: check_printer.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: perl-Net-SNMP %define libexecdir %{_prefix}/lib/nagios/plugins @@ -56,6 +57,7 @@ %prep %setup %patch1 +%patch2 -p1 %build %{?suse_update_config:%{suse_update_config}} build your rpm package as usual: `rpmbuild -ba nagios-plugins.spec` when finished, you can install the patched RPM. `rpm -U --oldpackage /usr/src/packages/RPMS/i586/nagios-plugins-1.4-1.i586.rpm` Have fun!