Page 2 of 2

Re: Issue in Nagios XI but OK in Core

Posted: Mon Jan 06, 2020 5:15 pm
by mbellerue
Can you give us the output of

Code: Select all

ls -lh /usr/lib64/perl5/vendor_perl/WWW/Curl/

Re: Issue in Nagios XI but OK in Core

Posted: Mon Jan 06, 2020 9:43 pm
by Srinija544
Hi mbellerue,

Please find the output of this command:

ls -lh /usr/lib64/perl5/vendor_perl/WWW/Curl/
==================================================
[root@dc1prd484 Curl]# ls -lh /usr/lib64/perl5/vendor_perl/WWW/Curl/
total 28K
-rw-r--r-- 1 root root 15K Apr 11 2018 Easy.pm
-rw-r--r-- 1 root root 627 Nov 29 2010 Form.pm
-rw-r--r-- 1 root root 381 Jul 5 2010 Multi.pm
-rw-r--r-- 1 root root 1.1K Apr 11 2018 Share.pm


Regards,
Srinija.

Re: Issue in Nagios XI but OK in Core

Posted: Tue Jan 07, 2020 11:33 am
by mbellerue
Okay, so that looks correct. Can you create just a test perl script to see if the test script can import WWW::Curl::Easy? Something like this,

Code: Select all

#!/usr/bin/env perl
use WWW::Curl::Easy;
print "Working"
If that works, then there must be something wrong with the sharepoint.pl script.