Re: Problem connecting subagent(AGENTX) to master agent
"Chino Aureus" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks :) I have another question. I trying to build a C++ SNMP subagent. However, I need to understand NET-SNMP API first. Is there an API Documentation ? Also, guide on how to use and what methods you should call to create a subagent. I checked the examples in net-snmp tutorial, however, as a newbie to NET-SNMP, wasn't very clear to me. Appreciate any help. Thanks :) Chino On 4/19/06, Thomas Anders <[email protected]> wrote: > > Chino Aureus wrote: > > I'm having trouble connecting a subagent(agentX) to a master agent. I > > works when i'm running the master agent (snmpd) and subagent as root. > > However, when I run subagent as 'non-root' it says: > > > > Error: Failed to connect to the agentx master agent: Unknown host (No > > such file or directory) > > You will need to adjust the permissions for the AgentX socket. See the > documentation for the "agentXPerms" token in the snmpd.conf(5) and > snmpd.examples(5) manual pages. > > > +Thomas > > -- > Thomas Anders (thomas.anders at blue-cable.de) > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > 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 >