mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
enh paloalto cluster output (#1054)
This commit is contained in:
parent
38642467e2
commit
3c77c42389
@ -125,7 +125,9 @@ sub run {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$self->{output}->output_add(severity => 'OK',
|
$self->{output}->output_add(severity => 'OK',
|
||||||
short_msg => sprintf("Cluster status is ok."));
|
short_msg => sprintf("Cluster status is ok [member: %s] [peer: %s]",
|
||||||
|
$self->{result}->{$oid_panSysHAState},
|
||||||
|
$self->{result}->{$oid_panSysHAPeerState}));
|
||||||
|
|
||||||
$self->{output}->output_add(long_msg => sprintf("current high-availability state is %s",
|
$self->{output}->output_add(long_msg => sprintf("current high-availability state is %s",
|
||||||
$self->{result}->{$oid_panSysHAState}));
|
$self->{result}->{$oid_panSysHAState}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user