rsyslogd 6.4.0

[it does NOT work]
if \
                $fromhost-ip == '127.0.0.1' \
        and \
                $syslogseverity-text == 'emerg' \
then    :omusrmsg:*


[it works]
*.emerg action(type="omusrmsg"
Users="root"
)


[it does NOT work]
if \
                $fromhost-ip == '127.0.0.1' \
        and \
                $syslogseverity-text == 'emerg' \
then action(type="omusrmsg"
Users="root"
)

Maybe some parser issue?

Thanks for your answer.
Best regards.
Stefano

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards

Reply via email to