Welcome to Pandora FMS Community!

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

  • SNMP dependensy

    Posted by tonytv on September 17, 2009 at 11:49

    Hello, I`m a new user and decide to install pandoraFMS.When I start automatic install script(pandora_sever_installer –install) appears a message “You are missing the following dependencies

    SNMP
    “. So, I try to install SNMP by the CPAN “install SNMP“, but the the makefile tell me “You need to install net-snmp first (I can’t find net-snmp-config) at Makefile.PL
    line 110.
    Running make test
      Make had some problems, maybe interrupted? Won’t test
    Running make install
      Make had some problems, maybe interrupted? Won’t install


    I run “yum install net-snmp” and install it successufully ,but the SNMP`s makefile again warn me”You need to install net-snmp first (I can’t find net-snmp-config) at Makefile.PL
    line 110.
    Running make test
      Make had some problems, maybe interrupted? Won’t test
    Running make install
      Make had some problems, maybe interrupted? Won’t install

    Can I install server without SNMP module? Or could someone help me how to install SNMP.
    THANKS in advance

    Sancho replied 15 years, 4 months ago 6 Members · 7 Replies
  • 7 Replies
  • suzdal

    Member
    September 17, 2009 at 12:44
    1 Karma
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    try to install this:

    perl-XML-Simple
    net-snmp-perl

  • iElectric

    Member
    September 17, 2009 at 12:50
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I solved this by doing

    cd ~/.cpan/build/package/
    make
    make install

  • tonytv

    Member
    September 17, 2009 at 15:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I have net-snmp-perl and perl-XML-Simple.
    And I went to ~/.cpan/build/SNMP-5.0401 ,but there isn`t makefile
    -rw-r–r– 1 274 wheel  1053 Apr 20  2002 BUG
    drwxr-xr-x 2 274 wheel  4096 Sep 18  2007 examples
    drwxr-xr-x 2 274 wheel  4096 Sep 18  2007 hints
    -rw-r–r– 1 274 wheel  11018 May 31  2007 Makefile.PL
    -rw-r–r– 1 274 wheel    575 Sep 18  2007 MANIFEST
    -rw-r–r– 1 274 wheel    79 Apr 20  2002 MANIFEST.SKIP
    -rw-r–r– 1 274 wheel    290 Sep 18  2007 META.yml
    -rw-r–r– 1 274 wheel    786 Apr 20  2002 perlsnmp.h
    -rw-r–r– 1 274 wheel  43126 Oct 25  2006 README
    -rw-r–r– 1 274 wheel  75120 May 22  2007 SNMP.pm
    -rw-r–r– 1 274 wheel 176560 Jun 19  2007 SNMP.xs
    drwxr-xr-x 2 274 wheel  4096 Sep 18  2007 t
    -rw-r–r– 1 274 wheel  1193 Apr 20  2002 TODO
    -rw-r–r– 1 274 wheel    46 Apr 20  2002 typemap

    and command “make” doesn`t start

  • tonytv

    Member
    September 17, 2009 at 15:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    OOO Great I find solution! If it help someone I will happy. Just install net-snmp-devel.

  • pconcepcion

    Member
    September 18, 2009 at 16:01
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello tonytv,

    To install from ~/.cpan/build/SNMP-5.0401 you have to run perl Makefile.PL to create the Makefile, and then you can go on with that Makefile.

  • general9000

    Member
    October 6, 2009 at 04:53
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I need help too
    I did this:

    ===>

    cpan> install Net::SNMP
    Net::SNMP is up to date

    cpan> install SNMP

    you need to install net-snmp first (I can’t find net-snmp-config) at Makefile.PL line 110
    Running make test
    make had some problems, maybe interrupted? Won’t test

    cpan> exit

    root ]#cd /root/.cpan/build/SNMP-50401
    root SNMP-5.0401]# dir
    — — — — —-  —-
    — Makefile.PL —— —-

    root SNMP-5.0401]# make
    make: ****** No targets specifies and no makefile found. Stop

    root SNMP-5.0401]# make Makefile.PL
    make: *** Nothing to be done for ‘Makefile.PL’

    root SNMP-5.0401]# perl Makefile.PL
    you need to install net-snmp first (I can’t find net-snmp-config) at Makefile.PL line 110

    root SNMP-5.0401]# du Makefile.PL
    12    Makefile.PL

    Help please.. what more i can doing ?

  • Sancho

    Administrator
    October 7, 2009 at 18:29
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Install snmp package in your disto:

    apt-get install snmp (debian, ubuntu)
    zypper install snmp (suse)
    yum install snmp (rh)

    or manually using RPM:

    rpm -i snmp….