mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
Merge pull request #2414 from centreon/fix(plugin)fix-bugs-unisphere-replication
+ fix resources.pm replications.pm emc unisphere restapi
This commit is contained in:
commit
34fc6a7838
@ -51,6 +51,6 @@ $replication_status = {
|
|||||||
103 => 'consistent',
|
103 => 'consistent',
|
||||||
104 => 'syncing',
|
104 => 'syncing',
|
||||||
105 => 'inconsistent'
|
105 => 'inconsistent'
|
||||||
}
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
@ -110,7 +110,7 @@ sub manage_selection {
|
|||||||
$self->{replication}->{ $_->{content}->{id} } = {
|
$self->{replication}->{ $_->{content}->{id} } = {
|
||||||
display => $_->{content}->{name},
|
display => $_->{content}->{name},
|
||||||
health_status => $health_status->{ $_->{content}->{health}->{value} },
|
health_status => $health_status->{ $_->{content}->{health}->{value} },
|
||||||
repl_status => $replication_status->{ $_->{content}->{syncState} } },
|
repl_status => $replication_status->{ $_->{content}->{syncState} },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user