Re: [netsnmp-coders] missing information in logmatch trap

Jeff Gehlbach <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
On 9/5/19 10:58 PM, Thommandra Gowtham wrote:

> - How can we get more information in a logmatch trap other than the
> pattern matched?

Making your pattern match more text should do the trick. For example:

logmatch loginFailure /var/log/auth.log 30 Failed password for .*

BTW, this kind of question isn't really what the net-snmp-coders list is
for. The net-snmp-users list is a better fit:

https://sourceforge.net/projects/net-snmp/lists/net-snmp-users

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