Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 471481 - check_ide_smart has incorrect ownership to work with NRPE
Summary: check_ide_smart has incorrect ownership to work with NRPE
Keywords:
Status: CLOSED DUPLICATE of bug 469530
Alias: None
Product: Fedora
Classification: Fedora
Component: nagios-plugins
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike McGrath
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-13 21:40 UTC by Ben Webb
Modified: 2009-01-11 15:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-11 15:40:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ben Webb 2008-11-13 21:40:20 UTC
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):
nagios-plugins-ide_smart-1.4.13-9.fc9.i386
nrpe-2.7-6.fc9.i386

How reproducible:
Always.

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 
  
Actual results:
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'.

Expected results:
nrpe user can run the ide_smart check.

Additional info:

Comment 1 Jose Pedro Oliveira 2008-11-14 00:16:01 UTC
This is a subset of bug 469530.

Comment 2 romal 2009-01-11 15:40:30 UTC
Yes Jose, you are right.

*** This bug has been marked as a duplicate of bug 469530 ***


Note You need to log in before you can comment on or make changes to this bug.