Red Hat Bugzilla – Bug 471481
check_ide_smart has incorrect ownership to work with NRPE
Last modified: 2009-01-11 10:40:30 EST
Description of problem:
As part of a recent update, the check_ide_smart plugin was changed to have root:nagios ownership, so that the Nagios daemon could run it. This made it break on our systems, however, where we run check_ide_smart on remote systems (not the main Nagios host) via the NRPE daemon (which runs as the nrpe user and nrpe group). In order for the plugin to now work on our systems, it must be manually changed to root:nrpe ownership (or made world-executable, I suppose).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install the nagios-plugins-ide_smart package on a machine which has NRPE (*not* Nagios) installed.
2. Try to execute the plugin as the nrpe user (or alternatively, set up NRPE and then try to run a check_nrpe check of ide_smart from the main Nagios host):
% su nrpe -s /bin/sh -c /usr/lib/nagios/plugins/check_ide_smart
Step (1) complains that the 'nagios' group does not exist (which is correct - it doesn't) and uses root instead to install the plugin. Step (2) reports 'permission denied'.
nrpe user can run the ide_smart check.
This is a subset of bug 469530.
Yes Jose, you are right.
*** This bug has been marked as a duplicate of bug 469530 ***