Bug 180193

Summary: Nagios plugins dir, Debian and the USER1 var
Product: [Fedora] Fedora Reporter: Paul Wouters <paul>
Component: nagiosAssignee: Mike McGrath <imlinux>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: extras-qa, redhat
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-24 04:24:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Wouters 2006-02-06 18:17:53 UTC
From Bugzilla Helper:
User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)

Description of problem:
A softlink from /var/lib/nagios/libexec to /usr/lib/nagios/plugins is no longer provided. This breaks nagios on cross platform distribution (eg debian) since no longer a single USER1 variable can be used and commands would have to be seperately defined for debian vs fedora machines.

Version-Release number of selected component (if applicable):
nagios-2.0-0.2.rc2.fc4

How reproducible:
Didn't try

Steps to Reproduce:
1.install nagios
2.check for the missing softlink
3.
  

Actual Results:  all my previously defined commands were suddenly broken due to a different USER1 variable.

Additional info:

Comment 1 Paul Wouters 2006-02-06 18:28:27 UTC
actually, what happened is that a new directory was created, so now i have an
almost empty /usr/lib/nagios/plugins that just contains a directory
eventhandles, and a full directly of /var/lib/nagios/libexec with plugins. I
guess I need to change USER1 again to point to the old directory.
(sorry for the bad title, i stupidly re-used the previous submission entry)

Comment 2 Paul Wouters 2006-02-06 18:29:10 UTC
*** Bug 180194 has been marked as a duplicate of this bug. ***

Comment 3 Mike McGrath 2006-02-06 18:36:03 UTC
Where does Debian put its plugins?

Also nagios-plugins is in waiting for review right now.  It stores things in
/usr/lib/nagios/plugins/

Also, the nagios-plugins you have, where did you get it from?

Comment 4 Peter E. Popovich 2006-02-19 06:06:05 UTC
Saw this and figured I'd comment...

Debian apparently[1] puts its plugins in /usr/lib/nagios/plugins.  Dunno about
Paul, but I'm currently using the RPMForge verion[2], which uses
/usr/lib/nagios/plugins, too

(I'm probably stating the obvious, but the plugin scripts are relatively static.
 /var would not be a good place for them.)

[1]
http://pdo.debian.net/cgi-bin/search_contents.pl?searchmode=filelist&word=nagios-plugins&version=stable&arch=i386
[2] http://dries.ulyssis.org/rpm/packages/nagios-plugins/info.html 

Comment 5 Mike McGrath 2006-03-11 16:18:53 UTC
*** Bug 180190 has been marked as a duplicate of this bug. ***