Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change or test the path for the plugins directory #1

Open
nvogel opened this issue Apr 7, 2010 · 1 comment
Open

Change or test the path for the plugins directory #1

nvogel opened this issue Apr 7, 2010 · 1 comment

Comments

@nvogel
Copy link

nvogel commented Apr 7, 2010

With this version

http://www.monitoringexchange.org/attachment/download/Check-Plugins/Operating-Systems/Linux/check_munin_rrd/check_munin_rrd.pl

I've to change the line
use lib "/usr/lib/nagios/plugins" ;
with
use lib "/usr/local/nagios/libexec";

Maybe add a test to validate the path or make it dynamic because I lost a lot of time to figure out that.

@jrottenberg
Copy link
Owner

Ah... assumptions... ;-)

Yep I should not expect the nagios plugin path to be there, instead of making that part dynamic, I'll try to fail earlier, ie try to include of fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants