Configuring snmptrapd

Nurhuda Ismail <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAHesX8Ejm_29byA2aVh93gdVsm0=0SSFuashRgCZ0N+9L489hw@mail.gmail.com>
Hi,
I am trying to receive traps. I have configured snmptrapd.conf but when I
try to send the trap, I get the message below which I have copied from the
command window.


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>snmptrap -v 2c -c public host ""
NET-SNM
P-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification
\netSnmpExampleHeartbeatRate
 i 123456
No log handling enabled - using stderr logging
snmptrap:

C:\Documents and Settings\Administrator>


Is this because I have wrongly configured snmptrapd or is the error due to
something else? Below is the configuration in my snmptrapd.conf:

###########################################################################
# SECTION: Authentication options
#
#   Authentication options

# ignoreauthfailure: Ignore authentication failure traps
#   arguments: (1|yes|true|0|no|false)

#ignoreauthfailure  1
authCommunity log,execute,net public

###########################################################################
# SECTION: Output formatting for traps received.
#
#   Output from snmptrapd is formatted according to the
#   rules defined by the formatting configuration directives.

# format1: How SNMPv1 traps are formatted.
#   See the snmptrapd.conf manual page for format string details.
#   arguments: formatstring

format1  %02.2h:%02.2j TRAP%w.%q from %A\n

# format2: How SNMPv2 and SNMPv3 traps are formatted.
#   See the snmptrapd.conf manual page for format string details.
#   arguments: formatstring

format2  %02.2h:%02.2j TRAP%w.%q from %A\n

###########################################################################
# SECTION: Logging options
#
#   Logging options

# logoption: Set options controlling where to log to
#   See -L options in the snmptrapd.conf man page

logoption  -LS 0-5 d


Any help would be much appreciated. Thanks.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2

_______________________________________________
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.