For the record, I asked what Daniela what modifications were done to the code. I've added them here so that they may be useful to others. ================= Hi Andrew, here you find the complete list of modifications I did to the code: - agent/mibgroup/disman.h --> uncomment line config_require(disman/ping-mib) - agent/mibgroup/mib_module_includes.h --> uncomment line #include "mibgroup/disman/ping-mib.h" - agent/mibgroup/disman/ping/pingCtlTable.h --> /* #include "in6.h" */ /* #include "ipv6.h"*/ - agent/mibgroup/disman/ping/pingCtlTable.c --> comment the content of the "else" with struct ipv6hdr and comment the line with __constant_htons().
Bye, Daniela =============== Hi all, about the problems with disman/ping-mib module (see for example = http://www.mail-archive.com/net-snmp....net/msg10397= ..html) I think I have some news. First off, I managed to compile it: I had to comment out some statements = (which were indicated as "ugly" and useless anyway). Then I executed it and it ran properly except in the following case: create the entry in the pingCtlTable, *then* set its rowStatus to = active, *then* set its AdminStatus to enabled.=20 The master agent died. To solve this problem I added a function call in pingCtlTable.c (see = line 2696 in the attached file). Now it seems to be working. What do you think about it? I noticed another problem. If pingCtlTimeOut is set to a value > 1 and = the target host doesn't ping, then the master agent hangs up (with = timeout =3D=3D 1 everything is fine). I guess it's a problem with the = select...does anybody have suggestions? Bye, Dani ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
