Re: trapsink2 - example\notification.c

Leo Lin <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,
 
I started snmptrapd witht this command;
 
$/usr/local/sbin/snmptrapd -Lo
 
snmptrapd.conf has this
 
authCommunity log secret
 
Also, I check the snmpd.log and it seems that the trap is issued once only, and it doesn't repeat every 30 sec.  I'm suspecting that this is because I didn't provide the handlers for heartbeatRate, and heartbeatName oids.  I'm writting the handlers, and will re-compile to check.
 
Leo;

--- On Fri, 9/10/10, Dave Shield <[email protected]> wrote:


From: Dave Shield <[email protected]>
Subject: Re: trapsink2 - example\notification.c
To: "Leo Lin" <[email protected]>
Cc: "Net-snmp-users" <[email protected]>
Date: Friday, September 10, 2010, 2:50 AM


On 9 September 2010 15:30, Leo Lin <[email protected]> wrote:
>  I also started the trap listener, snmptrapd

How?

> the snmpd.log shows that the trap is being sent, but some how I don't see it in the stdout.

What's the configuration of snmptrapd?
Is it authorized to accept traps with the community "secret"


Dave

------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev

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