mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-07 20:35:27 +02:00
add pid in meraki trace
This commit is contained in:
parent
fb9f600c36
commit
d204021bc9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user