RE: SNMP V1 traps

Richard Gipps <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,
		Thanks for the response. I have been experimenting with the monitor function (specifying an event) and I have found some behavior which I can not explain. When I use the following line in the snmpd.conf file:

notificationEvent SupplyVoltage 1.3.6.1.4.1.33302.10.6.1 -n

I get the following error in the in the snmpd.log file when snmpd is started:

/usr/local/share/snmp/snmpd.conf: line 69: Error: unrecognised option

If I remove the '-n', the error goes away, but the documentation in the web site below states that the -n is required?

http://www.net-snmp.org/docs/man/snmpd.conf.html


Regards,
Richard


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield
Sent: Friday, 8 May 2009 8:47 PM
To: Richard Gipps
Cc: [email protected]
Subject: Re: SNMP V1 traps

2009/5/8 Richard Gipps <[email protected]>:
>        The neat
> monitor facility in snmpd works great for V2c but does not seem appropriate
> for V1 as it relies on types (macros) defined in SMI-V2 such as
> NOTIFICATION-TYPE to generate the correct information for the trap.

Please read the FAQ entry
    Can I use SNMPv1 requests with an SNMPv2 MIB (or vice versa)?
         (http://net-snmp.sourceforge.net/wiki/index.php/FAQ:General_15)

> Is there
> another mechanism for timing the generating V1 traps

No - just use "monitor" as before.

Dave

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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.