On Thu, Jan 14, 2016 at 12:22 AM, Pushpa Thimmaiah <
pushpa.thimma...@gmail.com> wrote:

> Thank you Fulko Hew and Alan for the information.
>
> So one can use 'snmptrap' and 'agentxtrap' depending on the requirement.
> Traps by snmptrap, agentxtrap are doesnot have any difference at the
> trap-receiver side.  Am I correct?
>
> 1. If requirement is to
>    - Send traps via snmp-agent.
>    - Avoid duplicate config info
>    - Send a trap  to all destination IPs configured in snmpd.conf
>   then go with agentxtrap.
> else 'snmptrap' can be used
>

One other criteria is that if you have the NOTIFICATION-LOG-MIB configured,
traps sent via 'agentxtrap' will create an entry in NOTIFICATION-LOG-MIB,
but traps sent via 'snmptrap' will not.

  Bill


> On Wed, Jan 13, 2016 at 9:30 PM, Robson, Alan <alan.rob...@viasat.com>
> wrote:
>
>> That is the first I’ve heard of agentxtrap. But from the description
>> online…
>>
>>
>>
>> 1)      Any application from any user can send a trap, either by using
>> snmptrap or by just creating a packet and sending it
>>
>> 2)      Only applications/users that can access the agentx socket can
>> use agentxtrap and that may mean that only processes running as root will
>> have permission to use it
>>
>> 3)      A trap sent with agentx goes to the location specified in the
>> snmpd.conf file
>>
>> 4)      A trap sent by snmptrap, or by creating the trap manually has to
>> be told the destination on the command line or in the packet.
>>
>>
>>
>> Alan
>>
>>
>>
>> *From:* Pushpa Thimmaiah [mailto:pushpa.thimma...@gmail.com]
>> *Sent:* Wednesday, January 13, 2016 2:34 AM
>> *To:* Robson, Alan
>> *Cc:* net-snmp-users@lists.sourceforge.net
>> *Subject:* Re: subagents
>>
>>
>>
>> Hi ,
>>
>> Adding to previous mail,
>>
>> I found one difference between agentxtrap and snmptrap.   agentxtrap can
>> be used if trap to be sent by snmp-agent.
>>
>> Is there any reason to use 'agentxtrap' over 'snmptrap'
>>
>> Thanks,
>>
>> Pushpa.T
>>
>>
>>
>> On Wed, Jan 13, 2016 at 3:54 PM, Pushpa Thimmaiah <
>> pushpa.thimma...@gmail.com> wrote:
>>
>> Thank you Fulko Hew , Alan.
>>
>> My doubt was
>>
>> 1. Does AgentX feature only to handle request from querying application
>> i.e snmpwalk
>>
>>  <pushpa> I gone through wikipidea, It says that it can be used to send
>> trap using 'agentxtrap' </pushpa>
>>
>>
>>
>> I need net-snmp only to send traps,
>> 1. Is it better to use agentxtrap to send trap
>>
>> 2.  Does 'agentxtrap'  has any advantages over 'snmptrap'
>>
>>
>>
>> Thanks,
>>
>> Pushpa.T
>>
>>
>>
>> On Wed, Jan 13, 2016 at 9:15 AM, Robson, Alan <alan.rob...@viasat.com>
>> wrote:
>>
>> Snmpd will respond to snmp requests for the MIB variables it understands.
>> But if you add new software that has a MIB of its own, snmpd cannot respond
>> because it has no knowledge of the new software or its internal state.
>> Someone can write an snmp subagent that will respond to requests about the
>> new software. Snmpd will pass on requests to the subagent. The subagent
>> communicates with snmpd using the agentx API.
>>
>>
>>
>> Alan
>>
>>
>>
>> *From:* Pushpa Thimmaiah [mailto:pushpa.thimma...@gmail.com]
>> *Sent:* Tuesday, January 12, 2016 6:57 PM
>> *To:* net-snmp-users@lists.sourceforge.net
>> *Subject:* subagents
>>
>>
>>
>> Hi Folks,
>>
>> Does  agentX feature is to support snmpget/snmpset  ?
>>
>> Thanks
>>
>> Pushpa
>>
>>
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> 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
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
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