mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 00:24:46 +02:00
fix(plugin) Always output headers giving file names to avoid issues. (#4588)
This commit is contained in:
parent
c43b8ae476
commit
8ce1ccf507
@ -343,7 +343,7 @@ sub add_extra_metrics {
|
||||
$self->set_timestamp(timestamp => Time::HiRes::time());
|
||||
my ($content) = $options{custom}->execute_command(
|
||||
command => 'bash',
|
||||
command_options => "-c 'tail -n +1 /proc/$proc_arg/$files_arg'",
|
||||
command_options => "-c 'tail -vn +1 /proc/$proc_arg/$files_arg'",
|
||||
no_quit => 1
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user