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);
|
||||
$self->{output}->output_add(long_msg => "nsclient return = " . $content, debug => 1);
|
||||
$self->check_nscp_result(content => $content);
|
||||
|
||||
$self->{output}->exit();
|
||||
|
|
Loading…
Reference in New Issue