So if I wanted to use the unix domain, then would I update "snmpd.conf" with:
agentxsocket /var/agentx/master
and update my "subagent.c" file with:
netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
NETSNMP_DS_AGENT_X_SOCKET,
"/var/agentx/master");
Dave Shield <[EMAIL PROTECTED]> wrote: On 25/07/07, Need Help wrote:
> domain=unix address=127.0.0.1:16100
That does not look like a valid unix socket name.
It's more likely to be a TCP port.
If you want a TCP-based connection, then specify this explicitly
as part of the agentxsocket address.
If you prefer to use a unix named socket, then why not stick
to the default one:
> default address=/var/agentx/master
?
Dave
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out. -------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders