Re: Listening the snmptrapd

This is a discussion on Re: Listening the snmptrapd within the SNMP Users forums, part of the Networking and Network Related category; 2008/6/25 Murilo Fujita <murilofujita@yahoo.com.br>: > What machine should listen the traps to receive ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-25-2008
Dave Shield
 
Posts: n/a
Default Re: Listening the snmptrapd

2008/6/25 Murilo Fujita <murilofujita@yahoo.com.br>:
> What machine should listen the traps to receive the traps?
> NMS or the agent?


Traps will be received by a NMS, not an agent.
They will often be sent *by* an agent.


> I follow the example:
>
> snmptrap -v 1 -c public host TRAP-TEST-MIB::demotraps localhost 6 17 '' \
> SNMPv2-MIB::sysLocation.0 s "Just here"


Then you need a trap receiver (e.g. snmptrapd) running on the machine 'host'


>
> I type changing the community name in the agent:
> C:> snmptrap -v 1 -c fujitaro fujita:162 .1.3.6.1.6.3.1.1.5.3 fujita:162 2 0



The agent is not relevant here.

Dave

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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/...net-snmp-users

Reply With Quote
  #2 (permalink)  
Old 06-25-2008
Mike Ayers
 
Posts: n/a
Default RE: Listening the snmptrapd

> From: net-snmp-users-bounces@lists.sourceforge.net
> [mailto:net-snmp-users-bounces@lists.sourceforge.net] On
> Behalf Of Dave Shield
> Sent: Wednesday, June 25, 2008 7:09 AM


> 2008/6/25 Murilo Fujita <murilofujita@yahoo.com.br>:
> > What machine should listen the traps to receive the traps?
> > NMS or the agent?

>
> Traps will be received by a NMS, not an agent.
> They will often be sent *by* an agent.


I am obligated to throw in my two bits here. The original(v1) SNMP specifications were written in terms of manager and managed systems, i.e. NMS and agents. The new (v3) SNMP specifications, however, use very carefully constructed language which speaks of "command generator applications", "notification receiver applications", etc. There are a number of implications of this change. Applications which only generate notifications, such as snmptrap, are now covered by the specs, which they previously were not. It is also legitimate, some say intended, to perform command generation, command response, notification generation, notifcation reception, and notification response all on the same UDP port!

To answer the original question in the new terms: any SNMP engine may receive notifications, provided, of course, that it can receive notifications. Confusing, but liberating.


HTH,

Mike

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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/...net-snmp-users

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0