Page 1 of 1

POP3Client error

Posted: Mon May 21, 2018 4:36 am
by comeonyoyo
Hello Guys

I found this error on Service Status => Status infomation of the nagiosXI 5.r1.0 , please help to check how to fix it , thank you ...

(No output on stdout) stderr: Can't locate Mail/POP3Client.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec

Re: POP3Client error

Posted: Mon May 21, 2018 9:43 am
by kyang
Hello,

Try installing this package using the Nagios XI terminal:

Code: Select all

yum install perl-Mail-POP3Client
Or let me know which plugin you are using that receives this error.

Re: POP3Client error

Posted: Mon May 21, 2018 8:13 pm
by comeonyoyo
I tried to install perl-Mail-POP3Client package , but it can`t fix the problem , change to this error below

(No output on stdout) stderr: Can't locate Email/MIME.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/chec


I use the service check with command ''check_pop3_subject!-u'' which got this error msg

Re: POP3Client error

Posted: Tue May 22, 2018 8:27 am
by mcapra
You'll need to make sure your system's Perl environment contains all the dependent modules. This applies to practically any Perl based plugin you want to use with Nagios XI, not just check_pop3_subject.

Via yum, that package can be installed like so:

Code: Select all

yum install perl-Email-MIME
* It is also worth mentioning that not every Perl module is necessarily available via yum. You may need to build certain modules by hand or explore installing those modules via cpan.

Re: POP3Client error

Posted: Tue May 22, 2018 9:17 am
by kyang
Thanks for the help @mcapra!

I agree, with mcapra.

Let us know if you have any more questions.

Re: POP3Client error

Posted: Tue May 22, 2018 8:38 pm
by comeonyoyo
It can`t be fixed by cpan[1]> install Email::MIME this time, will read timeout . After yum install perl-Email-MIME, it fixs these problems.
Thanks a lot for both of your great support. ^^

Re: POP3Client error

Posted: Wed May 23, 2018 9:03 am
by kyang
Great!

Did you have any more questions or are we okay to close this thread?

Re: POP3Client error

Posted: Wed May 23, 2018 8:44 pm
by comeonyoyo
Sure!!

You may close this thread, have a nice day~

Re: POP3Client error

Posted: Thu May 24, 2018 8:59 am
by kyang
Sounds good!

Thanks for using the Nagios Support Forums!

Feel free to create a new thread if you have any more issues.

Have a great day!