mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-02 03:14:39 +02:00
add debug for nsclient request query
This commit is contained in:
parent
ad2e0ca332
commit
4ea5b2a7e5
@ -158,6 +158,7 @@ sub run {
|
|||||||
}
|
}
|
||||||
|
|
||||||
my ($content) = $self->{http}->request(url_path => '/query/' . $self->{option_results}->{command} . '?' . $encoded_args);
|
my ($content) = $self->{http}->request(url_path => '/query/' . $self->{option_results}->{command} . '?' . $encoded_args);
|
||||||
|
$self->{output}->output_add(long_msg => "nsclient return = " . $content, debug => 1);
|
||||||
$self->check_nscp_result(content => $content);
|
$self->check_nscp_result(content => $content);
|
||||||
|
|
||||||
$self->{output}->exit();
|
$self->{output}->exit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user