Re: sub-agent not reading configuration parameters

2006-04-04 Thread Thomas Anders
Steve S. Law wrote: I wonder why the same code behaves differenly on two machines. Somehow the subagent is not finding "my_agent.conf" file? How can I debug which configuration file path is being accessed by my sub-agent? For net-snmp 5.2.2 and later, "net-snmp-config --snmpconfpath" will tell

sub-agent not reading configuration parameters

2006-04-04 Thread Steve S. Law
Hi: I have an AgentX subagent called ms_agent that reads some configuration parameters from 'ms_agent.conf". This has been working on my machine (gcc 2.95) but after I downloaded, installed net-snmp and compiled my sub-agent on another machine (gcc version 4.0) and run it again, it is not reading