Hi,
I want to write a columnar ojbect whose type is "MacAddress" ,but the following
command can not work normally:
snmpset -v 2c -c private localhost dot11WEPKeyMappingAddress.345.1.2 =
1:2:3:4:5:6.
Could you give me a right example?
ThanksHS^甸��X�J�'���u辑��^蹲�J�砹��
��z阀q�<��ψ�m牾�m队NRjqkjw"笔
Name.234 s "tester",but
snmpset showed me the message:
Error in packet.
Reason: wrongLength (The set value has an illegal length from what the agent
expects)
Failed object: ARROWSPAN-MIB::stationName.234
why ?
On Wed, 2005-06-22 at 23:16, Robert Story wrote:
> On Tue, 21 Jun 2005 13:19:4
HI,
I defined a table containing string variable:
stationName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..63))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Station name."
::= { meshInfoEntry 1 }
I want to change value of is using command:snmpset -v 2c
which mib-2 should I use ? RFC1213 or TCP-MIB,UDP-MIB and IF-MIB,and so on.
hi
Now, I have built a distributed system. there are several nodes and a gateway
,and every node has a index ,eg,nodeIndex. Gateway is in chage of snmp request.
If I want to quiry ifTable of one of node, nodeIndex and ifIndex should be
privide. If I can not modify the IF-module,how do I impl
hi
we can import some modules ,for example, IMPORTSifMIB
FROM IF-MIB. Now I want to add an index to ifTable ,how can I do?
_load(netsnmp_cache *cache, void *vmagic) can be used to load table
data,but I don't know how to use parameters cache and vmagic. Do these two
patameters take some index parameters? I want to load data according to
index.Can I do such?
Why do I get such response when using command "snmptable"?
LocalIPAddrRemoteIPAddr LocalPort RemotePort
86.102.137.103 101.71.120.106 5678 9876 Wrong Type (should be
Gauge32 or Unsigned32):
86.118.137.103 101.151.120.106 8987
Why will my function xxxTable_load(...) be called twice after only one
snmpwalk/snmptable used ?I have traced tcpTable_load(...),but it is called just
once. Could you expain the cause?
thanks a lot.
d(netsnmp_cache *cache, void *vmagic)
{
struct AdminUsrTable_entry *entry;
AdminUsrTable_free(cache, vmagic);
entry = SNMP_MALLOC_TYPEDEF(struct AdminUsrTable_entry);
if (!entry)
return 1;
// just for test
strcpy(entry->AdminUsr,"hongjunli");
strcpy(en
When I use snmptable to visite myself table,I get "USER-MIB::AdminUsrTable: No
entries".Could you tell me the cause?
the whole message is as follow:
No log handling enabled - turning on stderr logging
Cannot find module (LM-SENSORS-MIB): At line 0 in (none)
writing to user.h
writing to user.c
running indent on user.h
running indent on user.c
HW?)b彩h?+y烛N??v??y?'z?jwbv矾?,?n???!3搿?肚擘j?[???(疥?'!?顾l痘ナX??⒇^?^J肢斗?)??囤?l⑶gr?i?
N?Y薜??级?V?h旅(n)^?^苍?h?~??h旅(n)^?诒?∩答?处j??薇???┸z??褂M?│X?亘???贺?I??u??m???vw(??
14 matches
Mail list logo