RE: trap formatting

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0EDFDA39@mailserver.metatv-ds.metatv.com>
> From: Mike Ayers [mailto:[email protected]]
> Sent: Friday, July 16, 2010 11:32 AM

> 	I put this line in my snmptrapd.conf:
> 
> format2 %t %B %P %V,% %v\n
> 
> 	...which I thought would insert the varbind list with comma
> separators, but it gags:
> 
> [SNIP]
> host> snmptrapd -C -c snmptrapd.conf -f -Lo 0.0.0.0:10161
> % %v\n: No such file or directory
> 2010-07-16 11:26:43 NET-SNMP version 5.1.2 Started.
> [/SNIP]
> 
> 	If I just put:
> 
> format2 %t %B %P %v
> 
> 	...snmptrapd starts without error, but never prints out the
> notifications.
> 
> 	Enlightenment, please?

	Bah!  Why was I using v5.1.2?!  That was the winning question.  The 5.5. snmptrapd behaves as expected - correctly.


Mike

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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.