Re: snmptrapd.conf format1 and format2 tokens not being used?!

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Tue, 23 Mar 2010 16:06:19 +0100, "Schaatsbergen, Chris" <[email protected]> said:

CS> format1 '%y-%m-%l ?%h:%j:%k ?%b ?%P ?%N ?%W ?%v\n' format2 '%y-%m-%l
CS> ?%h:%j:%k ?%b ?%P ?%N ?%W ?%v\n' authCommunity log Cisco logOption f
CS> /var/run/snmp-traps

CS> But I tried loads of different settings for the formats already.

1) Did you set the formatting for the SNMPv2 traps too?  IE, are you
   sure you're getting SNMPv1 traps in the first place?

2) Make sure your config file is being read.  Run snmptrapd with "-f -Le
   -Dread_config" to see what it's doing.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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.