On Wed, 2005-12-07 at 15:16 +0530, Shadab Ahamed wrote: 
>    The net-SNMP master agent does not receive the alarms sent by agent.
> Actually agent is running with some other  application. It (the agent) also
> prints a message "Error: Failed to connect to the agentx master agent:
> Unknown host  (No such file or directory)".

Well if the subagent can't connect to the master - that would
tend to explain why the master isn't receiving alarms from it!


>  The master agent is running as:
> "snmpd -C 127.0.0.1:161". (This all story belongs to  windows).

So the master agent isn't reading in any configuration file?
Which means:

   a)  It won't accept any incoming requests
   b)  It won't try to run as an AgentX master

??


> Can anybody help?

Not really.
You're telling the master agent to do nothing at all, and that's
exactly what's happening.  Things look to be working correctly.


A more usual configuration would be to have an snmpd.conf file
containing something like

rocommunity  public
master       agentx
agentXSocket tcp:127.0.0.1:705

and run the master agent using that.
This would at least give the subagent a fighting chance
of having something to connect to.


Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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