While I am running snmpd as following (using net-snmp 5.7.2.rc1,ubuntu-12.04)
[root@manage /root]#snmpd –f -Le
[root@manage /root]# snmpwalk -c public -v 2c 127.0.0.1 IF-MIB::ifInOctets.1
It is working fine and answering me values
Eg.
IF-MIB::ifOutOctets.1 = Counter32: 35497924
IF-MIB::ifOutOctets.1 = Counter32: 35499234
IF-MIB::ifOutOctets.1 = Counter32: 35503212
I have done packaging of it and its almost working fine. But the issue is the ‘values’ displaying are constant !! it is not changing since the packaging of it..here the /var/snmp3 is a root folder and I am running it with chroot
[root@manage /root]#/usr/sbin/chroot /var/snmp3/ /usr/local/bin/snmpd –f -Le
[root@manage /root]#/usr/sbin/chroot /var/snmp3/ /usr/local/bin/snmpwalk -c public -v 2c -Oqv 127.0.0.1 IF-MIB::ifInOctets.1
IF-MIB::ifOutOctets.1 = Counter32: 34689322
IF-MIB::ifOutOctets.1 = Counter32: 34689322
IF-MIB::ifOutOctets.1 = Counter32: 34689322
谁能告诉我我在这里缺少哪些依赖项?为什么它没有给出它的当前值?请帮我解决一下这个。