POP3Client error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

POP3Client error

Post 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
kyang

Re: POP3Client error

Post 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.
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

Re: POP3Client error

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: POP3Client error

Post 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.
Last edited by mcapra on Tue May 22, 2018 9:21 am, edited 3 times in total.
Former Nagios employee
https://www.mcapra.com/
kyang

Re: POP3Client error

Post by kyang »

Thanks for the help @mcapra!

I agree, with mcapra.

Let us know if you have any more questions.
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

Re: POP3Client error

Post 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. ^^
kyang

Re: POP3Client error

Post by kyang »

Great!

Did you have any more questions or are we okay to close this thread?
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

Re: POP3Client error

Post by comeonyoyo »

Sure!!

You may close this thread, have a nice day~
kyang

Re: POP3Client error

Post 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!
Locked