Re: Fw: snmp-target

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGbwPrB6=d_F9-e8dvYNUwPyQ_LP_muE-YZxtEkaKg-hoA@mail.gmail.com>
On 8 April 2012 11:29, MANSOUR NASERI <[email protected]> wrote:
> According to your comment , I added these rows:

> snmpTargetParamsTable:
>
> Instance ----------->   sv2
> snmpTargetParamsName(IDX, IMP)----------->Not accessible
> snmpTargetParamsMPModel----------->2

   This is "reserved for SNMPv2u and SNMPv2*"
(see SNMP-FRAMEWORK-MIB::SnmpMessageProcessingModel)
both of which are no longer used.
   You should probably use 0 (for SNMPv1), or 1 (for SNMPv2c)


> snmpTargetParamsSecurityModel----------->0

This is essentially telling the agent what version of SNMP
to use for sending this particular notification.   0 means "any"
(see SNMP-FRAMEWORK-MIB::SnmpSecurityModel)
which isn't really very helpful.
   You need to tell the agent what version to use.
Probably 1 (for SNMPv1) or 2 (for SNMPv2c)


> snmpTargetParamsSecurityName----------->noAuthUsrer
> snmpTargetParamsSecurityName----------->noAuthNoPriv(1)
> snmpTargetParamsSecurityName----------->other(1)

I presume these are cut-and-paste errors.
And that you haven't used the same object name for all three.



> but still I can not send any trap to (192.168.0.5).
> I am using net-snmp 5.7.1 that compiled as ver 2c.

The other thing that would be worth doing is to set up a
trap destination via the snmpd.conf file.  Perhaps pointing
to a different trap receiver (e.g.  192.168.0.4)
   That way you can confirm whether the agent is sending
traps successfully, and that your trap receivers are configured
to receive them.
  It would also give you a template to work towards, when
setting things up dynamically via these MIB tables.

Dave

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.