From e88fd25f1db3d2abb917bed2b25f696f3c34c9d5 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Mon, 8 Mar 2021 11:22:50 +0100 Subject: [PATCH] add pid in meraki trace --- .../network/cisco/meraki/cloudcontroller/restapi/custom/api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm b/centreon-plugins/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm index 8e2ff9284..54d84fc5c 100644 --- a/centreon-plugins/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm +++ b/centreon-plugins/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm @@ -137,7 +137,7 @@ sub trace_api { my $time_end = Time::HiRes::time(); my $date_end = POSIX::strftime('%Y%m%d %H:%M:%S', localtime($time_end)); $date_end .= sprintf('.%03d', ($time_end - int($time_end)) * 1000); - print FH "$date_start - $date_end - $self->{api_token} - $options{url} - $options{code}\n"; + print FH "$date_start - $date_end - $$ - $self->{api_token} - $options{url} - $options{code}\n"; close FH; }