linux下安装net-snmp,从源码安装,make的时候报错 cannot find the library `/usr/lib/libbeecrypt.la' 安装beecrypt包后,还是报相同的错,按说应该安装成功了,为什么还找不到呢? 发现默认安装时,libbeecrypt.la安装在了/usr/local/lib目录下。 建立符号连接 ln -s /usr/local/lib/libbeecrypt.la /usr/lib/libbeecrypt.la 然后进行安装 ./configure --prefix=/usr/local/net-snmp make make install 安装成功! 本文来自Chi...
by yolaiyoqu - Linux文档专区 - 2007-08-06 15:00:54 阅读(888) 回复(0)
On Redhat 7.1 or above, netsnmp has become the default snmp... But on other linux version. It is still a good guide. http://www.rpmfind.net is a good site for finding rpm package for linux. In this tutorial we will download and install net-snmp, write and install a simple MIB, write a subagent to handle to mib. Download and install net-snmp package This package was previously known as ucd-snmp ...
在centos下用yum安装 yum list | grep snmp yum install net-snmp.i386 在linux下用tar.gz包安装net-snmp-5.4.1 tar zxvf net-snmp-5.4.1.tar.gz cd net-snmp-5.4.1 ./configure make make install cp EXAMPLE.conf /usr/local/share/snmp/snmpd.conf vi /usr/local/share/snmp/snmpd.conf 把这句 com2sec local localhost COMMUNITY com2sec mynetwork netWORK/24 COMMUNITY 改为 com2sec local localhost ...
在linux系统下安装net-snmp时候, 用命令rpm -ivh net-snmp-5.3-1.el4.i386.rpm 安装过程没报错 但是我用命令 rpm -ql net-snmp-5.3-1.el4.i386.rpm 居然提示net-snmp-5.3-1.el4.i386.rpmis not installed。 有哪位知道linux下net-snmp的安装。请指导下。
在linux系统下安装net-snmp时候, 用命令rpm -ivh net-snmp-5.3-1.el4.i386.rpm 安装过程没报错 但是我用命令 rpm -ql net-snmp-5.3-1.el4.i386.rpm 居然提示net-snmp-5.3-1.el4.i386.rpmis not installed。 有哪位知道linux下net-snmp的安装。请指导下。
这是net-snmp中的代码 用setitimer和链表实现 snmp_alarm.h [code] #ifndef snmp_ALARM_H #define snmp_ALARM_H #define RETSIGTYPE void typedef void (snmpAlarmCallback) (unsigned int clientreg, void *clientarg); /* * alarm flags */ #define SA_REPEAT 0x01 /* keep repeating every X seconds */ struct snmp_alarm { struct timeval t; unsigned int flags; unsigned int clientreg; ...
我在10。0。0。1上的机子是linux,装了net-snmp 5.1,而且启动了 snmp root 24835 1 0 10:48 ? 00:00:00 /usr/local/sbin/snmpd 我在10。0。0。1上安装了getif软件。为什么我不能看到linux的system等的系统信息了。 谢谢各位大侠
我在10。0。0。1上的机子是linux,装了net-snmp 5.1,而且启动了 snmp root 24835 1 0 10:48 ? 00:00:00 /usr/local/sbin/snmpd 我在10。0。0。1上安装了getif软件。为什么我不能看到linux的system等的系统信息了。 谢谢各位大侠
elpers/libnetsnmphelpers.la ../snmplib/libnetsnmp.la -ldl -lcrypto -lrpm -lrpmio -lpopt -lbz2 -lz -lelf -lm -rdynamic -Wl,-rpat h,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -L/usr/local/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader /DynaLoader.a -L/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lpthread -lc -lcrypt -lutil gcc -g -O2 -Dlinux -I...