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

This commit is contained in:
Junichi Satoh 2017-01-06 10:56:18 +09:00
parent 71b1322b76
commit e82f31dc02

@ -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);