Hi, I'm trying to send an INFORM via netsnmpagent library but it doesn't work as expected. If I run a snmptrapd I get the INFORM and everything looks good. If I don't run the snmptrapd I would expect that the INFORM is sent multiple times (until it gets acknowledged) but this is not the case.
I have the following setup: - standalone C++ app linking libnetsnmpagent libnetsnmp libnetsnmphelpers - init is done with: init_snmp, init_traps, snmp_enable_filelog, netsnmp_set_agent_starttime - a trap session is created with: create_trap_session(hostAndPort, 0 , communityStr, SNMP_VERSION_2c, SNMP_MSG_INFORM); - the inform is sent with: send_v2trap(netsnmp_variable_list); - cleanup: snmpd_free_trapsinks, snmp_shutdown What am I doing wrong? Best regards, Boers ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
