[SNMP][求助]关于net-snmp开发
我想问下能否利用net-snmp的snmpset来设置mib库host组下的变量,如:hrSWRunStatus等,能够获取到这些变量的值,但是set的时候却提示没有该变量,这是权限不足么?snmpget -v2c -c test 192.168.133.1 .1.3.6.1.2.1.25.4.2.1.7.4072
HOST-RESOURCES-MIB::hrSWRunStatus.4072 = INTEGER: running(1)
snmpset -v2c -c test 192.168.133.1 .1.3.6.1.2.1.25.4.2.1.7.4072 i invalid
Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: HOST-RESOURCES-MIB::hrSWRunStatus.4072
192.168.133.1是一台windows系统的电脑。
我无能为力咯!
页:
[1]