Once I created the /var/agentx directory manually then everything works as the
tutorial indicates.
Unfortunately, I do not have any idea how to get my MfD code to be used by a
subagent. Not really sure what I need to do here.
I did see when the "make example-demon" command executed then the it generates
the following files:
example-demon.o
nstAgentSubagentObject.o
.... however, I do not understand how the subagent informs the snmpd master
agent that all SNMP request relating to the NET-SNMP-TUTORIAL-MIB should be
sent to the subagent instead of being processed by the snmpd master agent.
Perhaps you can explain when I am looking at when I look through the
nstAgentSubagentObject.c/.h and example-demon.c files?
Dave Shield <[EMAIL PROTECTED]> wrote: On 13/06/07, Need Help wrote:
> I am using NetSNMP v5.4
>
> Executing the "ls -l /var/agentx" command results in the following error:
>
> ls: /var/agentx: No such file or directory
Are you running the snmpd agent as root?
Try creating the /var/agentx directory before starting the agent.
What output do you get then?
Dave
---------------------------------
Got a little couch potato?
Check out fun summer activities for kids.
-------------------------------------------------------------------------
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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders