Cacti / plugin_syslog

Syslog Plugin for Cacti
GNU General Public License v2.0
21 stars 16 forks source link

For Regex Message Processing Rules test the regex at save time and inform user if it's syntactically correct #181

Closed TheWitness closed 2 years ago

TheWitness commented 2 years ago

Describe the enhancement

Right now, the validity of the Regex rules in the Syslog Alert and Report forms, you have to wait till the Alert or Report is run to validate that it is correct.

Instead, at save time, test the Regex Rule and provide an informative error message if it's syntax is not correct.

TheWitness commented 2 years ago

Reference to using broader set of REGEX rules in MariaDB.

https://jira.mariadb.org/browse/MDEV-18523?jql=text%20~%20%22regexp%22