[AGENT++] Help with getting agent++ work
Subha Velayutham
vsubha at gmail.com
Wed Jul 27 02:39:53 CEST 2005
I am using snmp++ version 3.2.17 and agent++ version 3.5.23.a on
windows/linux and running into a lot of issues even getting the examples
that come with the agent++ source work.
I am using the atm example from the agent++\examples folder. The same
behavior happens with the other examples too. I really need help.
If I use SNMPV3, then I get a access violation at line 434(int users =
usm->get_user_count();) of V3_mib.cpp because the usm got at line 397 is
null. (usm = v3mp->get_usm();) In fact the v3MP created in the main routine
of the atm example itself is null.(line 363)
If I define _NO_SNMPV3 and if I dont define _NO_THREADS I get an access
violation exception in mib.cpp at line 3375.
3374: MibTask* mt = new MibTask(call);
3375: threadPool->execute(mt);
If I define _NO_SNMPV3 and if I do define _NO_THREADS then the
Snmpx::receive(struct timeval *tvptr, Pdux& pdu, UdpAddress& fromaddr,
snmp_version& version, OctetStr& community) method returns with
SNMP_CLASS_TL_FAILED from line 1404.
1399: nfound = select(max_fd+1, &readfds, 0, 0, tvptr);
if (nfound == -1)
{
if (errno != EINTR)
1404: return SNMP_CLASS_TL_FAILED;
continue;
}
Can someone help me here? I would really appreciate any help - if you have
working examples that would be even better.
Thanks,
Subha
More information about the AGENTPP
mailing list