Visualizzazione dei risultati da 1 a 10 su 10
  1. #1

    snmp + tkmib + perl --- errore

    ciao,
    dopo aver installato net-snmp, volevo eseguire il tool tkmib, ma ho:

    ERROR: You don't have the Tk module installed. You should be able to
    install this by running (as root):

    perl -MCPAN -e 'install Tk'

    e cerco di eseguirlo, ma ho l'errore:

    t/zzScrolled.................NOK 66# Test 66 got: "589x341+0+32" (t/zzScrolled.t at line 104 fail #2)
    # Expected: "589x341+0+0" (Sizechk: geometry has not changed not reset for -height => 24+(5))
    # t/zzScrolled.t line 104 is: ok($newgeo, $oldgeo, "Sizechk: geometry has not changed not reset" .
    t/zzScrolled.................NOK 94# Test 94 got: "589x341+17+32" (t/zzScrolled.t at line 104 fail #4)
    # Expected: "589x341+0+32" (Sizechk: geometry has not changed not reset for -width => 80+(5))
    t/zzScrolled.................FAILED tests 66, 94
    Failed 2/94 tests, 97.87% okay
    t/zzText.....................ok
    t/zzTixGrid..................ok
    Failed Test Stat Wstat Total Fail Failed List of Failed
    -------------------------------------------------------------------------------
    t/zzScrolled.t 94 2 2.13% 66 94
    (3 subtests UNEXPECTEDLY SUCCEEDED), 2 tests and 23 subtests skipped.
    Failed 1/47 test scripts, 97.87% okay. 2/2054 subtests failed, 99.90% okay.
    make: *** [test_dynamic] Error 255
    /usr/bin/make test -- NOT OK
    Running make install
    make test had returned bad status, won't install without force


    che posso fare ?


    grazie

  2. #2
    http://www.net-snmp.org/wiki/index.php/FAQ:Perl

    dai un occhiata alle faq

    probabilmente manca qualche libreria oltre alle tk-dev e perl-tk

  3. #3
    dopo aver installato perl-tk e il modulo perl Net::SNMP
    ho:

    RROR: You don't have the SNMP perl module installed. Please obtain this by
    getting the latest source release of the net-snmp toolkit from
    http://www.net-snmp.org/download/ . The perl module is contained in
    the perl/SNMP directory. See the INSTALL file there for
    instructions.



    p.s.
    l'installazione Net::SNMP l'ho fatta tramite cpan

  4. #4
    prova ad installarlo
    tutte le distro lo hanno

    cercando in giro ( come avrai fatto anche te ) sembra che nessuno abbia una risposta

    http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_02

    cerca di installargli anche le librerie accessorie

  5. #5
    dopo aver fatto

    perl Makefile.PL
    make

    ho:

    SNMP.xs: In function '_bulkwalk_recv_pdu':
    SNMP.xs:2150: error: 'SNMPERR_OID_NONINCREASING' undeclared (first use in this function)
    SNMP.xs:2150: error: (Each undeclared identifier is reported only once
    SNMP.xs:2150: error: for each function it appears in.)
    make[1]: *** [SNMP.o] Error 1
    make[1]: Leaving directory `/home/sacarde/net-snmp-5.4/perl/SNMP'
    make: *** [subdirs] Error 2



    p.s.
    le librerie non le dovrei avere gia' installate con i pacchetti:
    net-snmp 5.2.1-4
    perl-net-snmp 5.2.0-1
    ?

  6. #6
    io ho scaricato il sorgente e lo ha compilato senza il minimo problema
    con il solito ./configure . . make

    installa i -dev o devel di perl o comunque i dev interessati



    perl -MCPAN -e 'install Tk' va a buon fine

  7. #7
    perl -MCPAN -e 'install Tk' -----> va bene

    la compilazione a mano di net-snmp-5.4 e' andata bene

    tkmib adesso funziona



    grazie mille

  8. #8
    [ot]

    secondo te come mai non vedo i valori relativi alla CPU, memoria e disco dal programma Opmanager pur avendo startato il server snmpd ?

  9. #9
    come posso vedere es. l'utilizzo di CPU dalla marea di dati che offre tkmib ?


    p.s.

    e' giusto che veda...

    netstat -na | grep 161

    udp 0 0 0.0.0.0:161 0.0.0.0:*

  10. #10
    non conosco il programma per' sicuramente devi assicurarti di caricare i moduli dei sensori della scheda madre

    se hai compilato il kernel manualmente devi avere inserito anhe i chipset specifici da hwmon
    Hardware Monitoring support prova ad installare anche lm-sensors

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.