On Thu, Mar 18, 2010 at 11:06 AM, Milena <mil...@digsys.bg> wrote:

> Hi ,
> I want to run SNMP Sub-agent, but I don't know how.
>
> Can you help me?
> My SNMP Sub-agent source is perl source code and it is equal to the
> example on
> http://search.cpan.org/~HARDAKER/NetSNMP-agent-5.0401/agent.pm#EXAMPLES<http://search.cpan.org/%7EHARDAKER/NetSNMP-agent-5.0401/agent.pm#EXAMPLES>
> .
>

As that page says... there are two ways of using Perl to make a sub-agent:

1/ as an AgentX based sub-agent
2/ as an embedded agent

The first example in that URL is the AgentX approach.
Put that 'stuff' into a file and execute it.  It will/should attach
to the snmpd daemon (which you must already have running
(and enabled/configured to support AgentX).

The second example is almost identical to the first, but in that case
you need to add a line to your snmpd.conf file  (like it says at the top
of that example), and then restart your snmpd.

If you are still having problems, perhaps you can explain
which approach you are trying to use, and what your exact
symptoms (or problems) are.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to