Nagios Permissions Error ?

Sunil Sankar sunil at sunil.cc
Mon Jan 14 22:16:53 CET 2013


Please install
apt-get install libnet-dns-perl

On Tue, Jan 15, 2013 at 2:35 AM, Sunil Sankar <sunil at sunil.cc> wrote:

> This is a due to missing cpan module
>
> On Tue, Jan 15, 2013 at 1:21 AM, Martin Hugo <Martin_Hugo at hboe.org> wrote:
>
>>  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 at 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
>>
>
>
>
> --
> Regards
> Sunil Sankar




-- 
Regards
Sunil Sankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130115/b54947f8/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list