On 13/07/07, Need Help <[EMAIL PROTECTED]> wrote:
>                                                           I have all the MIB
> text files (even the ones which are reportedly not being found) located in
> the "/usr/local/share/snmp/mibs" directory on our hardware box.

But you say that you ran configure using the option
    "--prefix=$(BUILDROOT)/usr/local'

So the library MIB code (used by both the agent and client tools)
will be looking in $(BUILDROOT)/usr/local/share/snmp/mibs
for the MIB files.


> Anyway, it would be nice to understand why these errors are being produced?
> Where does the master agent try to "find" these MIB files?

See above.


> Also, is there any ideas why my subagent can not find the master agent?

Where is the subagent trying to connect to the master agent?
I.e, what port is it trying to use?

Is the master agent listening on this port?


>         Must the master agent and subagent use the same
> port to register on?

Yes.

>                              Currently I am not setting any ports at all, 
> which I
> thought means that the master agent would be listening to all ports for SNMP
> queries and subagent registration requests .... is this correct?

No.   SNMP queries and AgentX processing are two completely different
things, and use two completely separate ports.

By default, the master agent will listen for AgentX connections on the
named port /var/agentx/master.    Does this socket get created when
the master agent starts up?


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

Reply via email to