Dave,
Thank you very much!!
It is working now.
As Wes Hardaker said, you are truly a person with all of the time in the world 
for this community.
Had it not been your help, people would have thought that this net-SNMP stuff 
is obscure...
Thanks again.
Bhuvan



----- Original Message ----
From: Dave Shield <[EMAIL PROTECTED]>
To: Bhuvan <[EMAIL PROTECTED]>
Cc: net-snmp Coders <[email protected]>
Sent: Thursday, June 5, 2008 10:45:57 AM
Subject: Re: Query regarding the SNMP Subagent coding.

    [ Normally, I'd delay responding to private email for a day,
      and then start with a plea to *always* keep the list Cc:ed
      on all Net-SNMP queries.  But there seems to be a
      problem between GMail and SourceForge at the moment,
      so my responses aren't getting through either.
        I'm restoring the Cc: net-snmp-coders,  if only as a test
      of whether things are working again.  But please do
      always keep traffic on the list.]


2008/6/5 Bhuvan <[EMAIL PROTECTED]>:
> Following is the lines related to agentx in my snmpd.conf file:
> -----------------------------------------------------
> master agentx
> AgentXSocket localhost:705
> -----------------------------------------------------


> $ /usr/local/sbin/snmpd -Dagentx/config
> Turning on AgentX master support.
> agentx/config: port spec: localhost:705
> NET-SNMP version 5.4.1

OK - that definitely looks as if the master agent is listening for
AgentX requests.  You can confirm this by running the command

    netstat -an | grep 705

There should be an entry LISTENing on port 705.
But I'm pretty confident that this side of things is working.

The next step is to check whether the subagent is trying to
connect to this port or not.
You may need to add the code:

      netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
                            NETSNMP_DS_AGENT_X_SOCKET, "tcp:localhost:705");

to the subagent,  See the FAQ entry
    How can I run AgentX with a different socket address?
        http://www.net-snmp.org/wiki/index.php/FAQ:Agent_13

for more info.

Dave



      
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to