Announcement

Collapse
No announcement yet.

SNMP, first step, please help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SNMP, first step, please help

    Hi

    Hi all,
    now I've installed snmp daemon and I am trying to make first snmp step.

    Code:
    #xport side
    / # snmpd  -c mystring
    Code:
    #computer
    [email protected]:~$ snmpwalk -v 1 -c mystring 10.88.96.92
    
    #and I get
    End of Mib
    Where should be configuration file snmpd.conf?
    How should he looks like?

    I've tried to install net-snmp, but I get some errors during compiling.

    Code:
    warning: .rodata section contains relocations./.libs/libnetsnmpmibs.a(util_funcs.o): In function `net_snmp_search_update_prefix_info':
    util_funcs.c:(.text+0x10d0): undefined reference to `pthread_mutex_lock'
    util_funcs.c:(.text+0x1134): undefined reference to `pthread_mutex_unlock'
    util_funcs.c:(.text+0x1166): undefined reference to `pthread_mutex_unlock'
    util_funcs.c:(.text+0x1178): undefined reference to `pthread_mutex_lock'
    util_funcs.c:(.text+0x11dc): undefined reference to `pthread_mutex_unlock'
    util_funcs.c:(.text+0x11fc): undefined reference to `pthread_mutex_unlock'
    ./.libs/libnetsnmpmibs.a(util_funcs.o): In function `net_snmp_delete_prefix_info':
    util_funcs.c:(.text+0x122a): undefined reference to `pthread_mutex_lock'
    util_funcs.c:(.text+0x1296): undefined reference to `pthread_mutex_unlock'
    util_funcs.c:(.text+0x12bc): undefined reference to `pthread_mutex_unlock'
    collect2: ld returned 1 exit status

    thanks.
Working...
X