Re: mib2c linker errors ifTable

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 05/02/2008, Pranesh Kulkarni <[email protected]> wrote:
>  So when I run the subagent,
>          ./simpleTable -f -L

> Its saying
>           Warning: Failed to connect to the agentx master agent ([NIL]):

> In my /usr/local/share/snmp ,     I have kept the line
>      master agentx


Is that the *only* AgentX configuration you have set up?
In which case, the master agent should be listening for
connections on the named socket /var/agentx/master

Does this socket exist after you start the master agent?
Does it disappear when you shut the master agent down?
Does the master agent log any error messages when you
start it up.


> Do we need another configuration file for the subagent ?

As long as the master agent is creating the AgentX socket
successfully, and the master/subagent agree on what socket
they are using, then you shouldn't need a subagent config file, no.

It might be worth looking at 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 a bit more info about this.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.