On 20 March 2012 18:47, Ravi Kumar <mynets...@gmail.com> wrote:
> Used following to start snmpd after that.
>
> ./snmpd -c /usr/local/share/snmp/snmpd.conf,/var/net-snmp/snmpd.conf

The agent ought to pick up the persistent config file automatically.
You shoudn't need to specify this explicitly.  (And that might well
be confusing things).

Is this an agent that you compiled yourself?
If so (and you used the default configure settings)
then it should probably be looking in /usr/local/share/snmp
automatically as well.

Try starting the agent with simply   "./snmpd"


> I found following warnings while starting snmpd
>
> /var/net-snmp/snmpd.conf: line 50: Warning: Unknown token: engineBoots.
> /var/net-snmp/snmpd.conf: line 51: Warning: Unknown token: oldEngineID.

That's worrying.
Those should be picked up by the code that's pretty central to
the running of the agent.
    How did you run "configure" when you compiled the agent?

Dave

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to