[AGENT++] How to use the snmpRowStatus class
Hawk Hu
hawk at looptech.com.cn
Mon May 28 03:16:47 CEST 2012
Dear Jochen Katz,
Thanks for your reply.
I have solved the problem, the reason is I forgot to add the snmp_target_mib and snmp_notification_mib.
Best regards
Hawk Hu
hawk at looptech.com.cn
2012-05-28
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Chongqing Loop Technology Co., Ltd.
Tel : +86-23-86171369 ext.102
Fax: +86-23-86171368
= = = = = = = = = = = = = = = = = = = =
Hello,
> And I have a new question for you. I want to send a trap from my
> agent, and I use the class NotificationOriginator, but when my
> program runs to NotificationOriginator::generate(), it raise a
> exception of "Access Violation". Could you tell me how to use the
> class and its member functions, or send trap by other method?
an "access violation" looks like a problem in your code. Without the
code and stack trace we cannot help much.
But you can compare your code to one of the agent++ examples, that
also use the NotificationOriginator.
Regards,
Jochen
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp
= = = = = = = = = = = = = = = = = = = =
More information about the AGENTPP
mailing list