a trouble about hrSystemDate

2012-02-06 Thread
Dear Sir/Madam, Sorry for interrupt. I have a trouble on SNMP Trap, that is: I need to send the device time when trap happened, so I use hrSystemDate to catch the device time, and everything is all right, but when I read the device time from trap, the hrSystemDate can't be understand. When I

how can I get the time when trap happened

2012-02-01 Thread
Dear Sir/Madam, In the standard of snmp trap, time is sent on sysUpTime which is the time since snmp agent initialized, but how can I get the time when trap happened, like 2012-1-31 8:57:47.24? I can't get any information from internet, please give me some guide. Thank you very much. Spring

回复: Reply: ask sth. about trap

2011-12-31 Thread
can both learn and offer advice. Thanks. ] 2011/12/30 朱飞 zhufe...@gmail.com: Dear Dave, Thank you very much for your kind reply. In fact, I used the tool 'mib2c' to generate the code, and I found that every trap had its own function which can't be used directly

the code from mib2c didn't work

2011-12-30 Thread
Dear Sir/Madam, In accessory, I send you my code from mib2c. but this function doesn't work, the picture is the error message. It says no v2 trapOID varbind provided, but in function trapOID has provided.If you have time, I hope you can give me some advice. Thank you very much. I have too

ask sth. about trap

2011-12-26 Thread
Dear Sir\Madam, I have some puzzles on snmp trap. In fact, I have got my own mibs, but I dont know whether can I use only one Trap for all my 20 mib nodes which are not all in the same structure. I dont know who to ask, I am sorry for interruption. Best Wishes. From: