Look at two things:

Where your perl modules are installed...  You have some installed in root' home 
dir and regular user won't be able to access them.

Does this module require root level permissions as some network socket related 
modules do?

Lee


----- Original Message -----
From: Martin Hugo [martin_h...@hboe.org]
Sent: 01/14/2013 07:51 PM GMT
To: 'Nagios Users List' <nagios-users@lists.sourceforge.net>
Subject: [Nagios-users] Nagios Permissions Error ?



Hi Everyone,

I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a problem 
with a couple of plugins that I think is related to a permissions issue.

I installed from source as root (sudo su).

I can run ./usr/local/nagios/libexec/check_iftraffic4.pl -H <ipaddress> -C 
<communitystring> -i F24 -b 100 -u m from the command line as root no problem, 
however the web interface shows critical (nul).

If I try to run the same command logged in as any other user, I get

Can't locate Net/DNS.pm in @INC (@INC contains: 
/root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5 
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at ./usr/local/nagios/libexec/check_iftraffic4.pl 
line 247.
BEGIN failed--compilation aborted at 
./usr/local/nagios/libexec/check_iftraffic4.pl line 247.

Net::DNS is installed.

Any thoughts?

--
Martin T. Hugo
Network Administrator
Hilliard City Schools
614-921-7102 (Ph)
614-921-7243 (Fax)

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to