[rsyslog-notify] Forum Thread: Re: can't use ! with "contains" - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Tue May 26 18:31:10 CEST 2015


User: magteix 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25651#p25651

Message: 
----------
Great! Thanks!

[quote="teifler":333k4owg]Hi,

you have to do it like this then it should work ;)
[code:333k4owg]if $programname == 'httpd' and not ($msg contains
'192.168.11.1') then :ommail:;mailBody[/code:333k4owg]

Tim[/quote:333k4owg]


More information about the rsyslog-notify mailing list