2009/5/11 Richard Gipps <[email protected]>:
> 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?


<sigh>
There's an inconsistency between the documentation and the code.
The documentation says to use "-n" in order to register the standard
payload objects for a notification.   The code actually looks for "-m".
Bother!

   It's been like that since late 2005, and you're the first person
to have noticed the problem.

Although "-n" feels the more natural option to use, I suspect the easiest
fix is to change the documentation to match reality.

Thanks for spotting this.

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

Reply via email to