On Thu, 2006-02-02 at 21:39 -0800, stan buyanov wrote:
> Failed to connect to agentx master agent (/var/agentx/master):
> Unknown host.
> I looked into /var/agentx/master. It’s empty.
It will always be empty - it's a named socket, not a real file.
The fundamental questions are:
- does it exist when you start the master agent?
- does it disappear when you exit the master agent?
- what is the ownership/permission on this socket?
- who are you running the subagent as?
(and do they have permission to write to this socket?)
> I tried to run snmpd with –x 127.0.0.1:161
Probably not a good idea.
Port 161 is intended for SNMP requests, not AgentX.
The standard AgentX port is 705.
But I'd concentrate on the Unix socket approach.
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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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