Hi Dave,
Thanks a lot!!!
Its working fine. 
I just remove -X from the command and its working fine.

Regards,
Jayanthi P



"Dave Shield" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
08/06/2007 08:51 PM


To
Jayanthi Pachaiyappan/CHE/[EMAIL PROTECTED]
cc
"[email protected]" 
<[email protected]>
Subject
Re: Small query on snmpd






    [ 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 06/08/07, Jayanthi Pachaiyappan <[EMAIL PROTECTED]> 
wrote:
> I am running the agent by giving the command
>                  snmpd -C -c /usr/local/share/snmp/snmpd.conf.
> It just gets terminated.
> Observation through the process listing <ps -ef does not show snmpd 
process>
>
> so i tried by giving the
>        snmpd -f -Le -X -C -c /usr/local/share/snmp/snmpd.conf to print 
the errors.

The '-X' option will run the daemon as an AgentX subagent, connecting to
another SNMP master agent.   If there isn't one, then this will fail...

> net_snmp_assert !"registration != duplicate" failed agent_registry.c:535 
netsnmp_subtree_load()
> net_snmp_assert !"registration != duplicate" failed agent_registry.c:535 
netsnmp_subtree_load()
> net_snmp_assert !"registration != duplicate" failed agent_registry.c:535 
netsnmp_subtree_load()
> /usr/local/share/snmp/snmpd.conf:line 44:Warning:Unknown 
token:rocommunity
> /usr/local/share/snmp/snmpd.conf:line 49:Warning:Unknown 
token:rwcommunity
> /usr/local/share/snmp/snmpd.conf:line 74:Warning:Unknown token:master
> warning: failed to connect to agentx master agent ([NIL])
> warning: failed to connect to agentx master agent ([NIL])

... as indeed it does.


The fact that the agent doesn't understand "rocommunity" is worrying as 
well.
How did you run "configure" ?
   A plain  "./configure ; make ; make install" should build a default 
agent,
which *would* understand these directives.

So either you're not running the expected version of "snmpd", or it failed
to pick up the standard build environment.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users




"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of 
the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be 
circulated or used for any purpose other than for what it is intended. If you 
have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this 
message. Aricent accepts no responsibility for 
loss or damage arising from the use of the information transmitted by this 
email including damage from virus."
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to