mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-21 04:34:55 +02:00
fix hp oneview
This commit is contained in:
parent
b89c36472f
commit
26cba926b5
@ -200,6 +200,7 @@ sub authenticate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$self->{session_id} = $session_id;
|
$self->{session_id} = $session_id;
|
||||||
|
$self->{http}->add_header(key => 'Auth', value => $self->{session_id});
|
||||||
}
|
}
|
||||||
|
|
||||||
sub request_api {
|
sub request_api {
|
||||||
|
@ -132,7 +132,7 @@ sub manage_selection {
|
|||||||
no_quit => 1,
|
no_quit => 1,
|
||||||
);
|
);
|
||||||
if ($code == 0) {
|
if ($code == 0) {
|
||||||
($results) = $self->{custom}->get_infos(
|
($result) = $options{custom}->get_infos(
|
||||||
cmd => 'show disk-groups',
|
cmd => 'show disk-groups',
|
||||||
base_type => 'disk-groups',
|
base_type => 'disk-groups',
|
||||||
key => 'name',
|
key => 'name',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user