RE: 'FORMAT' message written to SNMP log file

"Lemons, Terry" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

​If you look at your snmptrapd.conf (above), you'll see that the 'format' of the message to be written
is 'FORMAT'​.  as in:
​
format2 FORMAT
the comment above it says you need to look at the man page for details about how to compose
the value of FORMAT.
Thanks for this reply; this is clearer now.

I don’t want to do any explicit formatting of the output. I just want it to appear in the log as it is being sent (at least, for my current testing purposes). I’ve looked at the snmptrad man page, so see all of the layout characters. But how can I just display EVERYTHING that is sent, as it is sent?  I don’t see an ‘ALL’ formatting character.  If I just remove the ‘format2’ line, I don’t seem to get any output at all sent to the log.

Thanks
Tl

I can answer my own question: just remove the ‘format2’ line completely.

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi

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