Improved to be able to pass agent's custom fields to plugin parameters.

(cherry picked from commit e82f31dc02f1082bdb99a14830ee288116051e5e)
This commit is contained in:
Junichi Satoh 2017-01-06 10:56:18 +09:00
parent e1c372f098
commit 808740f402

View File

@ -235,6 +235,7 @@ sub data_consumer ($$) {
_email_tag_ => undef,
_phone_tag_ => undef,
_name_tag_ => undef,
'_agentcustomfield_\d+_' => undef,
);
$parameters = subst_alert_macros ($parameters, \%macros, $pa_config, $dbh, $agent, $module);