Error Upon installing Monitoring::Plugin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
acvillaester
Posts: 21
Joined: Fri Nov 17, 2017 11:06 am

Error Upon installing Monitoring::Plugin

Post by acvillaester »

Hi,

I have this error upon installing Monitoring::Plugin

[root@nagios-net objects]# perl -MCPAN -e 'install Monitoring::Plugin'
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 04 Dec 2018 14:17:03 GMT
Fetching with LWP:
http://cpan.cpantesters.org/authors/01mailrc.txt.gz
perl: symbol lookup error: /usr/lib64/perl5/auto/Socket6/Socket6.so: undefined symbol: Perl_Gthr_key_ptr


===========
[root@nagios-net objects]# curl -L http://cpanmin.us | perl - --sudo App::cpanminus
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 295k 100 295k 0 0 517k 0 --:--:-- --:--:-- --:--:-- 518k
-: symbol lookup error: /usr/lib64/perl5/auto/Socket6/Socket6.so: undefined symbol: Perl_Gthr_key_ptr


Anyone, please help.

Thanks.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Error Upon installing Monitoring::Plugin

Post by ssax »

Install it this way:

Code: Select all

yum install perl-Nagios-Plugin
Actually, what Distro/Version are you running?
acvillaester
Posts: 21
Joined: Fri Nov 17, 2017 11:06 am

Re: Error Upon installing Monitoring::Plugin

Post by acvillaester »

Hi,

Distro used:
Red Hat Enterprise Linux Server release 7.5 (Maipo)

Upon Installing:
[root@xxxx xxxxx]# yum install perl-Nagios-Plugin
Loaded plugins: product-id, search-disabled-repos, subscription-manager
rhel-7-server-extras-rpms | 3.4 kB 00:00:00
rhel-7-server-optional-rpms | 3.2 kB 00:00:00
rhel-7-server-rpms | 3.5 kB 00:00:00
(1/6): rhel-7-server-extras-rpms/x86_64/updateinfo | 172 kB 00:00:01
(2/6): rhel-7-server-extras-rpms/x86_64/primary_db | 530 kB 00:00:01
(3/6): rhel-7-server-optional-rpms/7Server/x86_64/updateinfo | 2.1 MB 00:00:01
(4/6): rhel-7-server-rpms/7Server/x86_64/updateinfo | 3.0 MB 00:00:01
(5/6): rhel-7-server-optional-rpms/7Server/x86_64/primary_db | 7.6 MB 00:00:01
(6/6): rhel-7-server-rpms/7Server/x86_64/primary_db | 55 MB 00:00:02
No package perl-Nagios-Plugin available.
Error: Nothing to do

Please help.

Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error Upon installing Monitoring::Plugin

Post by scottwilkerson »

This is in the epel repo, you would need to add that
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked