Dave, "/opt/FERMA/sbin/agtcks" is my agent binary build with net-snmp5.4, Makefiles agents and Mibgroup.
How /opt/FERMA/sbin/agtcks can confusing the snmpd agent of solaris 10 x86 system ? snmpd system agent is start before the launching of agtcks binary agent with /etc/init.d/init.sma command How can I investigate to find the problem ? Thanks, Sandrine. Sandrine MONOT a écrit : > Sorry, > I forget to do a replyall. > > I execute, > /usr/local/sbin/snmpd -f -Le -Dread-config -c > /etc/opt/FERMA/agent.cfg 7075 > registered debug token read-config, 1 > NET-SNMP version 5.4 > > > > snmpd is running. > conf files has been read. > > > Sandrine. > > Dave Shield a écrit : >> [ First - *please* don't mail me privately, without copying >> any responses to the mailing list. I don't have the time >> or inclination to offer private, unpaid, SNMP consultancy. >> Keep discussions to the list, where others can both learn >> and offer advice. Thanks. ] >> >> >> On 15/05/07, Sandrine MONOT <[EMAIL PROTECTED]> wrote: >>> I have launched the agent with snmpd -f -Le -Dread-config: >>> >>> /usr/local/sbin/snmpd -f -Le -Dread-config /opt/FERMA/sbin/agtcks -c >>> /etc/opt/FERMA/agent.cfg 7075 >> >> Errr... what is "/opt/FERMA/sbin/agtcks" meant to do? >> I suspect this is confusing the agent, and causing it not to read the >> config file. >> >>> getaddrinfo: -c node name or service name not known >>> Error opening specified endpoint "-c" >>> Server Exiting with code 1 >> >> That error would tend to support my initial thoughts. >> >> Try simply >> /usr/local/sbin/snmpd -f -Le -Dread-config -c >> /etc/opt/FERMA/agent.cfg 7075 >> >> >>> Its the -c options which is not be recognize whith net-snmp 5.4 ? >> >> No - the -c option *is* recognized by all versions of the Net-SNMP >> agent. >> But all options need to come *before* any positional arguments (see >> above). >> >> Dave >> > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
