Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Problem adding Perl-Net::Ping::External module

  • Problem adding Perl-Net::Ping::External module

    Posted by zubero on June 3, 2007 at 15:47

    Good Morning:

    I was trying to add some Perl Modules required for installing Pandora FMS 1.2 in a computer with Red Hat Enterprise Linux v. 4 update 4, but trying to do it with cpan shell I’ve found a trouble with Net::Ping::External module.

    In fact, I don’t understand the reason of this issue, but I also must admit I am a beginner in this subject. Could you help me with the installation of this module? Is it really necessary for Pandora running fine? I’d really appreciate if you could give me some advice.

    I attach you a part of the output of the command. Tell me if you need more info:

    cpan> install Net::Ping::External

    Running a more verbose test suite.
    ————————————————-

    Net::Ping::External version: 0.12
    5/6 tests passed.

    Successful tests:
    use Net::Ping::External qw(ping)
    ping(host => ‘127.0.0.1’)
    ping(host => ‘127.0.0.1’, timeout => 5)
    ping(host => ‘127.0.0.1’, count => 10)
    ping(host => ‘127.0.0.1’, size => 32)

    Failed tests:
    ping(host => ‘some.non.existent.host’)

    Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
    [-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
    [-M mtu discovery hint] [-S sndbuf]
    [ -T timestamp option ] [ -Q tos ] [hop1 …] destination

    Operating system according to perl: Operating system according to `uname -a` (if available):

    Linux localhost.localdomain 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux

    Perl version: This is perl, v5.8.5 built for i386-linux-thread-multi

    Ping help:
    ————————————————-

    Tests: fail

    make: *** [test_dynamic] Error 1

    /usr/bin/make test — NOT OK

    Running make install

    make test had returned bad status, won’t install without force

    Thanks in advance.

    zubero replied 17 years, 8 months ago 2 Members · 6 Replies
  • 6 Replies
  • manu

    Member
    June 3, 2007 at 20:18
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    As in the other thread….

    What’s the error pandora’s complaining about?

  • zubero

    Member
    June 3, 2007 at 20:37
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thank you for your quick answer, manu.

    The issue is that a needed perl module (Net::Ping::External ) cannot be added (regarding the INSTALL file). As it shows in the output during the adding process of this module:

    Tests: fail
    make: *** [test_dynamic] Error 1
    /usr/bin/make test — NOT OK
    Running make install
    make test had returned bad status, won’t install without force

  • manu

    Member
    June 3, 2007 at 20:39
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    What about installing perl-Net-Ping-External by using its RPM and not the sources?

  • zubero

    Member
    June 3, 2007 at 20:52
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I installed sources because I was looking for that rpm and I didn’t find it (RHEL didn’t contain it). And looking for some help in Internet, appeared this way as a good one. I did the same with other modules and worked fine (except SNMP one).

  • manu

    Member
    June 3, 2007 at 20:55
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ummm as long as Fedora do contain it, RHEL must have one similar:

    [root@Arbusto ~]# rpm -qa | grep -i perl-Net-Ping
    perl-Net-Ping-External-0.11-8
    perl-Net-Ping-2.28-1

    Furthermore, I have the RPM here, do you want me to send it to you?
    If so, leave me your email.

    Cheers

  • zubero

    Member
    June 11, 2007 at 01:48
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Good night:

    I am sorry for the delay in my answer. Your solution worked fine, and the problem adding this perl module was solved.

    Tank you, Manu.